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

Lars Ivar Igesund (JIRA) jira-events at lists.jboss.org
Fri May 11 06:12:02 EDT 2007


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: Mark Proctor


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