[rules-users] error while build package at guvnor

priasa ardi.priasa at gmail.com
Mon Aug 9 00:35:38 EDT 2010


dear All, 

I am a newbie... 
starting learn drools since 2010 -08-05 

i try to create sample.jbpm 
here is the code : 

<?xml version="1.0" encoding="UTF-8"?> 
<definitions id="Definition" 
             targetNamespace="http://www.jboss.org/drools" 
             typeLanguage="http://www.java.com/javaTypes" 
             expressionLanguage="http://www.mvel.org/2.0" 
             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" 
             xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" 
             xs:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL
BPMN20.xsd" 
             xmlns:g="http://www.jboss.org/drools/flow/gpd" 
             xmlns:tns="http://www.jboss.org/drools"> 

  <process processType="Private" isExecutable="true"
id="com.sample.bpmn.first" name="Sample Process" > 

    <!-- nodes --> 
    <startEvent id="_1" name="StartProcess" g:x="16" g:y="25" g:width="48"
g:height="48" /> 
    <endEvent id="_2" name="End" g:x="429" g:y="29" g:width="48"
g:height="48" > 
        <terminateEventDefinition/> 
    </endEvent> 
    <scriptTask id="_3" name="First" g:x="190" g:y="28" g:width="80"
g:height="48" > 
      <script>System.out.println("hello ...");</script> 
    </scriptTask> 

    <!-- connections --> 
    <sequenceFlow id="_3-_2" sourceRef="_3" targetRef="_2" /> 
    <sequenceFlow id="_1-_3" sourceRef="_1" targetRef="_3" /> 

  </process> 

</definitions> 

i getting error while build package : 
the error : 
unable to parse xml : Exception class java.lang.NullPointerException : null 

any suggestion ? 
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/error-while-build-package-at-guvnor-tp1050914p1050914.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list