[jboss-jira] [JBoss JIRA] (DROOLS-583) Drools WB jcr2vfs: make the migration tool work again

Petr Široký (JIRA) issues at jboss.org
Thu Aug 28 09:35:00 EDT 2014


Petr Široký created DROOLS-583:
----------------------------------

             Summary: Drools WB jcr2vfs: make the migration tool work again
                 Key: DROOLS-583
                 URL: https://issues.jboss.org/browse/DROOLS-583
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 6.2.0.Beta1
            Reporter: Petr Široký
            Assignee: Petr Široký


The current 6.2.0 SNAPSHOTS of the jcr2vfs tool are broken. There seems to some issue with incompatibility with between Drools 5.x and 6.x. 

{code}
Asset [Bankruptcy history] with format [brl] is being migrated... 
java.lang.ClassCastException: org.drools.core.base.accumulators.BigDecimalSumAccumulateFunction cannot be cast to org.drools.runtime.rule.AccumulateFunction
	at org.drools.compiler.PackageBuilderConfiguration.loadAccumulateFunction(PackageBuilderConfiguration.java:530)
	at org.drools.compiler.PackageBuilderConfiguration.buildAccumulateFunctionsMap(PackageBuilderConfiguration.java:479)
	at org.drools.compiler.PackageBuilderConfiguration.init(PackageBuilderConfiguration.java:194)
	at org.drools.compiler.PackageBuilderConfiguration.<init>(PackageBuilderConfiguration.java:165)
{code}
Another very serious issue is that even when the jcr2vfs tests fail, the Jenkins drools-wb CI build succeeds. This needs to be fixed, so that when the tests fail, the build fails too.

I will try to fix the tool in time for 6.2.0.Final.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)



More information about the jboss-jira mailing list