You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/07/30 01:39:04 UTC

[jira] [Commented] (CAMEL-7985) camel-test-blueprint - Upgrading to newer felix fails with NPE in fileinstall

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

ASF GitHub Bot commented on CAMEL-7985:
---------------------------------------

GitHub user luigidemasi opened a pull request:

    https://github.com/apache/camel/pull/578

    Backport of the fix for CAMEL-7985 from trunk that makes camel-test-blueprint  usable again.

    Backport  CAMEL-7985  fix from trunk that makes camel-test-blueprint in 1.15  branch usable again.
    fixed also a duplicate dependency declaration of  org.apache.aries.proxy.api
    --
    Luigi De Masi <ld...@redhat.com>

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

    $ git pull https://github.com/luigidemasi/camel camel-2.15.x

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

    https://github.com/apache/camel/pull/578.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 #578
    
----
commit fb87cb12f9bfa0923a360f04be492a6c2eb42e60
Author: Luigi De Masi <ld...@redhat.com>
Date:   2015-07-29T23:06:54Z

    Backport of the fix for CAMEL-7985 from trunk that makes camel-test-blueprint  usable again.
    
    fixed also a duplicate dependency declaration of  org.apache.aries.proxy.api

commit e6ac3dcbfcc000b904b40f4ef52f6175f9f6384b
Author: Luigi De Masi <lu...@extrasys.it>
Date:   2015-07-29T23:29:40Z

    Backport of the fix for CAMEL-7985 from trunk that makes camel-test-blueprint  usable again.
    fixed also a duplicate dependency declaration of  org.apache.aries.proxy.api
    --
    Luigi De Masi <ld...@redhat.com>

----


> camel-test-blueprint - Upgrading to newer felix fails with NPE in fileinstall
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-7985
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7985
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-blueprint, camel-test
>    Affects Versions: 2.14.0
>            Reporter: Claus Ibsen
>            Assignee: Grzegorz Grzybek
>            Priority: Minor
>             Fix For: 2.16.0
>
>         Attachments: Screen Shot 2014-10-30 at 11.44.58 AM.png
>
>
> We get a bunch of these errors during testing with osgi blueprint
> {code}
> In main loop, we have serious trouble: java.lang.NullPointerException
> java.lang.NullPointerException
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:303)
> In main loop, we have serious trouble: java.lang.NullPointerException
> java.lang.NullPointerException
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:303)
> In main loop, we have serious trouble: java.lang.NullPointerException
> java.lang.NullPointerException
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:303)
> In main loop, we have serious trouble: java.lang.NullPointerException
> java.lang.NullPointerException
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:303)
> In main loop, we have serious trouble: java.lang.NullPointerException
> java.lang.NullPointerException
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:303)
> In main loop, we have serious trouble: java.lang.NullPointerException
> java.lang.NullPointerException
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:303)
> In main loop, we have serious trouble: java.lang.NullPointerException
> java.lang.NullPointerException
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:303)
> In main loop, we have serious trouble: java.lang.NullPointerException
> java.lang.NullPointerException
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:303)
> In main loop, we have serious trouble: java.lang.NullPointerException
> java.lang.NullPointerException
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:303)
> In main loop, we have serious trouble: java.lang.NullPointerException
> java.lang.NullPointerException
> 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:303)
> {code}
> Run tests here
> {code}
> camel/tests/camel-blueprint-cxf-test (master)/$ mvn clean install
> {code}
> And upgrade Felix in parent/pom.xml
> {code}
> -    <felix-configadmin-version>1.4.0</felix-configadmin-version>
> -    <felix-fileinstall-version>3.2.6</felix-fileinstall-version>
> -    <felix-framework-version>3.2.2</felix-framework-version>
> +    <felix-configadmin-version>1.8.0</felix-configadmin-version>
> +    <felix-fileinstall-version>3.4.2</felix-fileinstall-version>
> +    <felix-framework-version>3.4.2</felix-framework-version>
> {code}
> And you get these NPEs.
> Maybe something needs to be fixed in camel-test-blueprint with that pojosr library, so bundle 0 is that system bundle, as the NPE is at:
> https://github.com/apache/felix/blame/trunk/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java#L303



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