<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    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.
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/srikanthvege1">srikant vege</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/726303#726303">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p class="Gtuw1jkN" style="color: #336633;" title="2012-03-26 14:08:56,572 [DEBUG] new subscription: appContext.model.listener -&gt; org.jboss.bpm.console.client.task.AssignedTasksView$7@118 / "><span style="color: #000000;">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 </span>jbpm-gwt-console-5.2.0.Final.war &amp; jbpm-gwt-console-server-5.2.0.Final.war.</p><p class="Gtuw1jkN" style="min-height: 8pt; height: 8pt; padding: 0px;" title="2012-03-26 14:08:56,572 [DEBUG] new subscription: appContext.model.listener -&gt; org.jboss.bpm.console.client.task.AssignedTasksView$7@118 / ">&#160;</p><p class="Gtuw1jkN" style="min-height: 8pt; height: 8pt; padding: 0px;" title="2012-03-26 14:08:56,572 [DEBUG] new subscription: appContext.model.listener -&gt; org.jboss.bpm.console.client.task.AssignedTasksView$7@118 / ">&#160;</p><p class="Gtuw1jkN" style="color: #336633;" title="2012-03-26 14:08:56,572 [DEBUG] new subscription: appContext.model.listener -&gt; org.jboss.bpm.console.client.task.AssignedTasksView$7@118 / "><strong style="color: #ff0000;">2012-03-26 14:08:56,571 [DEBUG] new subscription: appContext.model.listener -&gt; org.jboss.bpm.console.client.task.AssignedTasksView$7@118</strong></p><p class="Gtuw1jkN" style="color: #336633;" title="2012-03-26 14:08:56,573 [DEBUG] New Subscription: appContext.model.listener / "><strong style="color: #ff0000;">2012-03-26 14:08:56,573 [DEBUG] New Subscription: appContext.model.listener</strong></p><p class="Gtuw1jkN" style="color: #336633;" title="2012-03-26 14:08:57,366 [DEBUG] GET: http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/tasks/krisv / "><strong style="color: #ff0000;"><span>2012-03-26 14:08:57,364 [DEBUG] GET: </span><a class="jive-link-external-small" href="http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/tasks/krisv" target="_blank">http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/tasks/krisv</a></strong></p><p class="Gtuw1jkN" style="color: #336633;" title="2012-03-26 14:08:57,403 [DEBUG] parse {&amp;quot;tasks&amp;quot;:[{&amp;quot;id&amp;quot;:12,&amp;quot;processInstanceId&amp;quot;:&amp;quot;22&amp;quot;,&amp;quot;processId&amp;quot;:&amp;quot;Agency_Default_RFP&amp;quot;,&amp;quot;assignee&amp;quot;:&amp;quot;krisv&amp;quot;,&amp;quot;isBlocking&amp;quot;:false,&amp;quot;isSignalling&amp;quot;:false,&amp;quot;outcomes&amp;quot;:[],&amp;quot;currentState&amp;quot;:&amp;quot;ASSIGNED&amp;quot;,&amp;quot;participantUsers&amp;quot;:[],&amp;quot;participantGroups&amp;quot;:[],&amp;quot;url&amp;quot;:&amp;quot;http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/form/task/12/render&amp;quot;,&amp;quot;priority&amp;quot;:0}]} / "><strong style="color: #ff0000;"><span>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":"</span><a class="jive-link-external-small" href="http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/form/task/12/render" target="_blank">http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/form/task/12/render</a><span>","priority":0}]}</span></strong></p><p class="Gtuw1jkN" style="color: #336633;" title="2012-03-26 14:08:57,405 [DEBUG] parse {&amp;quot;id&amp;quot;:12, &amp;quot;processInstanceId&amp;quot;:&amp;quot;22&amp;quot;, &amp;quot;processId&amp;quot;:&amp;quot;Agency_Default_RFP&amp;quot;, &amp;quot;assignee&amp;quot;:&amp;quot;krisv&amp;quot;, &amp;quot;isBlocking&amp;quot;:false, &amp;quot;isSignalling&amp;quot;:false, &amp;quot;outcomes&amp;quot;:[], &amp;quot;currentState&amp;quot;:&amp;quot;ASSIGNED&amp;quot;, &amp;quot;participantUsers&amp;quot;:[], &amp;quot;participantGroups&amp;quot;:[], &amp;quot;url&amp;quot;:&amp;quot;http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/form/task/12/render&amp;quot;, &amp;quot;priority&amp;quot;:0} / "><strong style="color: #ff0000;"><span>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":"</span><a class="jive-link-external-small" href="http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/form/task/12/render" target="_blank">http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/form/task/12/render</a><span>", "priority":0}</span></strong></p><p><strong style="color: #ff0000;">2012-03-26 14:08:57,409 [FATAL] Uncaught Exception:</strong></p><p><strong style="color: #ff0000;">com.google.gwt.core.client.JavaScriptException:</strong></p><p><strong style="color: #ff0000;">(TypeError): a is null</strong><br/><span style="color: #ff0000;"><span> fileName: </span><a class="jive-link-external-small" href="http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html" target="_blank">http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html</a></span><br/><span style="color: #ff0000;"> lineNumber: 2574</span><br/><span style="color: #ff0000;"><span> stack: GPc(null)@</span><a class="jive-link-external-small" href="http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:2574" target="_blank">http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:2574</a></span><br/><span style="color: #ff0000;"><span>Hyc([object&#160; Object])@</span><a class="jive-link-external-small" href="http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:1399" target="_blank">http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:1399</a></span><br/><span style="color: #ff0000;"><span>Iyc("{\"tasks\":[{\"id\":12,\"processInstanceId\":\"22\",\"processId\":\"Agency_Default_RFP\",\"assignee\":\"krisv\",\"isBlocking\":false,\"isSignalling\":false,\"outcomes\":[],\"currentState\":\"ASSIGNED\",\"participantUsers\":[],\"participantGroups\":[],\"url\":\"</span><a class="jive-link-external-small" href="http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/form/task/12/render" target="_blank">http://ideskos-integration-17.eu.rtdom.net:8080/gwt-console-server/rs/form/task/12/render</a><span>\",\"priority\":0}]}")@</span><a class="jive-link-external-small" href="http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:1297" target="_blank">http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:1297</a></span><br/><span style="color: #ff0000;"><span>GMc([object Object],"krisv",[object Object])@</span><a class="jive-link-external-small" href="http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:1246" target="_blank">http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:1246</a></span><br/><span style="color: #ff0000;"><span>Ewc([object Object],[object Object])@</span><a class="jive-link-external-small" href="http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:3153" target="_blank">http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:3153</a></span><br/><span style="color: #ff0000;"><span>nN([object Object],[object Object])@</span><a class="jive-link-external-small" href="http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:2993" target="_blank">http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:2993</a></span><br/><span style="color: #ff0000;"><span>VN([object&#160; XMLHttpRequest])@</span><a class="jive-link-external-small" href="http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:2174" target="_blank">http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:2174</a></span><br/><span style="color: #ff0000;"><span>([object&#160; Event])@</span><a class="jive-link-external-small" href="http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:2568" target="_blank">http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:2568</a></span><br/><span style="color: #ff0000;"><span>kz((function () {var a;Fad[a = ++Gad] = null;Had[a] = jjd + Vpd, b.Fb(c);Gad = a - 1;}),[object XMLHttpRequest],[object Object])@</span><a class="jive-link-external-small" href="http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:3122" target="_blank">http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:3122</a></span><br/><span style="color: #ff0000;"><span>([object&#160; Event])@</span><a class="jive-link-external-small" href="http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:2428" target="_blank">http://ideskos-integration-17.eu.rtdom.net:8080/jbpm-console/app/0BEF49B70EC904EB6ABBAF2FF8671067.cache.html:2428</a></span><br/><span style="color: #ff0000;">&#160;&#160;&#160; at Unknown.dA(JsArrayString.java:42)</span></p><p><span style="color: #ff0000;">&#160;&#160;&#160; at Unknown.hx(StackTraceCreator.java:366)</span></p><p><span style="color: #ff0000;">&#160;&#160;&#160; at Unknown.U9(Exceptions.java:29)</span></p><p><span style="color: #ff0000;">&#160;&#160;&#160; at Unknown.GPc(JSONWalk.java:126)</span></p><p><span style="color: #ff0000;">&#160;&#160;&#160; at Unknown.Hyc(JSONWalk.java:48)</span></p><p><span style="color: #ff0000;">&#160;&#160;&#160; at Unknown.Iyc(DTOParser.java:51)</span></p><p><span style="color: #ff0000;">&#160;&#160;&#160; at Unknown.GMc(LoadTasksAction.java:74)</span></p><p><span style="color: #ff0000;">&#160;&#160;&#160; at Unknown.Ewc(AbstractRESTAction.java:78)</span></p><p><span style="color: #ff0000;">&#160;&#160;&#160; at Unknown.nN(Request.java:287)</span></p><p><span style="color: #ff0000;">&#160;&#160;&#160; at Unknown.VN(RequestBuilder.java:393)</span></p><p><span style="color: #ff0000;">&#160;&#160;&#160; at Unknown.anonymous(XMLHttpRequest.java:258)</span></p><p><span style="color: #ff0000;">&#160;&#160;&#160; at Unknown.kz(Impl.java:146)</span></p><p><span style="color: #ff0000;">&#160;&#160;&#160; at Unknown.anonymous(Impl.java:56)</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="color: #000000;"><strong>Thanks</strong></span></p><p><span style="color: #ff0000;"><span style="color: #000000;"><strong>Srikant</strong></span><br/></span></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/726303#726303">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>