[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#745085: biojava3-live: FTBFS with Java 8: NullPointerException at java.util.Collections$UnmodifiableCollection.<init>(Collections.java:1086)



Source: biojava3-live
Version: 3.0.7+dfsg-1
Severity: important
User: debian-java@lists.debian.org
Usertags: openjdk-8-transition

Hi,

During a rebuild of all Java packages in sid with OpenJDK 8,
your package failed to build with the following error:


      [junit] Testcase: testParseHeader took 0.022 sec
      [junit] Running org.biojava3.core.sequence.location.LocationParserTest
      [junit] Testsuite: org.biojava3.core.sequence.location.LocationParserTest
      [junit] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.034 sec
      [junit] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.034 sec
      [junit] 
      [junit] Testcase: moreComplex took 0.01 sec
      [junit] 	Caused an ERROR
      [junit] null
      [junit] java.lang.ExceptionInInitializerError
      [junit] 	at org.biojava3.core.sequence.location.LocationParserTest.moreComplex(LocationParserTest.java:63)
      [junit] Caused by: java.lang.NullPointerException
      [junit] 	at java.util.Collections$UnmodifiableCollection.<init>(Collections.java:1086)
      [junit] 	at java.util.Collections$UnmodifiableList.<init>(Collections.java:1362)
      [junit] 	at java.util.Collections.unmodifiableList(Collections.java:1347)
      [junit] 	at org.biojava3.core.sequence.location.template.AbstractLocation.<init>(AbstractLocation.java:111)
      [junit] 	at org.biojava3.core.sequence.location.template.AbstractLocation.<init>(AbstractLocation.java:85)
      [junit] 	at org.biojava3.core.sequence.location.SimpleLocation.<init>(SimpleLocation.java:57)
      [junit] 	at org.biojava3.core.sequence.location.SimpleLocation.<init>(SimpleLocation.java:53)
      [junit] 	at org.biojava3.core.sequence.location.template.Location.<clinit>(Location.java:48)
      [junit] 
      [junit] Testcase: basicLocationTests took 0 sec
      [junit] 	Caused an ERROR
      [junit] Could not initialize class org.biojava3.core.sequence.location.SimpleLocation
      [junit] java.lang.NoClassDefFoundError: Could not initialize class org.biojava3.core.sequence.location.SimpleLocation
      [junit] 	at org.biojava3.core.sequence.location.LocationParserTest.basicLocationTests(LocationParserTest.java:15)
      [junit] 
  
  BUILD FAILED
  /«BUILDDIR»/biojava3-live-3.0.7+dfsg/biojava3-core/build.xml:97: Test org.biojava3.core.sequence.location.LocationParserTest failed



The full build log is available from:
    http://87.98.165.193/debian/openjdk8-rebuild/logs-failed-jdk8/biojava3-live_3.0.7+dfsg-1_unstable_jdk8.log

You can download OpenJDK 8 packages for testing here:
    http://87.98.165.193/debian/openjdk-8u5-b13/


Reply to: