cancel
Showing results for 
Search instead for 
Did you mean: 

Can't save activiti modeler

bank
Champ in-the-making
Champ in-the-making
Hi now I'm using activiti-explorer under ofbiz webapp. But now I found problem when use Activiti Modeler, I can't save after finish create process model. I got this error when try to save process model.


Oct 02, 2014 5:48:44 PM org.restlet.resource.ServerResource doCatch
     [java] WARNING: Exception or error caught in server resource
     [java] Internal Server Error (500) - The server encountered an unexpected condition which prevented it from fulfilling the request
     [java]    at org.restlet.resource.ServerResource.doHandle(ServerResource.java:540)
     [java]    at org.restlet.resource.ServerResource.doHandle(ServerResource.java:575)
     [java]    at org.restlet.resource.ServerResource.put(ServerResource.java:1374)
     [java]    at org.restlet.resource.ServerResource.doHandle(ServerResource.java:447)
     [java]    at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:683)
     [java]    at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:357)
     [java]    at org.restlet.resource.ServerResource.handle(ServerResource.java:1014)
     [java]    at org.restlet.resource.Finder.handle(Finder.java:246)
     [java]    at org.restlet.routing.Filter.doHandle(Filter.java:159)
     [java]    at org.restlet.routing.Filter.handle(Filter.java:206)
     [java]    at org.restlet.routing.Router.doHandle(Router.java:431)
     [java]    at org.restlet.routing.Router.handle(Router.java:648)
     [java]    at org.restlet.routing.Filter.doHandle(Filter.java:159)
     [java]    at org.restlet.routing.Filter.handle(Filter.java:206)
     [java]    at org.restlet.routing.Filter.doHandle(Filter.java:159)
     [java]    at org.restlet.routing.Filter.handle(Filter.java:206)
     [java]    at org.restlet.routing.Filter.doHandle(Filter.java:159)
     [java]    at org.restlet.routing.Filter.handle(Filter.java:206)
     [java]    at org.restlet.routing.Filter.doHandle(Filter.java:159)
     [java]    at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:155)
     [java]    at org.restlet.routing.Filter.handle(Filter.java:206)
     [java]    at org.restlet.routing.Filter.doHandle(Filter.java:159)
     [java]    at org.restlet.routing.Filter.handle(Filter.java:206)
     [java]    at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:211)
     [java]    at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:84)
     [java]    at org.restlet.Application.handle(Application.java:384)
     [java]    at org.restlet.routing.Filter.doHandle(Filter.java:159)
     [java]    at org.restlet.routing.Filter.handle(Filter.java:206)
     [java]    at org.restlet.routing.Router.doHandle(Router.java:431)
     [java]    at org.restlet.routing.Router.handle(Router.java:648)
     [java]    at org.restlet.routing.Filter.doHandle(Filter.java:159)
     [java]    at org.restlet.routing.Filter.handle(Filter.java:206)
     [java]    at org.restlet.routing.Router.doHandle(Router.java:431)
     [java]    at org.restlet.routing.Router.handle(Router.java:648)
     [java]    at org.restlet.routing.Filter.doHandle(Filter.java:159)
     [java]    at org.restlet.routing.Filter.handle(Filter.java:206)
     [java]    at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:211)
     [java]    at org.restlet.Component.handle(Component.java:406)
     [java]    at org.restlet.Server.handle(Server.java:516)
     [java]    at org.restlet.engine.connector.ServerHelper.handle(ServerHelper.java:72)
     [java]    at org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:152)
     [java]    at org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1118)
     [java]    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
     [java]    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
     [java]    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
     [java]    at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:44)
     [java]    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
     [java]    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
     [java]    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
     [java]    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
     [java]    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
     [java]    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
     [java]    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
     [java]    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
     [java]    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
     [java]    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
     [java]    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
     [java]    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
     [java]    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
     [java]    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
     [java]    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
     [java]    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
     [java]    at java.lang.Thread.run(Thread.java:745)
     [java] Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.batik.dom.svg.SVGDOMImplementation
     [java]    at org.apache.batik.transcoder.SVGAbstractTranscoder.<init>(SVGAbstractTranscoder.java:123)
     [java]    at org.apache.batik.transcoder.image.ImageTranscoder.<init>(ImageTranscoder.java:75)
     [java]    at org.apache.batik.transcoder.image.PNGTranscoder.<init>(PNGTranscoder.java:44)
     [java]    at org.activiti.rest.editor.model.ModelSaveRestResource.saveModel(ModelSaveRestResource.java:73)
     [java]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
     [java]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java]    at java.lang.reflect.Method.invoke(Method.java:606)
     [java]    at org.restlet.resource.ServerResource.doHandle(ServerResource.java:521)
     [java]    … 62 more
     [java]


How can I solve this error?

Thanks

Bank
2 REPLIES 2

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,


java.lang.Thread.run(Thread.java:745)&#10;     [java] Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.batik.dom.svg.SVGDOMImplementation&#10;

Do you have SVGDOMImplementation in your classpath?
Regards
Martin

bank
Champ in-the-making
Champ in-the-making
Yes, now I can solve this problem. Thank you for the answer.