By: Josh Newlin user 12 Nov 2018 at 12:57 p.m. CST

15 Responses
Josh Newlin gravatar
Hey guys, On Friday, it seems that our production gluu server ran into a NullPointerException once and carried on afterwards. I have reason to believe this blocked users from logging in or was caused by them attempting to log in. Any insight to this would be helpful. This is the first and only time I've seen this issue. Long output below: ``` 2018-11-08 15:30:14,158 ERROR [qtp2008017533-13] [org.xdi.oxauth.exception.GlobalExceptionHandler] (GlobalExceptionHandler.java:45) - //opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-5645578832412827272.dir/webapp/logout.xhtml @8,103 locale="#{language.localeCode}" //opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-5645578832412827272.dir/webapp/logout.xhtml @8,103 locale="#{language.localeCode}": Error reading 'localeCode' on type org.xdi.oxauth.i18n.LanguageBean javax.faces.view.facelets.TagAttributeException: //opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-5645578832412827272.dir/webapp/logout.xhtml @8,103 locale="#{language.localeCode}" //opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-5645578832412827272.dir/webapp/logout.xhtml @8,103 locale="#{language.localeCode}": Error reading 'localeCode' on type org.xdi.oxauth.i18n.LanguageBean at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:358) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:276) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:211) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:161) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.application.view.ViewMetadataImpl.createMetadataView(ViewMetadataImpl.java:140) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:243) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:123) [jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) [jsf-impl-2.2.14.jar:2.2.14] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:658) [jsf-api-2.2.14.jar:2.2] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:226) [rewrite-servlet-3.4.1.Final.jar:3.4.1.Final] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566) [jetty-security-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:199) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:74) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.ocpsoft.rewrite.servlet.impl.HttpRewriteResultHandler.handleResult(HttpRewriteResultHandler.java:42) [rewrite-servlet-3.4.1.Final.jar:3.4.1.Final] at org.ocpsoft.rewrite.servlet.RewriteFilter.rewrite(RewriteFilter.java:297) [rewrite-servlet-3.4.1.Final.jar:3.4.1.Final] at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:198) [rewrite-servlet-3.4.1.Final.jar:3.4.1.Final] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.xdi.oxauth.audit.debug.ServletLoggingFilter.doFilter(ServletLoggingFilter.java:55) [classes/:?] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1751) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [jetty-security-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.Server.handle(Server.java:534) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [jetty-io-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110) [jetty-io-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.15.v20161220.jar:9.3.15.v20161220] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112] Caused by: javax.el.ELException: //opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-5645578832412827272.dir/webapp/logout.xhtml @8,103 locale="#{language.localeCode}": Error reading 'localeCode' on type org.xdi.oxauth.i18n.LanguageBean at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:114) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:356) ~[jsf-impl-2.2.14.jar:2.2.14] ... 57 more Caused by: javax.el.ELException: Error reading 'localeCode' on type org.xdi.oxauth.i18n.LanguageBean at javax.el.BeanELResolver.getValue(BeanELResolver.java:101) ~[org.mortbay.jasper.apache-el-8.0.33.jar:8.0.33] at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203) ~[jsf-impl-2.2.14.jar:2.2.14] at org.apache.el.parser.AstValue.getValue(AstValue.java:169) ~[org.mortbay.jasper.apache-el-8.0.33.jar:8.0.33] at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184) ~[org.mortbay.jasper.apache-el-8.0.33.jar:8.0.33] at org.jboss.weld.module.web.el.WeldValueExpression.getValue(WeldValueExpression.java:50) ~[weld-web-3.0.0.Final.jar:3.0.0.Final] at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:356) ~[jsf-impl-2.2.14.jar:2.2.14] ... 57 more Caused by: java.lang.NullPointerException ``` Thanks for the help! Again, I would appreciate any feedback on this, it seems like it's out of my control, but if there's something I could do to prevent this in the future, I'd love to hear it! Josh N.

By Michael Schwartz Account Admin 12 Nov 2018 at 1:08 p.m. CST

Michael Schwartz gravatar
It seems this NPE should be caught. Maybe the user's browser was missing the language indicator for some reason?

By Thomas Gasmyr Mougang staff 12 Nov 2018 at 1:33 p.m. CST

Thomas Gasmyr Mougang gravatar
Hey Josh, Can you provide below log files: - **/opt/gluu/jetty/oxauth/oxauth.log** - **/opt/gluu/jetty/identity/oxtrust.log** A question: That happen for one user only or for all users?

By Josh Newlin user 12 Nov 2018 at 1:48 p.m. CST

Josh Newlin gravatar
Hey Thomas, The above entry is from oxauth.log. The log file itself is quite long, and neither entries above or below the one above are related to this error. Also, I've looked at the identity log file, oxtrust, and it's even longer than oxauth.log (by a long shot). There are no error lines in the oxtrust.log for that day, and nothing out of the ordinary around that time span. If you would like me to provide something, I can, however it contains a lot of usernames (some containing email). The intermittent connection timeout issues appeared to have occurred for only one user, but I can't confirm that other users weren't impacted. The only line in either log file relevant to the issue above is the line I included. Nothing else that I've found gives any more information. Sorry for the lack of info, but nothing else appears to be relevant, and I'm not sure what to share if the log file is tens of thousands of lines long and there's usernames (emails included) in much of the logs.

By Michael Schwartz Account Admin 12 Nov 2018 at 1:59 p.m. CST

Michael Schwartz gravatar
I wonder if there is anyway to update `logout.xhtml` to check if the value is null?

By Thomas Gasmyr Mougang staff 12 Nov 2018 at 2:14 p.m. CST

Thomas Gasmyr Mougang gravatar
> I wonder if there is anyway to update logout.xhtml to check if the value is null? The NullPointerException is throw on the java side. The log provide is not complete to determine at which line the exception is thrown. @Josh can you provide few lines after this one. ``` ... 57 more Caused by: java.lang.NullPointerException ``` We are suppose to have more information after **Caused by: java.lang.NullPointerException**.

By Josh Newlin user 12 Nov 2018 at 2:22 p.m. CST

Josh Newlin gravatar
Unfortunately, Thomas, that is exactly where that log's line ends. The next line continues on as normal with authentication successes. As I said earlier, that is all that is in the log file about that issue. I have included the above log with +/- 5 log lines before and after, just so you can see what I'm talking about. ``` 2018-11-08 15:23:42,479 INFO [qtp2008017533-17] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:217) - Authentication success for Client: '@!2547.A43F.FBA0.9BCA!0001!5D87.F0CE!0008!76CD.CA40.BDF5.B5C4' 2018-11-08 15:23:43,077 INFO [qtp2008017533-12] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:217) - Authentication success for Client: '@!2547.A43F.FBA0.9BCA!0001!5D87.F0CE!0008!76CD.CA40.BDF5.B5C4' 2018-11-08 15:23:43,851 INFO [qtp2008017533-16] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:217) - Authentication success for Client: '@!2547.A43F.FBA0.9BCA!0001!5D87.F0CE!0008!76CD.CA40.BDF5.B5C4' 2018-11-08 15:30:14,158 ERROR [qtp2008017533-13] [org.xdi.oxauth.exception.GlobalExceptionHandler] (GlobalExceptionHandler.java:45) - //opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-5645578832412827272.dir/webapp/logout.xhtml @8,103 locale="#{language.localeCode}" //opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-5645578832412827272.dir/webapp/logout.xhtml @8,103 locale="#{language.localeCode}": Error reading 'localeCode' on type org.xdi.oxauth.i18n.LanguageBean javax.faces.view.facelets.TagAttributeException: //opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-5645578832412827272.dir/webapp/logout.xhtml @8,103 locale="#{language.localeCode}" //opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-5645578832412827272.dir/webapp/logout.xhtml @8,103 locale="#{language.localeCode}": Error reading 'localeCode' on type org.xdi.oxauth.i18n.LanguageBean at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:358) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:276) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:211) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:161) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.application.view.ViewMetadataImpl.createMetadataView(ViewMetadataImpl.java:140) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:243) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:123) [jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) [jsf-impl-2.2.14.jar:2.2.14] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:658) [jsf-api-2.2.14.jar:2.2] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:226) [rewrite-servlet-3.4.1.Final.jar:3.4.1.Final] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:566) [jetty-security-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:199) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:74) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.ocpsoft.rewrite.servlet.impl.HttpRewriteResultHandler.handleResult(HttpRewriteResultHandler.java:42) [rewrite-servlet-3.4.1.Final.jar:3.4.1.Final] at org.ocpsoft.rewrite.servlet.RewriteFilter.rewrite(RewriteFilter.java:297) [rewrite-servlet-3.4.1.Final.jar:3.4.1.Final] at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:198) [rewrite-servlet-3.4.1.Final.jar:3.4.1.Final] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.xdi.oxauth.audit.debug.ServletLoggingFilter.doFilter(ServletLoggingFilter.java:55) [classes/:?] at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1751) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [jetty-security-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) [jetty-servlet-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.Server.handle(Server.java:534) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [jetty-server-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [jetty-io-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110) [jetty-io-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.15.v20161220.jar:9.3.15.v20161220] at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.15.v20161220.jar:9.3.15.v20161220] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112] Caused by: javax.el.ELException: //opt/jetty-9.3/temp/jetty-localhost-8081-oxauth.war-_oxauth-any-5645578832412827272.dir/webapp/logout.xhtml @8,103 locale="#{language.localeCode}": Error reading 'localeCode' on type org.xdi.oxauth.i18n.LanguageBean at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:114) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:356) ~[jsf-impl-2.2.14.jar:2.2.14] ... 57 more Caused by: javax.el.ELException: Error reading 'localeCode' on type org.xdi.oxauth.i18n.LanguageBean at javax.el.BeanELResolver.getValue(BeanELResolver.java:101) ~[org.mortbay.jasper.apache-el-8.0.33.jar:8.0.33] at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203) ~[jsf-impl-2.2.14.jar:2.2.14] at org.apache.el.parser.AstValue.getValue(AstValue.java:169) ~[org.mortbay.jasper.apache-el-8.0.33.jar:8.0.33] at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184) ~[org.mortbay.jasper.apache-el-8.0.33.jar:8.0.33] at org.jboss.weld.module.web.el.WeldValueExpression.getValue(WeldValueExpression.java:50) ~[weld-web-3.0.0.Final.jar:3.0.0.Final] at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109) ~[jsf-impl-2.2.14.jar:2.2.14] at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:356) ~[jsf-impl-2.2.14.jar:2.2.14] ... 57 more Caused by: java.lang.NullPointerException 2018-11-08 15:30:34,531 INFO [qtp2008017533-13] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:217) - Authentication success for Client: '@!2547.A43F.FBA0.9BCA!0001!5D87.F0CE!0008!B940.A5AE.63B1.4FBD' 2018-11-08 15:30:41,625 INFO [qtp2008017533-12] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:217) - Authentication success for Client: '@!2547.A43F.FBA0.9BCA!0001!5D87.F0CE!0008!C53E.A80D' 2018-11-08 15:30:41,685 INFO [qtp2008017533-13] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:217) - Authentication success for Client: '@!2547.A43F.FBA0.9BCA!0001!5D87.F0CE!0008!76CD.CA40.BDF5.B5C4' 2018-11-08 15:30:42,666 INFO [qtp2008017533-12] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:217) - Authentication success for Client: '@!2547.A43F.FBA0.9BCA!0001!5D87.F0CE!0008!76CD.CA40.BDF5.B5C4' 2018-11-08 15:30:43,349 INFO [qtp2008017533-12] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:217) - Authentication success for Client: '@!2547.A43F.FBA0.9BCA!0001!5D87.F0CE!0008!76CD.CA40.BDF5.B5C4' 2018-11-08 15:30:47,574 INFO [qtp2008017533-15] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:217) - Authentication success for Client: '@!2547.A43F.FBA0.9BCA!0001!5D87.F0CE!0008!76CD.CA40.BDF5.B5C4' 2018-11-08 15:32:01,289 INFO [qtp2008017533-15] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:217) - Authentication success for Client: '@!2547.A43F.FBA0.9BCA!0001!5D87.F0CE!0008!76CD.CA40.BDF5.B5C4' ```

By Thomas Gasmyr Mougang staff 12 Nov 2018 at 2:32 p.m. CST

Thomas Gasmyr Mougang gravatar
From my investigation, this problem occurs for certain users, if you can identified for which user this happen then we would be able to fix it with ease. May be by looking at the log file you can identified that user and collect the following information. 1. Which devices the user was using(PC,Smartphones) 2. Which browser/version was use 3. All information that can help replicate the issue.

By Josh Newlin user 12 Nov 2018 at 2:34 p.m. CST

Josh Newlin gravatar
We do have a specific user that this impacted, and we will attempt to collect this information from them. Thanks for all the quick responses!! I'll follow up if we're able to get this info from the user in question.

By Michael Schwartz Account Admin 12 Nov 2018 at 2:47 p.m. CST

Michael Schwartz gravatar
Why it happened is sort of interesting. But personally, I think we should just make sure we don't hit the NPE if possible...

By Josh Newlin user 14 Nov 2018 at 8:25 a.m. CST

Josh Newlin gravatar
Here's the information we received back from the user. Doesn't seem too helpful, sadly. > Device – PC (Laptop) > > Browser – Google Chrome (Version 70.0.3538.102 (Official Build) (64-bit)) > > Steps to repeat – generally when attempting to open a work order (clicking the open button) or when attempting to close a work order (clicking the close button)

By Thomas Gasmyr Mougang staff 14 Nov 2018 at 4:36 p.m. CST

Thomas Gasmyr Mougang gravatar
Hi Josh, Not helpful but seems to be a good starting point. We are going to see what we can get out that information. Meanwhile, we just create an [issue](https://github.com/GluuFederation/oxAuth/issues/938) to at least fix the **NullPointerException**. If by any chance you get more information please post them here. Thanks.

By Thomas Gasmyr Mougang staff 18 Nov 2018 at 6:13 a.m. CST

Thomas Gasmyr Mougang gravatar
> Steps to repeat – generally when attempting to open a work order (clicking the open button) or when attempting to close a work order (clicking the close button) What do you mean by this?

By Josh Newlin user 19 Nov 2018 at 8:29 a.m. CST

Josh Newlin gravatar
@Thomas Gasmyr.Mougang, that is in reference to the application which uses the IAM we've implemented. I'm not too sure about what that means exactly, but I assume that when the user does those actions, the application is attempting to fetch information from the IAM service.

By Josh Newlin user 19 Nov 2018 at 3:07 p.m. CST

Josh Newlin gravatar
Hey, I see the ticket in github was closed, and I was just wondering if this fix is available, when and how could I enable our gluu installations to use the new codebase? Will it be included in the next Gluu release (3.1.5)?

By Thomas Gasmyr Mougang staff 20 Nov 2018 at 3:05 a.m. CST

Thomas Gasmyr Mougang gravatar
> Will it be included in the next Gluu release (3.1.5)? The fix will be in 3.1.5