[jboss-jira] [JBoss JIRA] Updated: (JBRULES-849) DynamicRulesTest fails with JDK 1.6

Mark Proctor (JIRA) jira-events at lists.jboss.org
Wed Jul 4 22:58:11 EDT 2007


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

Mark Proctor updated JBRULES-849:
---------------------------------


I think this will go to future, as we don't support JDK1.6 yet.

> DynamicRulesTest fails with JDK 1.6
> -----------------------------------
>
>                 Key: JBRULES-849
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-849
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.0.0.MR2
>         Environment: Linux, JDK 1.6
>            Reporter: Lars Ivar Igesund
>         Assigned To: Edson Tirelli
>             Fix For:  4.0.0.MR4
>
>
> I'm doing mvn install from trunk, using JDK 1.6 on Kubuntu Linux.
> For module drools-compiler, testDynamicFunction in the file below results in an  ERROR 
>  drools-compiler/src/test/java/org/drools/integrationtests/DynamicRulesTest.java
> The contents of drools-compiler/target/surefire-reports/org.drools.integrationtests.DynamicRulesTest.txt are
> ------------------------------------------------------------------------------
> Test set: org.drools.integrationtests.DynamicRulesTest
> -------------------------------------------------------------------------------
> Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.008 sec <<< FAILURE!
> testDynamicFunction(org.drools.integrationtests.DynamicRulesTest)  Time elapsed: 0.036 sec  <<< ERROR!
> java.lang.NoClassDefFoundError: org/drools/test/AddFive
>     at org.drools.test.Rule_global_rule_test_0.consequence(Rule_global_rule_test_0.java:9)
>     at org.drools.test.Rule_global_rule_test_0ConsequenceInvoker.evaluate(Rule_global_rule_test_0ConsequenceInvoker.java:20)
>     at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:497)
>     at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:461)
>     at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:372)
>     at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:353)
>     at org.drools.integrationtests.DynamicRulesTest.testDynamicFunction(DynamicRulesTest.java:312)
>     at org.drools.integrationtests.DynamicRulesTest.testDynamicFunction(DynamicRulesTest.java:312)
>     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.GeneratedMethodAccessor8.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)

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