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

Grzegorz Grzybek commented on CAMEL-7985:
-----------------------------------------

Looks fine with felix-connect 0.1.0 and upgrade of flieinstall/felix-framework:
{noformat}
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.camel.test.cxf.blueprint.CxfConsumerSoap12Test
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.183 sec - in 
org.apache.camel.test.cxf.blueprint.CxfConsumerSoap12Test
Running org.apache.camel.test.cxf.blueprint.CxfConsumerWSRMTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.078 sec - in 
org.apache.camel.test.cxf.blueprint.CxfConsumerWSRMTest
Running org.apache.camel.test.cxf.blueprint.CxfEndpointBeansTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.858 sec - in 
org.apache.camel.test.cxf.blueprint.CxfEndpointBeansTest
Running org.apache.camel.test.cxf.blueprint.CxfPayloadProviderRouterTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.194 sec - in 
org.apache.camel.test.cxf.blueprint.CxfPayloadProviderRouterTest
Running org.apache.camel.test.cxf.blueprint.CxfRsEndpointBeansTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.163 sec - in 
org.apache.camel.test.cxf.blueprint.CxfRsEndpointBeansTest
Running org.apache.camel.test.cxf.blueprint.CxfTransportBlueprintTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.147 sec - in 
org.apache.camel.test.cxf.blueprint.CxfTransportBlueprintTest

Results :

Tests run: 13, Failures: 0, Errors: 0, Skipped: 0
{noformat}

> 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: Future
>
>         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)

Reply via email to