droolsjbpm-integration example does not run
-------------------------------------------
Key: JBRULES-3019
URL:
https://issues.jboss.org/browse/JBRULES-3019
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.2.0.M2
Reporter: Jervis Liu
Assignee: Mark Proctor
Priority: Critical
Fix For: 5.2.0.CR1
droolsjbpm-integration example does not run.
How to reproduce:
1. download droolsjbpm-integration distribution from
https://hudson.qa.jboss.com/hudson/view/Drools%20jBPM/job/droolsjbpm-inte...
2. build examples using the pom provided.
3. under droolsjbpm-integration-distribution-5.2.0-SNAPSHOT\examples directory, run
examples using runExamples.sh or runExamples.bat
4. When the gui starts up, click NumberGuess example. Following exceptions are thrown from
console:
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError:
org.drools.b
ase.mvel.MVELCompilationUnit.getCompiledExpression(Ljava/lang/ClassLoader;)Ljava
/io/Serializable;
at org.jbpm.process.instance.impl.MVELAction.compile(MVELAction.java:70)
at org.jbpm.process.builder.dialect.mvel.MVELActionBuilder.build(MVELAct
ionBuilder.java:130)
at org.jbpm.process.builder.ActionNodeBuilder.build(ActionNodeBuilder.ja
va:25)
at org.jbpm.compiler.ProcessBuilderImpl.processNodes(ProcessBuilderImpl.
java:215)
at org.jbpm.compiler.ProcessBuilderImpl.buildNodes(ProcessBuilderImpl.ja
va:201)
at org.jbpm.compiler.ProcessBuilderImpl.buildProcess(ProcessBuilderImpl.
java:165)
at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilder
Impl.java:254)
at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.j
ava:464)
at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilde
r.java:501)
at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl
.java:28)
at org.drools.examples.numberguess.NumberGuessExample.main(NumberGuessEx
ample.java:38)
at org.drools.examples.DroolsJbpmIntegrationExamplesApp$3.actionPerforme
d(DroolsJbpmIntegrationExamplesApp.java:65)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira