[jboss-user] [jBPM] - Re: JBPM ENGINE AND JAVA BEAN
tmmaluleke
do-not-reply at jboss.com
Tue Aug 21 06:45:32 EDT 2012
tmmaluleke [https://community.jboss.org/people/tmmaluleke] created the discussion
"Re: JBPM ENGINE AND JAVA BEAN"
To view the discussion, visit: https://community.jboss.org/message/754758#754758
--------------------------------------------------------------
Hello,
I have this small use case where I have to input the test marks for a specific student using the Script task, a decision must be taken if the avarage of the test is greater or less than 50 for which i used the Gateway(XOR) the. i have the User task for the administrator to approve or accept the student to the next grade and the end process but when i try to run it i get this error.
What may be the cause of these error?
Process Compilation error : org.drools.lang.descr.ProcessDescr at 1972e3a
defaultPackage/Process_defaultPackage_Sample_Process_65e5cb8529f345baab60c687dbf065ed.java (13:425) : This method must return a result of type Object
defaultPackage/Process_defaultPackage_Sample_Process_65e5cb8529f345baab60c687dbf065ed.java (19:619) : This method must return a result of type Object
Exception in thread "main" java.lang.IllegalArgumentException: Could not parse knowledge.
at org.drools.builder.impl.KnowledgeBuilderImpl.newKnowledgeBase(KnowledgeBuilderImpl.java:73)
at student.StudentEvaluation.readKnowledgeBase(StudentEvaluation.java:29)
at student.StudentEvaluation.main(StudentEvaluation.java:20)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/754758#754758]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120821/0a7c6ac3/attachment-0001.html
More information about the jboss-user
mailing list