Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.2
-
None
Description
Here's the surefire report. This can not be reproduced reliably, but happens for me (and Michael) about 50% of the time.
-------------------------------------------------------------------------------
Test set: org.apache.uima.analysis_engine.impl.MultiprocessingAnalysisEngine_implTest
-------------------------------------------------------------------------------
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.578 sec <<< FAILURE!
testProcess(org.apache.uima.analysis_engine.impl.MultiprocessingAnalysisEngine_implTest) Time elapsed: 0.437 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<org.apache.uima.analysis_engine.impl.ResultSpecification_impl:
);needsCompilation = true
lang2int =
name2tof_langs = {NamedEntity=org.apache.uima.analysis_engine.impl.ResultSpecification_impl$ToF_Languages@306ee348}
withSubtypesName2tof_langs = {}
mTypeSystem = ~uima.cas.TOP (1);
uima.cas.Integer (2) < uima.cas.TOP (1);
uima.cas.Float (3) < uima.cas.TOP (1);
uima.cas.String (4) < uima.cas.TOP (1);
uima.cas.ArrayBase (5) < uima.cas.TOP (1);
uima.cas.FSArray (6) < uima.cas.ArrayBase (5);
uima.cas.FloatArray (7) < uima.cas.FSArray (6);
uima.cas.IntegerArray (8) < uima.cas.FSArray (6);
uima.cas.StringArray (9) < uima.cas.FSArray (6);
uima.cas.ListBase (10) < uima.cas.TOP (1);
uima.cas.FSList (11) < uima.cas.ListBase (10);
uima.cas.EmptyFSList (12) < uima.cas.FSList (11);
uima.cas.NonEmptyFSList (13) < uima.cas.FSList (11);
uima.cas.FloatList (14) < uima.cas.ListBase (10);
uima.cas.EmptyFloatList (15) < uima.cas.FloatList (14);
uima.cas.NonEmptyFloatList (16) < uima.cas.FloatList (14);
uima.cas.IntegerList (17) < uima.cas.ListBase (10);
uima.cas.EmptyIntegerList (18) < uima.cas.IntegerList (17);
uima.cas.NonEmptyIntegerList (19) < uima.cas.IntegerList (17);
uima.cas.StringList (20) < uima.cas.ListBase (10);
uima.cas.EmptyStringList (21) < uima.cas.StringList (20);
uima.cas.NonEmptyStringList (22) < uima.cas.StringList (20);
uima.cas.Boolean (23) < uima.cas.TOP (1);
uima.cas.Byte (24) < uima.cas.TOP (1);
uima.cas.Short (25) < uima.cas.TOP (1);
uima.cas.Long (26) < uima.cas.TOP (1);
uima.cas.Double (27) < uima.cas.TOP (1);
uima.cas.BooleanArray (28) < uima.cas.FSArray (6);
uima.cas.ByteArray (29) < uima.cas.FSArray (6);
uima.cas.ShortArray (30) < uima.cas.FSArray (6);
uima.cas.LongArray (31) < uima.cas.FSArray (6);
uima.cas.DoubleArray (32) < uima.cas.FSArray (6);
uima.cas.Sofa (33) < uima.cas.TOP (1);
uima.cas.AnnotationBase (34) < uima.cas.TOP (1);
uima.tcas.Annotation (35) < uima.cas.AnnotationBase (34);
uima.tcas.DocumentAnnotation (36) < uima.tcas.Annotation (35);
foo.Bar (37) < uima.tcas.Annotation (35);
NamedEntity (38) < uima.tcas.Annotation (35);
DocumentStructure (39) < uima.tcas.Annotation (35);
uima.cas.NonEmptyFSList:head (1): uima.cas.NonEmptyFSList (13) > uima.cas.TOP (1);
uima.cas.NonEmptyFSList:tail (2): uima.cas.NonEmptyFSList (13) > uima.cas.FSList (11);
uima.cas.NonEmptyFloatList:head (3): uima.cas.NonEmptyFloatList (16) > uima.cas.Float (3);
uima.cas.NonEmptyFloatList:tail (4): uima.cas.NonEmptyFloatList (16) > uima.cas.FloatList (14);
uima.cas.NonEmptyIntegerList:head (5): uima.cas.NonEmptyIntegerList (19) > uima.cas.Integer (2);
uima.cas.NonEmptyIntegerList:tail (6): uima.cas.NonEmptyIntegerList (19) > uima.cas.IntegerList (17);
uima.cas.NonEmptyStringList:head (7): uima.cas.NonEmptyStringList (22) > uima.cas.String (4);
uima.cas.NonEmptyStringList:tail (8): uima.cas.NonEmptyStringList (22) > uima.cas.StringList (20);
uima.cas.Sofa:sofaNum (9): uima.cas.Sofa (33) > uima.cas.Integer (2);
uima.cas.Sofa:sofaID (10): uima.cas.Sofa (33) > uima.cas.String (4);
uima.cas.Sofa:mimeType (11): uima.cas.Sofa (33) > uima.cas.String (4);
uima.cas.Sofa:sofaArray (12): uima.cas.Sofa (33) > uima.cas.TOP (1);
uima.cas.Sofa:sofaString (13): uima.cas.Sofa (33) > uima.cas.String (4);
uima.cas.Sofa:sofaURI (14): uima.cas.Sofa (33) > uima.cas.String (4);
uima.cas.AnnotationBase:sofa (15): uima.cas.AnnotationBase (34) > uima.cas.Sofa (33);
uima.tcas.Annotation:begin (16): uima.tcas.Annotation (35) > uima.cas.Integer (2);
uima.tcas.Annotation:end (17): uima.tcas.Annotation (35) > uima.cas.Integer (2);
uima.tcas.DocumentAnnotation:language (18): uima.tcas.DocumentAnnotation (36) > uima.cas.String (4);
> but was:<org.apache.uima.analysis_engine.impl.ResultSpecification_impl:
);needsCompilation = true
lang2int = {x-unspecified=0}
name2tof_langs =
{NamedEntity=org.apache.uima.analysis_engine.impl.ResultSpecification_impl$ToF_Languages@306ee348}withSubtypesName2tof_langs = {}
mTypeSystem = ~uima.cas.TOP (1);
uima.cas.Integer (2) < uima.cas.TOP (1);
uima.cas.Float (3) < uima.cas.TOP (1);
uima.cas.String (4) < uima.cas.TOP (1);
uima.cas.ArrayBase (5) < uima.cas.TOP (1);
uima.cas.FSArray (6) < uima.cas.ArrayBase (5);
uima.cas.FloatArray (7) < uima.cas.FSArray (6);
uima.cas.IntegerArray (8) < uima.cas.FSArray (6);
uima.cas.StringArray (9) < uima.cas.FSArray (6);
uima.cas.ListBase (10) < uima.cas.TOP (1);
uima.cas.FSList (11) < uima.cas.ListBase (10);
uima.cas.EmptyFSList (12) < uima.cas.FSList (11);
uima.cas.NonEmptyFSList (13) < uima.cas.FSList (11);
uima.cas.FloatList (14) < uima.cas.ListBase (10);
uima.cas.EmptyFloatList (15) < uima.cas.FloatList (14);
uima.cas.NonEmptyFloatList (16) < uima.cas.FloatList (14);
uima.cas.IntegerList (17) < uima.cas.ListBase (10);
uima.cas.EmptyIntegerList (18) < uima.cas.IntegerList (17);
uima.cas.NonEmptyIntegerList (19) < uima.cas.IntegerList (17);
uima.cas.StringList (20) < uima.cas.ListBase (10);
uima.cas.EmptyStringList (21) < uima.cas.StringList (20);
uima.cas.NonEmptyStringList (22) < uima.cas.StringList (20);
uima.cas.Boolean (23) < uima.cas.TOP (1);
uima.cas.Byte (24) < uima.cas.TOP (1);
uima.cas.Short (25) < uima.cas.TOP (1);
uima.cas.Long (26) < uima.cas.TOP (1);
uima.cas.Double (27) < uima.cas.TOP (1);
uima.cas.BooleanArray (28) < uima.cas.FSArray (6);
uima.cas.ByteArray (29) < uima.cas.FSArray (6);
uima.cas.ShortArray (30) < uima.cas.FSArray (6);
uima.cas.LongArray (31) < uima.cas.FSArray (6);
uima.cas.DoubleArray (32) < uima.cas.FSArray (6);
uima.cas.Sofa (33) < uima.cas.TOP (1);
uima.cas.AnnotationBase (34) < uima.cas.TOP (1);
uima.tcas.Annotation (35) < uima.cas.AnnotationBase (34);
uima.tcas.DocumentAnnotation (36) < uima.tcas.Annotation (35);
foo.Bar (37) < uima.tcas.Annotation (35);
NamedEntity (38) < uima.tcas.Annotation (35);
DocumentStructure (39) < uima.tcas.Annotation (35);
uima.cas.NonEmptyFSList:head (1): uima.cas.NonEmptyFSList (13) > uima.cas.TOP (1);
uima.cas.NonEmptyFSList:tail (2): uima.cas.NonEmptyFSList (13) > uima.cas.FSList (11);
uima.cas.NonEmptyFloatList:head (3): uima.cas.NonEmptyFloatList (16) > uima.cas.Float (3);
uima.cas.NonEmptyFloatList:tail (4): uima.cas.NonEmptyFloatList (16) > uima.cas.FloatList (14);
uima.cas.NonEmptyIntegerList:head (5): uima.cas.NonEmptyIntegerList (19) > uima.cas.Integer (2);
uima.cas.NonEmptyIntegerList:tail (6): uima.cas.NonEmptyIntegerList (19) > uima.cas.IntegerList (17);
uima.cas.NonEmptyStringList:head (7): uima.cas.NonEmptyStringList (22) > uima.cas.String (4);
uima.cas.NonEmptyStringList:tail (8): uima.cas.NonEmptyStringList (22) > uima.cas.StringList (20);
uima.cas.Sofa:sofaNum (9): uima.cas.Sofa (33) > uima.cas.Integer (2);
uima.cas.Sofa:sofaID (10): uima.cas.Sofa (33) > uima.cas.String (4);
uima.cas.Sofa:mimeType (11): uima.cas.Sofa (33) > uima.cas.String (4);
uima.cas.Sofa:sofaArray (12): uima.cas.Sofa (33) > uima.cas.TOP (1);
uima.cas.Sofa:sofaString (13): uima.cas.Sofa (33) > uima.cas.String (4);
uima.cas.Sofa:sofaURI (14): uima.cas.Sofa (33) > uima.cas.String (4);
uima.cas.AnnotationBase:sofa (15): uima.cas.AnnotationBase (34) > uima.cas.Sofa (33);
uima.tcas.Annotation:begin (16): uima.tcas.Annotation (35) > uima.cas.Integer (2);
uima.tcas.Annotation:end (17): uima.tcas.Annotation (35) > uima.cas.Integer (2);
uima.tcas.DocumentAnnotation:language (18): uima.tcas.DocumentAnnotation (36) > uima.cas.String (4);
>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:71)
at org.apache.uima.analysis_engine.impl.MultiprocessingAnalysisEngine_implTest.testProcess(MultiprocessingAnalysisEngine_implTest.java:241)
at org.apache.uima.analysis_engine.impl.MultiprocessingAnalysisEngine_implTest.testProcess(MultiprocessingAnalysisEngine_implTest.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)