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@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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to