cancel
Showing results for 
Search instead for 
Did you mean: 

Designer 5.11 does not work

younes1
Champ in-the-making
Champ in-the-making
Hi,
i installed the activiti webapp 5.11. and one i try to edit some model the process stop after loading the plugins with the following error :
SEVERE: Error creating model JSON
org.codehaus.jackson.JsonParseException: Unexpected character ('j' (code 106)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')
at [Source: java.io.StringReader@1aeeb406; line: 1, column: 2]
        at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1433)
        at org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:521)
        at org.codehaus.jackson.impl.JsonParserMinimalBase._reportUnexpectedChar(JsonParserMinimalBase.java:442)
        at org.codehaus.jackson.impl.ReaderBasedParser._handleUnexpectedValue(ReaderBasedParser.java:1198)
        at org.codehaus.jackson.impl.ReaderBasedParser.nextToken(ReaderBasedParser.java:485)
        at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2770)
        at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2718)
        at org.codehaus.jackson.map.ObjectMapper.readTree(ObjectMapper.java:1542)
        at org.activiti.editor.rest.model.ModelEditorJsonRestResource.getEditorJson(ModelEditorJsonRestResource.java:50)
        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:597)
        at org.restlet.resource.ServerResource.doHandle(ServerResource.java:452)
        at org.restlet.resource.ServerResource.get(ServerResource.java:648)
        at org.restlet.resource.ServerResource.doHandle(ServerResource.java:530)
        at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:590)
        at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:302)
        at org.restlet.resource.ServerResource.handle(ServerResource.java:849)
        at org.restlet.resource.Finder.handle(Finder.java:513)
        at org.restlet.routing.Filter.doHandle(Filter.java:159)
        at org.restlet.routing.Filter.handle(Filter.java:206)
        at org.restlet.routing.Router.doHandle(Router.java:500)
        at org.restlet.routing.Router.handle(Router.java:740)
        at org.restlet.routing.Filter.doHandle(Filter.java:159)
        at org.restlet.routing.Filter.handle(Filter.java:206)
        at org.restlet.routing.Filter.doHandle(Filter.java:159)
        at org.restlet.routing.Filter.handle(Filter.java:206)
        at org.restlet.routing.Filter.doHandle(Filter.java:159)
        at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:155)
        at org.restlet.routing.Filter.handle(Filter.java:206)
        at org.restlet.routing.Filter.doHandle(Filter.java:159)
        at org.restlet.routing.Filter.handle(Filter.java:206)
        at org.restlet.engine.ChainHelper.handle(ChainHelper.java:114)
        at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:75)
        at org.restlet.Application.handle(Application.java:391)
        at org.restlet.routing.Filter.doHandle(Filter.java:159)
        at org.restlet.routing.Filter.handle(Filter.java:206)


i m using firefox 17.0.1

best regards.
12 REPLIES 12

younes1
Champ in-the-making
Champ in-the-making
Hi,

it was my mistake. first time as i run the explorer, i did generate the activiti database from the sql scripts file ( i totaly forgot about it).   and the error was trying to run the explorer with the demos configured in the spring context .

after creating new empty database and restart tomcat works fine.

best regards
younes

btomas
Champ in-the-making
Champ in-the-making
The 5.11.1 really doesn't work - try copying "Add sales opportunity.bpmn20.xml" (Activiti in Action chp.7), change to"Add sales opportunity.bpmn" and …. the designer shows empty screen. No any BPMN elements at all. Are there any workarounds for his?

I've just downgraded to designer 5.9.3

(using Eclipse Indigo Service Release 2)

trademak
Star Contributor
Star Contributor
Hi,

The problem is that the old Activiti Modeler automatically adds isExecutable="false" to the process element.
If you change false into true, it's opening fine. I'll try and fix this issue, because the Designer should of course also open definitions with isExecutable="false"

Best regards,