[jboss-user] [JBoss jBPM] - BPEL Commands not found under Netbeans + jbpm-bpel 1.1.3 bet

ZazzaZ do-not-reply at jboss.com
Fri Sep 21 10:27:10 EDT 2007


Hi all,
this is not an issue subject! It's a problem solved.

I'm working with Neatbeans with the extensions to write BPEL processes.
My choice was targeted by my personal love for Netbeans.

I just found myself against a problem trying to deploy a process needing activity as scope and while. 

The exception was:

RROR [ProblemHandler]  SportelloUnico.bpel could not read process document
java.lang.NullPointerException
        at org.jbpm.bpel.xml.util.XmlUtil.getAttribute(XmlUtil.java:269)
        at org.jbpm.bpel.xml.BpelReader.readExpression(BpelReader.java:463)
        at org.jbpm.bpel.xml.BpelReader.readExpression(BpelReader.java:445)
        at org.jbpm.bpel.xml.WhileReader.readSpecificProperties(WhileReader.java:40)
        at org.jbpm.bpel.xml.ActivityReader.read(ActivityReader.java:54)
        at org.jbpm.bpel.xml.BpelReader.readActivity(BpelReader.java:1178)
        at org.jbpm.bpel.xml.SequenceReader.readSpecificProperties(SequenceReader.java:41)
        at org.jbpm.bpel.xml.ActivityReader.read(ActivityReader.java:54)
        at org.jbpm.bpel.xml.BpelReader.readActivity(BpelReader.java:1178)
        at org.jbpm.bpel.xml.BpelReader.readScope(BpelReader.java:540)
        at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:251)
        at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:200)
        at org.jbpm.bpel.par.BpelArchiveParser.readFromArchive(BpelArchiveParser.java:48)
...

I knew for previous error that this was caused by missing namespace and things like that. So I moved to atm example and added this namespace to 
my process' one.

xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"

But that was NOT enough. I had to explicitly used that namespace, by typing commands like

<bpel:while name="whileScope" condition="whileCond">
</bpel:while>

and now your process is whie-enable. Enjoy!

I hope I was of nome help.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087256#4087256

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087256



More information about the jboss-user mailing list