<div dir="ltr"><div><div>Hello,<br><br></div>I am trying to deploy a webapp that uses uberfire workbench on Jetty embedded. The webapp is Kie-workbench. I can see the login screen but when i enter the credentials it shows error.<br><h2>HTTP ERROR 500</h2>
<p>Problem accessing /kie/kie-drools-wb.jsp. Reason:
</p><pre>    Server Error</pre><h3>Caused by:</h3><pre>java.lang.NullPointerException
        at java.util.HashSet.&lt;init&gt;(HashSet.java:116)
        at org.jboss.errai.security.shared.api.identity.UserImpl.&lt;init&gt;(UserImpl.java:79)
        at org.jboss.errai.security.shared.api.identity.UserImpl.&lt;init&gt;(UserImpl.java:68)
        at org.uberfire.ext.security.server.ServletSecurityAuthenticationService.getUser(ServletSecurityAuthenticationService.java:115)
        at org.uberfire.ext.security.server.ServletSecurityAuthenticationService$Proxy$_$$_WeldClientProxy.getUser(Unknown Source)
        at org.jboss.errai.security.server.servlet.UserHostPageFilter.doFilter(UserHostPageFilter.java:70)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
        at org.uberfire.ext.security.server.CacheHeadersFilter.doFilter(CacheHeadersFilter.java:67)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
        at org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:57)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:522)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
        at org.eclipse.jetty.server.Server.handle(Server.java:368)
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
        at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942)
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
        at java.lang.Thread.run(Thread.java:745)
</pre><br><br><br>I can see there is already an integration of User System Management with Tomcat. Is there anything I can do ?. Maybe modify existing integrations to suit jetty or anything?<br><br><br></div>Thanks in Advance.<br clear="all"><div><div><div><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div><b style="font-size:12px;white-space:pre-wrap;color:rgb(0,0,0);font-family:arial">Thanks &amp; Regards,</b><br></div></div><p style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><font color="#000000" face="arial"><span style="font-size:12px;white-space:pre-wrap"><b>____________________________________________________________________</b></span></font></p><div style="font-size:12.8px"><b>Ambarish Pande</b><br></div><p style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:12.8px">Associate Software Engineer</span></p><p style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="background-color:transparent;color:rgb(0,0,0);font-family:arial;font-size:9pt;white-space:pre-wrap">E: ambarish</span><a href="mailto:devendra@datatorrent.com" style="background-color:transparent;font-family:arial;font-size:9pt;white-space:pre-wrap;color:rgb(17,85,204)" target="_blank">@datatorrent.com</a><span style="background-color:transparent;color:rgb(0,0,0);font-family:arial;font-size:9pt;white-space:pre-wrap"> | M:+91-9028293982 </span></p><p style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt"><a href="http://www.datatorrent.com/" style="background-color:transparent;font-family:arial;font-size:9pt;white-space:pre-wrap;color:rgb(17,85,204)" target="_blank">www.datatorrent.com</a><span style="background-color:transparent;color:rgb(0,0,0);font-family:arial;font-size:9pt;white-space:pre-wrap">  |  </span><a href="http://apex.apache.org/" style="background-color:transparent;font-family:arial;font-size:9pt;white-space:pre-wrap;color:rgb(17,85,204)" target="_blank">apex.apache.org</a><span style="background-color:transparent;color:rgb(0,0,0);font-family:arial;font-size:9pt;white-space:pre-wrap"> </span></p><span style="background-color:transparent;font-size:11pt;font-family:arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"><img src="https://lh3.googleusercontent.com/qHXki_n5ZdS4p1CiFwf_FWm8HPb31ezA08EjY65efb5qek0dzcRLvBds_s47RnUt59gEynb1uwt09qOhI4c_NfIZdxyZAqB99BAsc6qHu3uwTGj6Mfwvg1xGi2Fi4kd35TMukwIk" style="border:none" height="50" width="238"></span><br></div></div></div></div></div></div>
</div></div></div></div>