Favoured: 0
|
|
TOPIC: Samples using XForms: Could not apply new style to
|
Aug 14, 2008 5:38 pm
13 posts
Fresh Boarder
|
|
|
Karma: 0
|
|
Hi,
when trying to deploy the samples to a freshly downloaded bpms-server I receive an error:
PeopleActivity deployment returned an error. ------------------------- xform - java.lang.RuntimeException: Could not apply new style to xform
7:34:11,273 ERROR [XFormComponentManager] Error while storing XForm: PA.xform java.lang.RuntimeException: Could not apply new style to xform at org.intalio.tempo.workflow.wds.core.xforms.XFormsConverter.fixStyle(XFormsConverter.java:71) at org.intalio.tempo.workflow.wds.core.xforms.XFormsConverter.fixStyle(XFormsConverter.java:24) at org.intalio.tempo.workflow.wds.core.xforms.XFormsConverter.fixStyle(XFormsConverter.java:119) at org.intalio.tempo.workflow.wds.core.JPAItemDaoConnection.storeItem(JPAItemDaoConnection.java:64) at org.intalio.tempo.workflow.wds.core.WDSService.storeItem(WDSService.java:86) at org.intalio.tempo.workflow.wds.core.XFormComponentManager.processXForm(XFormComponentManager.java:146) at org.intalio.tempo.workflow.wds.core.XFormComponentManager.processDir(XFormComponentManager.java:205) at org.intalio.tempo.workflow.wds.core.XFormComponentManager.deploy(XFormComponentManager.java:82) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.intalio.tempo.registry.RemoteProxy.invoke(RemoteProxy.java:87) at $Proxy34.deploy(Unknown Source) at org.intalio.tempo.deployment.impl.DeploymentServiceImpl.deployExplodedAssembly(DeploymentServiceImpl.java:356) at org.intalio.tempo.deployment.impl.DeploymentServiceImpl.deployAssembly(DeploymentServiceImpl.java:273) at org.intalio.tempo.deployment.ws.DeployWS.deployAssembly(DeployWS.java:131) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogic(RawXMLINOutMessageReceiver.java:97) at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusinessLogic(AbstractInOutSyncMessageReceiver.java:42) at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.apache.geronimo.jetty6.InternalJettyServletHolder.handle(InternalJettyServletHolder.java:65) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.apache.geronimo.jetty6.handler.ThreadClassloaderHandler.handle(ThreadClassloaderHandler.java:46) at org.apache.geronimo.jetty6.handler.InstanceContextHandler.handle(InstanceContextHandler.java:58) at org.apache.geronimo.jetty6.handler.UserTransactionHandler.handle(UserTransactionHandler.java:48) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.apache.geronimo.jetty6.handler.ComponentContextHandler.handle(ComponentContextHandler.java:47) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:726) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396) at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:201) at org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:331) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:613) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1768) at org.intalio.tempo.workflow.wds.core.xforms.XFormsConverter.convertLine(XFormsConverter.java:79) at org.intalio.tempo.workflow.wds.core.xforms.XFormsConverter.fixStyle(XFormsConverter.java:64)
I'm using designer v5.2.0.115 and bpm-server v5.2.0.050. Any ideas?
Regards, Christian
|
|
|
|
|
|
|
Last Edit: 2008/08/14 17:40 By christian.stangier.
|
|
|
The administrator has disabled public write access. |
Aug 14, 2008 8:10 pm
97 posts
Expert Boarder
|
|
|
Karma: 2
|
|
Clean the BPMS project and rebuild. Hope it works!
|
|
|
|
|
|
|
The administrator has disabled public write access. |
Aug 14, 2008 8:10 pm
97 posts
Expert Boarder
|
|
|
Karma: 2
|
|
Clean the BPMS project and rebuild. Hope it works!
|
|
|
|
|
|
|
The administrator has disabled public write access. |
Aug 15, 2008 11:52 am
13 posts
Fresh Boarder
|
|
|
Karma: 0
|
|
Hi Crishanta,
that's what I tried already. With no success. Additionaly I tried the same on another machine, didn't work either. Is it possible that the XForms functionality is broken?
Regards, Christian
|
|
|
|
|
|
|
The administrator has disabled public write access. |
Aug 15, 2008 12:34 pm
13 posts
Fresh Boarder
|
|
|
Karma: 0
|
|
I can answer these questions myself: The supplied XForms work after manually resaving them. After that deployment works just fine.
Christian
|
|
|
|
|
|
|
The administrator has disabled public write access. |
Sep 27, 2008 11:51 am
13 posts
Fresh Boarder
|
|
|
Karma: 0
|
|
Just for the records: I solved the problem some time ago by rebuilding the Xforms.
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|