Deployment Error After Executing Unit Test Over A BPM Project
(Doc ID 2888050.1)
Last updated on AUGUST 15, 2022
Applies to:
Oracle Business Process Management Suite - Version 12.2.1.0.0 and laterInformation in this document applies to any platform.
Symptoms
When an application contains a Frevvo form (WebForm) and contains a Unit test is deployed and you run the unit test and then attempt to redeploy the deployment fails.
The subsequent deployment succeeds only if the engine is restarted.
Changes
Recreation steps:
- Develop an application with Frevvo Form and Unit test
- Deploy the application
- Run the unit test : Go to the EM, navigate to the Composite. On the Composite view click on "Unit Tests" (Located on the 2nd level
menu: Dashboard, Composite Definition, Flow Instances,Unit Tests ) and run a unit test you have.
- After running the unit test try to re-deploy the application
The deployment will fail and you'll get the following exception on the server log :
Could not process API POST for /frevvo/web/tn/designer/api/apps[[java.lang.IllegalArgumentException: Invalid application file. Make sure you are uploading an application downloaded from frevvo and not a form.
Application file names end with _app.zip.
at com.gauss.forms.storage.util.N.a(SourceFile:201)
at com.gauss.forms.storage.util.N.a(SourceFile:120)
at com.gauss.forms.service.FormsService.b(SourceFile:439)
at com.gauss.forms.service.FormsService.a(SourceFile:426)
at ek.a(SourceFile:96)
at ek.b(SourceFile:24)
...
Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: db:/users/designer/O5SWE3DPM5UWG/_10mlgI4qEeq-F4DpjC8erA/_10mlgI4qEeq-F4DpjC8erA.application<Line 2, Column 461>:
XML-20124: (Fatal Error) An attribute cannot appear more than once in the same start tag.
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:201)
...
Caused by: org.xml.sax.SAXParseExceptionpublicId:db:/users/designer/O5SWE3DPM5UWG/_10mlgI4qEeq-F4DpjC8erA/_10mlgI4qEeq-F4DpjC8erA.application; systemId:
db:/users/designer/O5SWE3DPM5UWG/_10mlgI4qEeq-F4DpjC8erA/_10mlgI4qEeq-F4DpjC8erA.application; lineNumber: 2; columnNumber: 461;
db:/users/designer/O5SWE3DPM5UWG/_10mlgI4qEeq-F4DpjC8erA/_10mlgI4qEeq-F4DpjC8erA.application<Line 2, Column 461>:
XML-20124: (Fatal Error) An attributecannot appear more than once in the same start tag.
at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:425)
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:290)
...
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |