[jboss-dev-forums] [Design of JBoss jBPM] - Problems with change in ConstructorInstantiator

camunda do-not-reply at jboss.com
Mon Feb 9 08:50:25 EST 2009


Hi Alex.

I updated to your latest changes locally and have a problem with the change in ConstructorInstantiator. The new version throws a NullPointerException if you specify "constructor" configuration without a configuration. This may make sense, but in the current ESB integration the "org.jboss.soa.esb.services.jbpm.cmd.AsyncProcessSignal$AsyncSignalAction" is created as "constructor-configured" but with "configuration" null.

So after updating to the new version every started process instance within the ESB environment fails with a NPE. So in the sense of not breaking compatibility I would propose to add the behavior as before the change to the new code, means: If configuration is null, type is assumed to be String and value is null.

Got what I mean. D'accord?

Then I can commit it...

Cheers
Bernd



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

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



More information about the jboss-dev-forums mailing list