New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A NullPointerException is often throw during logout for some users #938

Closed
syntrydy opened this Issue Nov 12, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@syntrydy
Contributor

syntrydy commented Nov 12, 2018

Here is a partial log file:

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]

When need to wrap the method getLocaleCode from class org.xdi.oxauth.i18n.LanguageBean with a try catch block.

Note that the root cause of that issue is still unknown.

@syntrydy syntrydy added this to the 3.1.5 milestone Nov 12, 2018

@syntrydy syntrydy changed the title from A NullPointerException is often throw at logout time to A NullPointerException is often throw during logout for some users Nov 12, 2018

@syntrydy syntrydy added the bug label Nov 14, 2018

@natt-tester natt-tester modified the milestones: 3.1.5, 3.1.4 Nov 15, 2018

@syntrydy syntrydy self-assigned this Nov 18, 2018

syntrydy added a commit that referenced this issue Nov 18, 2018

Merge pull request #945 from /issues/938
A NullPointerException is often throw during logout for some users #938

@syntrydy syntrydy closed this Nov 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment