Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2388

NPE when you run tests from CBR project using Blueprint dsl with camel 2.18.1.redhat-000015

XMLWordPrintable

    • Hide

      1. Open a wizard for new Fuse project
      2. Select camel version 2.18.1.redhat-000015
      3. Select CBR template
      4. Select Blueprint DSL
      5. Finish
      6. Run the camel route as local camel context (the one with tests)

      Show
      1. Open a wizard for new Fuse project 2. Select camel version 2.18.1.redhat-000015 3. Select CBR template 4. Select Blueprint DSL 5. Finish 6. Run the camel route as local camel context (the one with tests)
    • Hide
      • add an exclusion to fileinstall
        --> in pom.xml, change

        <dependency>
        <groupId>org.apache.camel</groupId>
        <artifactId>camel-test-blueprint</artifactId>
        <scope>test</scope>
        </dependency>

        to

        <dependency>
        <groupId>org.apache.camel</groupId>
        <artifactId>camel-test-blueprint</artifactId>
        <scope>test</scope>
        <exclusions>
        <exclusion>
        <groupId>org.apache.felix</groupId>
        <artifactId>org.apache.felix.fileinstall</artifactId>
        </exclusion>
        </exclusions>
        </dependency>

      Show
      add an exclusion to fileinstall --> in pom.xml, change <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-test-blueprint</artifactId> <scope>test</scope> </dependency> to <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-test-blueprint</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>org.apache.felix</groupId> <artifactId>org.apache.felix.fileinstall</artifactId> </exclusion> </exclusions> </dependency>

      NPE when you run tests from CBR project. See the attached file output.txt.

      In main loop, we have serious trouble: java.lang.NullPointerException
      java.lang.NullPointerException
      	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:303)
      

              apupier@redhat.com Aurélien Pupier
              apodhrad@redhat.com Andrej Podhradsky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: