srikant vege [https://community.jboss.org/people/srikanthvege1] created the 
discussion

"Getting [FATAL] Uncaught 
Exception:com.google.gwt.core.client.JavaScriptException in jbpm console when 
console is trying to display the task for the user krisv."

To view the discussion, visit: https://community.jboss.org/message/726303#726303

--------------------------------------------------------------
I am trying to get a task for the user 'krisv' in the jbpm console by logging 
into the console as krisv/krisv. The task is retrieved correctly from the 
server (as shown by the logging), but during the parsing for display, something 
goes wrong (please find below, the console log). The end result is that the 
task is not displayed. Please help me out on resolving this issue. I am using 
jbpm-gwt-console-5.2.0.Final.war & jbpm-gwt-console-server-5.2.0.Final.war.


*2012-03-26 14:08:56,571 [DEBUG] new subscription: appContext.model.listener -> 
org.jboss.bpm.console.client.task.AssignedTasksView$7@118*
*2012-03-26 14:08:56,573 [DEBUG] New Subscription: appContext.model.listener*
*2012-03-26 14:08:57,364 [DEBUG] GET:  
http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/tasks/krisv
 
http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/tasks/krisv*
*2012-03-26 14:08:57,402 [DEBUG] parse 
{"tasks":[{"id":12,"processInstanceId":"22","processId":"Agency_Default_RFP","assignee":"krisv","isBlocking":false,"isSignalling":false,"outcomes":[],"currentState":"ASSIGNED","participantUsers":[],"participantGroups":[],"url":"
 
http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/form/task/12/render
 
http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/form/task/12/render","priority":0}]}*
*2012-03-26 14:08:57,405 [DEBUG] parse {"id":12, "processInstanceId":"22", 
"processId":"Agency_Default_RFP", "assignee":"krisv", "isBlocking":false, 
"isSignalling":false, "outcomes":[], "currentState":"ASSIGNED", 
"participantUsers":[], "participantGroups":[], "url":" 
http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/form/task/12/render
 
http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/form/task/12/render";,
 "priority":0}*
*2012-03-26 14:08:57,409 [FATAL] Uncaught Exception:*
*com.google.gwt.core.client.JavaScriptException:*
*(TypeError): a is null*
 fileName: 
http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html
 lineNumber: 2574
 stack: 
GPc(null)@http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:2574
Hyc([object  
Object])@http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:1399
Iyc("{\"tasks\":[{\"id\":12,\"processInstanceId\":\"22\",\"processId\":\"Agency_Default_RFP\",\"assignee\":\"krisv\",\"isBlocking\":false,\"isSignalling\":false,\"outcomes\":[],\"currentState\":\"ASSIGNED\",\"participantUsers\":[],\"participantGroups\":[],\"url\":\"http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/form/task/12/render\",\"priority\":0}]}";)@http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:1297
GMc([object Object],"krisv",[object 
Object])@http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:1246
Ewc([object Object],[object 
Object])@http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:3153
nN([object Object],[object 
Object])@http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:2993
VN([object  
XMLHttpRequest])@http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:2174
([object  
Event])@http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:2568
kz((function () {var a;Fad[a = ++Gad] = null;Had[a] = jjd + Vpd, b.Fb(c);Gad = 
a - 1;}),[object XMLHttpRequest],[object 
Object])@http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:3122
([object  
Event])@http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:2428
    at Unknown.dA(JsArrayString.java:42)
    at Unknown.hx(StackTraceCreator.java:366)
    at Unknown.U9(Exceptions.java:29)
    at Unknown.GPc(JSONWalk.java:126)
    at Unknown.Hyc(JSONWalk.java:48)
    at Unknown.Iyc(DTOParser.java:51)
    at Unknown.GMc(LoadTasksAction.java:74)
    at Unknown.Ewc(AbstractRESTAction.java:78)
    at Unknown.nN(Request.java:287)
    at Unknown.VN(RequestBuilder.java:393)
    at Unknown.anonymous(XMLHttpRequest.java:258)
    at Unknown.kz(Impl.java:146)
    at Unknown.anonymous(Impl.java:56)

*Thanks*
*Srikant*
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/726303#726303]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to