After the cmdb and shark was running ,I add a simpel process for test. After I downloaded the XPDL temple, when I try to open it with TWE, it says "Can't open XPDL - check it for some major errors!"
Then I add the example:Request for change. It get wrong again when I try to open the downloaded XPDL. But I jumped the step and upload the example XPDL.
Then I turn to the User Monitor to click the process"Query for change" and it has error:
java.lang.NullPointerException
at org.cmdbuild.servlets.utils.builder.CardQueryParameter.setFlowStatus(CardQueryParameter.java:134)
at org.cmdbuild.servlets.utils.builder.CardQueryParameter.setWorkflowParameters(CardQueryParameter.java:122)
at org.cmdbuild.servlets.utils.builder.CardQueryParameter.buildFilter(CardQueryParameter.java:84)
at org.cmdbuild.servlets.utils.builder.CardQueryParameter.filterServiceBuild(CardQueryParameter.java:65)
at org.cmdbuild.servlets.utils.builder.CardQueryParameter.build(CardQueryParameter.java:39)
at org.cmdbuild.servlets.utils.builder.ProcessQueryParameter.build(ProcessQueryParameter.java:21)
at org.cmdbuild.servlets.utils.builder.ProcessQueryParameter.build(ProcessQueryParameter.java:11)
at org.cmdbuild.servlets.utils.builder.AbstractParameterBuilder.build(AbstractParameterBuilder.java:19)
at org.cmdbuild.servlets.utils.MethodParameterResolver.getObjectIfBinded(MethodParameterResolver.java:308)
at org.cmdbuild.servlets.utils.MethodParameterResolver.resolve(MethodParameterResolver.java:230)
The cmdbuild.log writes:
INFO 2013-05-29 14:39:05 [jsonrpc ] Calling url /workflow/getprocessinstancelist
ERROR 2013-05-29 14:39:05 [jsonrpc ] A java.lang.NullPointerException occurred calling method class org.cmdbuild.servlets.json.Workflow.getProcessInstanceList
Can anybody help me?
Hi,
the first problem is probably due to a version mismatch between the template (xpdl2) and the twe version. I suggest you to use twe 4.4.1.
Regarding the second problem: which database are you using? It's our demo, or a db you created? In which class are you uploading the xpdl?
Best regards,
Lisa
Hi,
I have problem with uploading xpdl too. I use both your demo database and on I created, but still I cant upload a xpdl. when I want to upload xpdl ( I tried with multiple xpdls, example xpdl that you provided, xpdls that I download from my simple processes that i created in the cmdbuild and sample xpdls from twe.) I get various range of errors like this :
- Error: org.cmdbuild.workflow.xpdl.XpdlException: The process id does not match
and this:
- org.cmdbuild.workflow.CMWorkflowException: org.enhydra.shark.api.client.wfservice.PackageInvalid: Error in package
I get above error when I try to upload the sample xpdl that I have just downloaded some moments ago.
and I get this error when I want to upload requestforchange.xpdl file that you provided as an example:
- org.cmdbuild.workflow.xpdl.XpdlException: The process is not bound to this class
Also I try to open xpdls that I downloaded from your application with twe 5.0.1 but I get "can't open xpdl - check for some major errors", this version of twe can open xpdl version 2.1 and my downloaded xpdls are 2.1.
I really appreciate your help.
Thanks
ali
Previously Tecnoteca wrote:
Hi,
the first problem is probably due to a version mismatch between the template (xpdl2) and the twe version. I suggest you to use twe 4.4.1.
Regarding the second problem: which database are you using? It's our demo, or a db you created? In which class are you uploading the xpdl?
Best regards,
Lisa
Hi I have same problem on the latest version CMDBuild 2.2 with basic-connector1.5.1 on CM Appliance provided from Tecnoteca.
I could not upload ImportAsset_Shark4.4.xpdl in basic-connector1.5.1 package.
Are there any suggestions or ideas please?
Satoru Funai
Previously Ali wrote:
Hi,
I have problem with uploading xpdl too. I use both your demo database and on I created, but still I cant upload a xpdl. when I want to upload xpdl ( I tried with multiple xpdls, example xpdl that you provided, xpdls that I download from my simple processes that i created in the cmdbuild and sample xpdls from twe.) I get various range of errors like this :
- Error: org.cmdbuild.workflow.xpdl.XpdlException: The process id does not match
and this:
- org.cmdbuild.workflow.CMWorkflowException: org.enhydra.shark.api.client.wfservice.PackageInvalid: Error in package
I get above error when I try to upload the sample xpdl that I have just downloaded some moments ago.
and I get this error when I want to upload requestforchange.xpdl file that you provided as an example:
- org.cmdbuild.workflow.xpdl.XpdlException: The process is not bound to this class
Also I try to open xpdls that I downloaded from your application with twe 5.0.1 but I get "can't open xpdl - check for some major errors", this version of twe can open xpdl version 2.1 and my downloaded xpdls are 2.1.
I really appreciate your help.
Thanks
ali
Previously Tecnoteca wrote:
Hi,
the first problem is probably due to a version mismatch between the template (xpdl2) and the twe version. I suggest you to use twe 4.4.1.
Regarding the second problem: which database are you using? It's our demo, or a db you created? In which class are you uploading the xpdl?
Best regards,
Lisa
Take a look at this thread, maybe it is useful to you:
http://www.cmdbuild.org/forum/forum-in-english/458331263
CMDBuild Team