On Fri, Mar 25, 2011 at 4:01 PM, Edson Tirelli <ed.tirelli@gmail.com> wrote:

   Ok, I will have to double check that. Can you provide me with stack trace or list of errors you are getting from these tests?

Since attachments are most likely stripped, here's the output (stand back).  I'll list them back to back.  I hope--frankly--that somehow this is my error, but I'm not sure that it is, given that I'm just trying to build HEAD.

First, this is from org.drools.integrationtests.MiscTest:

-------------------------------------------------------------------------------
Test set: org.drools.integrationtests.MiscTest
-------------------------------------------------------------------------------
Tests run: 191, Failures: 1, Errors: 1, Skipped: 4, Time elapsed: 9.855 sec <<< FAILURE!
testBigDecimalWithFromAndEval(org.drools.integrationtests.MiscTest)  Time elapsed: 0.026 sec  <<< FAILURE!
java.lang.AssertionError: Unable to Analyse Expression java.math.BigDecimal.TEN:
[Error: Failed to compile: 4 compilation error(s):
 - (1,1) unable to resolve method using strict-mode: java.lang.Object.java()
 - (1,6) unable to resolve method using strict-mode: java.lang.Object.math()
 - (1,11) unable to resolve method using strict-mode: java.lang.Object.BigDecimal()
 - (1,22) unable to resolve method using strict-mode: java.lang.Object.TEN()]
[Near : {... java.math.BigDecimal.TEN ....}]
             ^
[Line: 1, Column: 1] : [Rule name='Test Rule']

    at org.junit.Assert.fail(Assert.java:91)
    at org.junit.Assert.assertTrue(Assert.java:43)
    at org.junit.Assert.assertFalse(Assert.java:68)
    at org.drools.integrationtests.MiscTest.testBigDecimalWithFromAndEval(MiscTest.java:1928)
    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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
    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:350)
    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

testReturnValueException(org.drools.integrationtests.MiscTest)  Time elapsed: 0.011 sec  <<< ERROR!
[Error: unexpected end of statement]
[Near : {... ( throwException( ) ) ....}]
                                  ^
[Line: 1, Column: 22]
    at org.mvel2.compiler.AbstractParser.nextToken(AbstractParser.java:1199)
    at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:132)
    at org.mvel2.compiler.ExpressionCompiler.compile(ExpressionCompiler.java:69)
    at org.mvel2.MVEL.analysisCompile(MVEL.java:687)
    at org.mvel2.MVEL.analysisCompile(MVEL.java:691)
    at org.drools.rule.builder.PatternBuilder.setInputs(PatternBuilder.java:619)
    at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:380)
    at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:268)
    at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:107)
    at org.drools.rule.builder.GroupElementBuilder.build(GroupElementBuilder.java:65)
    at org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:80)
    at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:1308)
    at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:659)
    at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:298)
    at org.drools.integrationtests.MiscTest.testReturnValueException(MiscTest.java:2868)
    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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
    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:350)
    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
    at org.mvel2.util.ParseTools.subsetTrimmed(ParseTools.java:908)
    at org.mvel2.util.ParseTools.parseParameterList(ParseTools.java:200)
    at org.mvel2.compiler.PropertyVerifier.getMethod(PropertyVerifier.java:404)
    at org.mvel2.compiler.PropertyVerifier.analyze(PropertyVerifier.java:112)
    at org.mvel2.compiler.ExpressionCompiler.verify(ExpressionCompiler.java:387)
    at org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:281)
    at org.mvel2.util.ParseTools.subCompileExpression(ParseTools.java:2108)
    at org.mvel2.ast.Substatement.<init>(Substatement.java:36)
    at org.mvel2.compiler.AbstractParser.nextToken(AbstractParser.java:1045)
    ... 40 more
 
...and this is from org.drools.rule.builder.dialect.java.JavaConsequenceBuilderTest:

-------------------------------------------------------------------------------
Test set: org.drools.rule.builder.dialect.java.JavaConsequenceBuilderTest
-------------------------------------------------------------------------------
Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.272 sec <<< FAILURE!
testFixModifyBlocks(org.drools.rule.builder.dialect.java.JavaConsequenceBuilderTest)  Time elapsed: 0.057 sec  <<< FAILURE!
org.junit.ComparisonFailure: expected:<...e){Cheesec2=$cheese;[{org.drools.Cheese__obj__=(c2);org.drools.FactHandle__obj____Handle2__=drools.getFactHandle(__obj__);__obj__.setPrice(10);__obj__.setOldPrice(age);drools.update(__obj____Handle2__);}]}finally{Cheesec3=$c...> but was:<...e){Cheesec2=$cheese;[]}finally{Cheesec3=$c...>
    at org.junit.Assert.assertEquals(Assert.java:123)
    at org.junit.Assert.assertEquals(Assert.java:145)
    at org.drools.rule.builder.dialect.java.JavaConsequenceBuilderTest.assertEqualsIgnoreSpaces(JavaConsequenceBuilderTest.java:676)
    at org.drools.rule.builder.dialect.java.JavaConsequenceBuilderTest.testFixModifyBlocks(JavaConsequenceBuilderTest.java:321)
    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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
    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:350)
    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

Best,
Laird