[jboss-jira] [JBoss JIRA] Closed: (JBRULES-442) Building from source failed: Serialisation / externalisation error

Edson Tirelli (JIRA) jira-events at jboss.com
Wed Jan 24 08:43:00 EST 2007


     [ http://jira.jboss.com/jira/browse/JBRULES-442?page=all ]

Edson Tirelli closed JBRULES-442.
---------------------------------

    Fix Version/s: 3.0.6
       Resolution: Done

Commented out the test until we find a better way to execute it without requiring the rulebase serialization.

> Building from source failed: Serialisation / externalisation error
> ------------------------------------------------------------------
>
>                 Key: JBRULES-442
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-442
>             Project: JBoss Rules
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Reteoo
>    Affects Versions: 3.0.4
>         Environment: java version "1.4.2_12"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
> Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
> Linux version 2.6.17-1.2142_FC4smp (bhcompile at hs20-bc1-6.build.redhat.com) (gcc version 4.0.2 20051125 (Red Hat 4.0.2-8))
> maven 2.0.2
>            Reporter: Juergen none
>         Assigned To: Edson Tirelli
>            Priority: Minor
>             Fix For: 3.0.6, 3.1-m1, 3.0.5
>
>
> - download jbossrules-3.0.4-src.zip
> - extracted
> - export CLASSPATH=
> - called mvn install
> Original error:
> [surefire] Running org.drools.integrationtests.waltz.LeapsWaltzTest
> [surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.729 sec
> [surefire] Running org.drools.reteoo.ReteooBuilderTest
> [surefire] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0.585 sec <<<<<<<< FAILURE !!
> [surefire] Running org.drools.compiler.RuleBaseLoaderTest
> Modified org.drools.reteoo.ReteooBuilderTest.java: putting "try - catch - printstacktrace - rethrow" into every function
> [surefire] Running org.drools.integrationtests.waltz.LeapsWaltzTest
> [surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.973 sec
> com.thoughtworks.xstream.converters.ConversionException: Cannot externalize class java.lang.Class
> ---- Debugging information ----
> required-type       : org.drools.reteoo.ReteooRuleBase
> cause-message       : org.drools.reteoo.BetaNode; local class incompatible: stream classdesc serialVersionUID = 4254294774027280987, local class ser ialVersionUID = -2179114169553759563
> class               : org.drools.reteoo.ReteooRuleBase
> message             : Cannot externalize class java.lang.Class
> line number         : 584
> path                : /org.drools.reteoo.ReteooRuleBase
> cause-exception     : java.io.InvalidClassException
> -------------------------------
>         at com.thoughtworks.xstream.converters.reflection.ExternalizableConverter.unmarshal(ExternalizableConverter.java:113)
>         at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:38)
>         at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(ReferenceByXPathUnmarshaller.java:39)
>         at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:99)
>         at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:12)
>         at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:552)
>         at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:540)
>         at com.thoughtworks.xstream.XStream.fromXML(XStream.java:497)
>         at org.drools.reteoo.ReteooBuilderTest.checkRuleBase(ReteooBuilderTest.java:102)
>         at org.drools.reteoo.ReteooBuilderTest.testThreeColumnsWithConstraints(ReteooBuilderTest.java:35)
>         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:324)
>         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.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:324)
>         at org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:242)
>         at org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:216)
>         at org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
>         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:324)
>         at org.apache.maven.surefire.SurefireBooter.runTestsInProcess(SurefireBooter.java:285)
>         at org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java:201)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:366)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>         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:324)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.io.InvalidClassException: org.drools.reteoo.BetaNode; local class incompatible: stream classdesc serialVersionUID = 4254294774027280 987, local class serialVersionUID = -2179114169553759563
>         at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)
>         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
>         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
>         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
>         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>         at org.drools.common.AbstractRuleBase.doReadExternal(AbstractRuleBase.java:165)
>         at org.drools.reteoo.ReteooRuleBase.readExternal(ReteooRuleBase.java:140)
>         at com.thoughtworks.xstream.converters.reflection.ExternalizableConverter.unmarshal(ExternalizableConverter.java:106)
>         ... 55 more
> com.thoughtworks.xstream.converters.ConversionException: Cannot externalize class java.lang.Class
> ---- Debugging information ----
> required-type       : org.drools.reteoo.ReteooRuleBase
> cause-message       : org.drools.reteoo.BetaNode; local class incompatible: stream classdesc serialVersionUID = 4254294774027280987, local class ser ialVersionUID = -2179114169553759563
> class               : org.drools.reteoo.ReteooRuleBase
> message             : Cannot externalize class java.lang.Class
> line number         : 471
> path                : /org.drools.reteoo.ReteooRuleBase
> cause-exception     : java.io.InvalidClassException
> -------------------------------
>         at com.thoughtworks.xstream.converters.reflection.ExternalizableConverter.unmarshal(ExternalizableConverter.java:113)
>         at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:38)
>         at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(ReferenceByXPathUnmarshaller.java:39)
>         at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:99)
>         at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:12)
>         at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:552)
>         at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:540)
>         at com.thoughtworks.xstream.XStream.fromXML(XStream.java:497)
>         at org.drools.reteoo.ReteooBuilderTest.checkRuleBase(ReteooBuilderTest.java:102)
>         at org.drools.reteoo.ReteooBuilderTest.testOneAndTwoOrs(ReteooBuilderTest.java:39)
>         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:324)
>         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.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:324)
>         at org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:242)
>         at org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:216)
>         at org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
>         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:324)
>         at org.apache.maven.surefire.SurefireBooter.runTestsInProcess(SurefireBooter.java:285)
>         at org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java:201)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:366)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>         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:324)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.io.InvalidClassException: org.drools.reteoo.BetaNode; local class incompatible: stream classdesc serialVersionUID = 4254294774027280 987, local class serialVersionUID = -2179114169553759563
>         at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)
>         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
>         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
>         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
>         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>         at java.util.ArrayList.readObject(ArrayList.java:554)
>         at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>         at java.util.ArrayList.readObject(ArrayList.java:554)
>         at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>         at java.util.HashMap.readObject(HashMap.java:1015)
>         at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>         at java.util.HashMap.readObject(HashMap.java:1014)
>         at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>         at org.drools.common.AbstractRuleBase.doReadExternal(AbstractRuleBase.java:165)
>         at org.drools.reteoo.ReteooRuleBase.readExternal(ReteooRuleBase.java:140)
>         at com.thoughtworks.xstream.converters.reflection.ExternalizableConverter.unmarshal(ExternalizableConverter.java:106)
>         ... 55 more
> com.thoughtworks.xstream.converters.ConversionException: Cannot externalize class java.lang.Class
> ---- Debugging information ----
> required-type       : org.drools.reteoo.ReteooRuleBase
> cause-message       : org.drools.reteoo.BetaNode; local class incompatible: stream classdesc serialVersionUID = 4254294774027280987, local class ser ialVersionUID = -2179114169553759563
> class               : org.drools.reteoo.ReteooRuleBase
> message             : Cannot externalize class java.lang.Class
> line number         : 463
> path                : /org.drools.reteoo.ReteooRuleBase
> cause-exception     : java.io.InvalidClassException
> -------------------------------
>         at com.thoughtworks.xstream.converters.reflection.ExternalizableConverter.unmarshal(ExternalizableConverter.java:113)
>         at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:38)
>         at com.thoughtworks.xstream.core.ReferenceByXPathUnmarshaller.convertAnother(ReferenceByXPathUnmarshaller.java:39)
>         at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:99)
>         at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:12)
>         at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:552)
>         at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:540)
>         at com.thoughtworks.xstream.XStream.fromXML(XStream.java:497)
>         at org.drools.reteoo.ReteooBuilderTest.checkRuleBase(ReteooBuilderTest.java:102)
>         at org.drools.reteoo.ReteooBuilderTest.testOneAndTwoOrsPerson(ReteooBuilderTest.java:43)
>         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:324)
>         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.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:324)
>         at org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:242)
>         at org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:216)
>         at org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
>         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:324)
>         at org.apache.maven.surefire.SurefireBooter.runTestsInProcess(SurefireBooter.java:285)
>         at org.apache.maven.surefire.SurefireBooter.run(SurefireBooter.java:201)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:366)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>         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:324)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.io.InvalidClassException: org.drools.reteoo.BetaNode; local class incompatible: stream classdesc serialVersionUID = 4254294774027280 987, local class serialVersionUID = -2179114169553759563
>         at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)
>         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
>         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
>         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
>         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>         at java.util.ArrayList.readObject(ArrayList.java:554)
>         at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>         at java.util.HashMap.readObject(HashMap.java:1015)
>         at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>         at java.util.HashMap.readObject(HashMap.java:1014)
>         at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>         at org.drools.common.AbstractRuleBase.doReadExternal(AbstractRuleBase.java:165)
>         at org.drools.reteoo.ReteooRuleBase.readExternal(ReteooRuleBase.java:140)
>         at com.thoughtworks.xstream.converters.reflection.ExternalizableConverter.unmarshal(ExternalizableConverter.java:106)
>         ... 55 more
> [surefire] Running org.drools.reteoo.ReteooBuilderTest
> [surefire] Tests run: 3, Failures: 0, Errors: 3, Time elapsed: 0.806 sec <<<<<<<< FAILURE !!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list