cancel
Showing results for 
Search instead for 
Did you mean: 

Actviti Modeler not working on Internet explorer

ani123
Champ in-the-making
Champ in-the-making
Hello
I have installed Activiti Explorer version 5.17. I cannot get the BPMN process modeler to work on Internet Explorer.
  I can see the BPMN editor, and can draw a BPMN diagram.
But when I try to save a Model which has connections  I get the following error, on model save
My question is
a) Is Activiti Modeler supported on Internet Explorer ?
b) If not what is the limiting factor, and can it be fixed  by the user?

Thanks for any pointers/help

Regards
Ani

rg.apache.batik.transcoder.TranscoderException: null
Enclosed Exception:
Element type "path" must be followed by either attribute specifications, ">" or
"/>".
        at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(XMLAbstra
ctTranscoder.java:136)
        at org.apache.batik.transcoder.SVGAbstractTranscoder.transcode(SVGAbstra
ctTranscoder.java:156)
        at org.activiti.rest.editor.model.ModelSaveRestResource.saveModel(ModelS
aveRestResource.java:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.springframework.web.method.support.InvocableHandlerMethod.invoke(
InvocableHandlerMethod.java:215)
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeF
orRequest(InvocableHandlerMethod.java:132)
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocabl
eHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingH
andlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingH
andlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689)
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapt
er.handle(AbstractHandlerMethodAdapter.java:83)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
erServlet.java:938)
        at org.springframework.web.servlet.DispatcherServlet.doService(Dispatche
rServlet.java:870)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(Frame
workServlet.java:961)
        at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServl
et.java:874)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:653)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkSer
vlet.java:837)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:208)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52
)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:208)
        at org.activiti.explorer.servlet.JsonpCallbackFilter.doFilter(JsonpCallb
ackFilter.java:57)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:208)
        at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.j
ava:42)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:505)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:103)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
957)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:423)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
11Processor.java:1079)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:620)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpo
int.java:2476)
        at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin
t.java:2465)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskTh
read.java:61)
        at java.lang.Thread.run(Thread.java:745)




30 REPLIES 30

ani123
Champ in-the-making
Champ in-the-making
Hello
Can anybody comment on this, when you get a chance?
  The issue I am seeing is coming from the apache.batik code, when it tries to save a model, which has connections in it.
  Any help is appreciated.

Thanks
Ani

jbarrez
Star Contributor
Star Contributor
a) yes, IE9+

What is the version of IE you are running it on?

ani123
Champ in-the-making
Champ in-the-making
I am using IE 11. I see the same issues with IE 9 and IE 10 too.

As mentioned,  the issue occurs only if there is a transition between two activitieis / event etc. If there are no transitions / sequence flows in the model, the model can be saved.

Thanks for any help. The stack trace does show the org.apcahe.batik throwing an exception. I am not sure if this is related to the
—-> arrow shape in the transition line being drawn.

Excuse me  if I am referring to an incorrect example. But several links on IE and SVG, do discuss issues with rendering of transitions, with a triangle/pointer head.  One such link is

http://stackoverflow.com/questions/15588478/internet-explorer-10-not-showing-svg-path-d3-js-graph

Though this one is slightly different: It does render the transition properly, but does not save  the model.

Any help is appreciated.

Best Regards
Ani

jrnorrisjr
Champ in-the-making
Champ in-the-making
We are having the same issue.  I printed out the svgDOM generated from toolbar-default-actions.js:

<code>
        var svgDOM = DataManager.serialize(svgClone);
</code>

The first few lines of the result for a simple workflow with a start node, human task and end node are:

<code>
<svg xmlns="http://www.w3.org/2000/svg" xmlnsSmiley Surprisedryx="http://oryx-editor.org" id="sid-318ECE9A-6742-4EF0-8124-DBA9D92054EC" width="433" height="159" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg"><defs><marker id="sid-1A91CA7E-4FB9-492B-BD2A-920C1E872F7Dstart" refX="1" refY="5" markerUnits="userSpaceOnUse" markerWidth="17" markerHeight="11" orient="auto">
     undefined
   <path id="sid-1A91CA7E-4FB9-492B-BD2A-920C1E872F7Ddefault" display="none" fill="white" stroke="#585858" stroke-width="1" d="M 5 0 L 11 10"/>
</code>

As you can see there is "undefined" just before the path tag so I'm wondering if this is the cause of the issue.

Jim

jrnorrisjr
Champ in-the-making
Champ in-the-making
Actually there is another "undefined" in the string:

<code>
<svg xmlns="http://www.w3.org/2000/svg" xmlnsSmiley Surprisedryx="http://oryx-editor.org" id="sid-318ECE9A-6742-4EF0-8124-DBA9D92054EC" width="433" height="159" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg"><defs><marker id="sid-1A91CA7E-4FB9-492B-BD2A-920C1E872F7Dstart" refX="1" refY="5" markerUnits="userSpaceOnUse" markerWidth="17" markerHeight="11" orient="auto">
     undefined
   <path id="sid-1A91CA7E-4FB9-492B-BD2A-920C1E872F7Ddefault" display="none" fill="white" stroke="#585858" stroke-width="1" d="M 5 0 L 11 10"/>
    </marker><marker id="sid-1A91CA7E-4FB9-492B-BD2A-920C1E872F7Dend" refX="15" refY="6" markerUnits="userSpaceOnUse" markerWidth="15" markerHeight="12" orient="auto">
     <path id="sid-1A91CA7E-4FB9-492B-BD2A-920C1E872F7Darrowhead" fill="#585858" stroke="#585858" stroke-linejoin="round" stroke-width="2" d="M 0 1 L 15 6 L 0 11 Z"/>
    </marker><marker id="sid-AB86403C-01FA-4E81-94DC-9675EDAD13AEstart" refX="1" refY="5" markerUnits="userSpaceOnUse" markerWidth="17" markerHeight="11" orient="auto">
     undefined
   <path id="sid-AB86403C-01FA-4E81-94DC-9675EDAD13AEdefault" display="none" fill="white" stroke="#585858" stroke-width="1" d="M 5 0 L 11 10"/>
</code>

jrnorrisjr
Champ in-the-making
Champ in-the-making
The undefined text is not the issue.  I eliminated those from the string and still get the same error.

ani123
Champ in-the-making
Champ in-the-making
HI Jim
Thanks for your comment. So this does look like an issue with IE .
  This is kind of blocking me , we are looking as Activiti as one of the options for process modeling.
Will wait for further comments , and hopefully can have a workaround/ solution.

Best Regards
Ani

jrnorrisjr
Champ in-the-making
Champ in-the-making
Hi Ani,

This is blocking us too as one of our clients only uses IE (currently IE11).  If we find any solution I will post it here.

Jim

ani123
Champ in-the-making
Champ in-the-making
Thanks Jim
Do you think it is a bug in IE in the way it handles SVG?
Activiti does claim IE 9+ is supported. So this is surprising , that nobody has reported this earlier. Or may be not too many people  use Acitiviti on IE.

Regards
Ani