java.lang.NullPointerException

Oracle Community | 843802 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Jajuk does not start when using latest SVN code

    GitHub | 2 years ago | bflorat
    java.lang.ExceptionInInitializerError
  2. 0

    Image in JLabel

    Google Groups | 8 years ago | focode
    java.lang.NullPointerException
  3. 0

    Cannot login to gitblit using manager (0.8.0)

    GitHub | 2 years ago | gitblit
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [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?

    JIRA | 1 decade ago | Stian Soiland-Reyes
    java.lang.ExceptionInInitializerError

  1. archenroot 1 times, last 3 months ago
  2. rexgreenza 8 times, last 5 months ago
  3. bpbhat77 6 times, last 8 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at javax.swing.ImageIcon.<init>()
  2. Java RT
    ImageIcon.<init>
    1. javax.swing.ImageIcon.<init>(ImageIcon.java:138)
    1 frame