[jboss-user] [jBPM] - Unable to save process from process-designer after moving it from Eclipse (NPE)

mcfeber do-not-reply at jboss.com
Wed Jul 25 15:03:38 EDT 2012


mcfeber [https://community.jboss.org/people/mcfeber] created the discussion

"Unable to save process from process-designer after moving it from Eclipse (NPE)"

To view the discussion, visit: https://community.jboss.org/message/750296#750296

--------------------------------------------------------------
I am using guvnor 5.4.0 Final and process-designer.2.2.1.Final in tomcat 7.

I import (Add... via webdav) a simple bpmn2 process (start,script,stop) from Eclipse, open it in the designer, make a small change (move the icons) and select save.  

The designer reports:

400 Sorry, a technical error occurred. Please contact a system administrator.

The catalina.out has the following (partial) stack trace:
ERROR 25-07 11:54:33,597 (LoggingHelper.java:error:74)   Service method 'public abstract java.lang.String org.drools.guvnor.client.rpc.AssetService.checkinVersion(org.drools.guvnor.client.rpc.Asset) throws com.google.gwt.user.client.rpc.SerializationException' threw an unexpected exception: java. ang.NullPointerException
java.lang.NullPointerException
        at org.drools.repository.AssetItem.updateContent(AssetItem.java:390)
        at org.drools.guvnor.server.contenthandler.drools.BPMN2ProcessHandler.storeAssetContent(BPMN2ProcessHandler.java:155)
        at org.drools.guvnor.server.RepositoryAssetOperations.checkinVersion(RepositoryAssetOperations.java:180)
        at org.drools.guvnor.server.RepositoryAssetOperations$Proxy$_$$_WeldClientProxy.checkinVersion(RepositoryAssetOperations$Proxy$_$$_WeldClien Proxy.java)
        at org.drools.guvnor.server.RepositoryAssetService.checkinVersion(RepositoryAssetService.java:155)
        at org.drools.guvnor.server.RepositoryAssetService$Proxy$_$$_WeldClientProxy.checkinVersion(RepositoryAssetService$Proxy$_$$_WeldClientProxy java)
        at org.drools.guvnor.server.RepositoryServiceServlet.checkinVersion(RepositoryServiceServlet.java:596)

After that, any attempt to save the process results in the following message:

Error: Unable to save this asset, as it has been recently updated by [admin]

I've tried this with validation (after creating the PNG) where the designer reports it as valid and without validation, and the result is the same.  Is there a way around this?  I need to be able to round-trip processes between Eclipse and guvnor.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/750296#750296]

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/20120725/28eed209/attachment.html 


More information about the jboss-user mailing list