beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-1217) Some examples fail to run due to private / public options mismatch.
Date Tue, 27 Dec 2016 20:25:58 GMT

    [ https://issues.apache.org/jira/browse/BEAM-1217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15781193#comment-15781193
] 

ASF GitHub Bot commented on BEAM-1217:
--------------------------------------

GitHub user jasonkuster opened a pull request:

    https://github.com/apache/incubator-beam/pull/1700

    [BEAM-1217] Convert options to public to fix private/public problem.

    Signed-off-by: Jason Kuster <jasonkuster@google.com>
    
    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
    
     - [x] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [x] Make sure tests pass via `mvn clean verify`. (Even better, enable
           Travis-CI on your fork and ensure the whole test matrix passes).
     - [x] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [x] If this contribution is large, please file an Apache
           [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.txt).
    
    ---


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jasonkuster/incubator-beam example-fix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-beam/pull/1700.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1700
    
----
commit c66d90cca40b0c8e37af88a2517a75f9e603e59f
Author: Jason Kuster <jasonkuster@google.com>
Date:   2016-12-27T20:21:09Z

    Convert options to public to fix private/public problem.
    
    Signed-off-by: Jason Kuster <jasonkuster@google.com>

----


> Some examples fail to run due to private / public options mismatch.
> -------------------------------------------------------------------
>
>                 Key: BEAM-1217
>                 URL: https://issues.apache.org/jira/browse/BEAM-1217
>             Project: Beam
>          Issue Type: Bug
>            Reporter: Jason Kuster
>            Assignee: Jason Kuster
>
> Related bug: BEAM-308
> Failure looks like:
> {code}
> Exception in thread "main" java.lang.IllegalArgumentException: non-public interfaces
from different packages
> 	at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:619)
> 	at java.lang.reflect.Proxy$ProxyClassFactory.apply(Proxy.java:557)
> 	at java.lang.reflect.WeakCache$Factory.get(WeakCache.java:230)
> 	at java.lang.reflect.WeakCache.get(WeakCache.java:127)
> 	at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:419)
> 	at java.lang.reflect.Proxy.getProxyClass(Proxy.java:371)
> 	at org.apache.beam.sdk.options.PipelineOptionsFactory.validateWellFormed(PipelineOptionsFactory.java:605)
> 	at org.apache.beam.sdk.options.PipelineOptionsFactory.parseObjects(PipelineOptionsFactory.java:1549)
> 	at org.apache.beam.sdk.options.PipelineOptionsFactory.access$400(PipelineOptionsFactory.java:104)
> 	at org.apache.beam.sdk.options.PipelineOptionsFactory$Builder.as(PipelineOptionsFactory.java:289)
> 	at org.apache.beam.examples.complete.TrafficRoutes.main(TrafficRoutes.java:340)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message