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

trademak
Star Contributor
Star Contributor
That's not the Activiti Designer (Eclipse plugin) but the Modeler.
Which process model do you want to open with the Modeler?
The error message is that there's a j value instead of a boolean value. Do you see that somewhere in your process model?

Best regards,

younes1
Champ in-the-making
Champ in-the-making
thanks for your answer,
i tryed the demo model. event wenn i create new model and edit it in  the modeler ( not eclipse PLUGIN)  nothing happend, only the start picture of modeler ist showed. may be, it s encoding problem!!

Best regards.
younes

trademak
Star Contributor
Star Contributor
Hi,

Do you see a Javascript error when using Firebug?
Does the modeler not open if you create a new model?

Best regards,

younes1
Champ in-the-making
Champ in-the-making
firebug output :

Response
————————————————————————————————————————————–
{"name":"model-test","revision":1,"description":"","modelId":"206"}

"NetworkError: 500 Internal Server Error - http://www.itexo.de/activiti/service/model/206/json"



Header
——————————————————————————————————————————————–

500 Internal Server Error
  65ms
protot….5.1.js (line 1044)
HeadersResponseJSONCookies
Response Headers
Accept-Ranges bytes
Connection close
Content-Type application/json;charset=UTF-8
Date Fri, 04 Jan 2013 10:37:14 GMT
Server Restlet-Framework/2.0.15
Transfer-Encoding chunked
Vary Accept-Charset,Accept-Encoding,Accept-Language,Accept
Request Headers
Accept text/javascript, text/html, application/xml, text/xml, */*
Accept-Encoding gzip, deflate
Accept-Language en-US,en;q=0.5
Authorization Basic eW91bmVzOmFjdGl2aXRpNTRoYWxpbWEk
Connection keep-alive
Cookie JSESSIONID=AA581FC19E0E1C6D2FFDE3A60384600A
Host http://www.itexo.de
Referer http://www.itexo.de/activiti/service/editor?id=206
User-Agent Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 FirePHP/0.7.1
X-Prototype-Version 1.5.1
X-Requested-With XMLHttpRequest
x-insight activate

"NetworkError: 500 Internal Server Error - http://www.itexo.de/activiti/service/model/206/json"


it says only about the server error ( my first post ).

kind regards
younes

younes1
Champ in-the-making
Champ in-the-making
modeler create new model but you can not edit it

trademak
Star Contributor
Star Contributor
So you have deployed the modeler on your website at http://www.itexo.de ?
It can't reach  http://www.itexo.de/activiti/service/model/206/json so there's something wrong in your deployment.
Did you try to do it local first?

Best regards,

younes1
Champ in-the-making
Champ in-the-making
yes, i ve try it on my mac and i ve the same error. you wont reach the server on itexo cause it s running behind a proxy. if you would like send me your mail. i ll send you the access data.

kind regards
younes

trademak
Star Contributor
Star Contributor
If you get a 500 on  http://www.itexo.de/activiti/service/model/206/json then there's something wrong with the Modeler REST service
Did you change some configuration? I see you changed the webapp context for example.

Best regards,

younes1
Champ in-the-making
Champ in-the-making
yes, i change db.properties and context path but should work independent from the root context?
kind regards