java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Image in JLabel
    via by focode,
  • [INFO] ---------------------------------------------------------------------------- [INFO] Building Scufl Model [INFO] task-segment: [clean, test] [INFO] ---------------------------------------------------------------------------- [INFO] [clean:clean] [INFO] Deleting directory /local/stain/workspace/taverna1.x/scufl/scufl-model/target [INFO] Deleting directory /local/stain/workspace/taverna1.x/scufl/scufl-model/target/classes [INFO] Deleting directory /local/stain/workspace/taverna1.x/scufl/scufl-model/target/test-classes [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] Compiling 63 source files to /local/stain/workspace/taverna1.x/scufl/scufl-model/target/classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] Compiling 3 source files to /local/stain/workspace/taverna1.x/scufl/scufl-model/target/test-classes [INFO] [surefire:test] [INFO] Surefire report directory: /local/stain/workspace/taverna1.x/scufl/scufl-model/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.embl.ebi.escience.scufl.view.XScuflViewTest log4j:WARN No appenders could be found for logger (org.embl.ebi.escience.scufl.NotifyThread). log4j:WARN Please initialize the log4j system properly. Exception in thread "Thread-2" java.lang.ExceptionInInitializerError at org.embl.ebi.escience.scufl.parser.ProcessorLoaderThread.run(XScuflParser.java:477) Caused by: java.lang.NullPointerException at javax.swing.ImageIcon.<init>(ImageIcon.java:138) at org.embl.ebi.escience.scuflworkers.ProcessorHelper.populateMaps(ProcessorHelper.java:81) at org.embl.ebi.escience.scuflworkers.ProcessorHelper.<clinit>(ProcessorHelper.java:66) ... 1 more Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.398 sec <<< FAILURE! Running org.embl.ebi.escience.scufl.ScuflModelTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec Running org.embl.ebi.escience.scufl.PortTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec Results : Tests run: 16, Failures: 0, Errors: 1, Skipped: 0 This is "fixed" by doing <dependency> <groupId>uk.org.mygrid.taverna.processors</groupId> <artifactId>taverna-java-processor</artifactId> <scope>test</scope> </dependency> However, after a clean, this gives: [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='uk.org.mygrid.taverna.processors:taverna-java-processor'}' and 'Vertex{label='uk.org.mygrid.taverna.scufl:scufl-ui'}' introduces to cycle in the graph uk.org.mygrid.taverna.scufl:scufl-ui --> uk.org.mygrid.taverna.scufl:scufl-model --> uk.org.mygrid.taverna.processors:taverna-java-processor --> uk.org.mygrid.taverna.scufl:scufl-ui So how do I solve this? The test in question needs some kind of processor because I'm loading a workflow from XML. Do we have to move the test? David?
    via by Stian Soiland-Reyes,
  • random exception
    via by strubin,
    • java.lang.NullPointerException at javax.swing.ImageIcon.<init>(ImageIcon.java:138)

    Users with the same issue

    archenroot
    1 times, last one,
    rexgreenza
    8 times, last one,
    bpbhat77
    6 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,