]
Petr Široký reassigned DROOLS-583:
----------------------------------
Assignee: Jan Schatteman (was: Petr Široký)
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
Affects Versions: 6.2.0.Beta1
Reporter: Petr Široký
Assignee: Jan Schatteman
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.