You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public void assertEqual(SequenceAnnotationImpl annotation1, SequenceAnnotationImpl annotation2)
The relevant output:
[junit] Testcase: testSerialize took 0.246 sec
[junit] FAILED
[junit] expected:<null> but was:<>
[junit] junit.framework.AssertionFailedError: expected:<null> but was:<>
[junit] at org.sbolstandard.xml.test.TestMarshalling.assertEqual(TestMarshalling.java:105)
[junit] at org.sbolstandard.xml.test.TestMarshalling.assertEqual(TestMarshalling.java:97)
[junit] at org.sbolstandard.xml.test.TestMarshalling.assertEqual(TestMarshalling.java:84)
[junit] at org.sbolstandard.xml.test.TestMarshalling.assertSerializationEquality(TestMarshalling.java:128)
[junit] at org.sbolstandard.xml.test.TestMarshalling.testSerialize(TestMarshalling.java:133)
This is my version (which does not fail):
Java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode)
So, it's either Ubuntu or Oracle Java which makes the difference. Do you have an Ubuntu installation with Oracle's Java which you could try, just to see if that's the issue?
Activity
Juul commentedon Sep 27, 2011
Just a note about Java version:
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.2) (6b22-1.10.2-0ubuntu1~11.04.1)
OpenJDK Server VM (build 20.0-b11, mixed mode)
TrevorFSmith commentedon Sep 29, 2011
This is my version (which does not fail):
Java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode)
So, it's either Ubuntu or Oracle Java which makes the difference. Do you have an Ubuntu installation with Oracle's Java which you could try, just to see if that's the issue?