Skip to content
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
Closed

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

syntrydy opened this issue Nov 12, 2018 · 0 comments
Assignees
Labels
bug bug in code
Milestone

Comments

@syntrydy
Copy link
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 A NullPointerException is often throw at logout time A NullPointerException is often throw during logout for some users Nov 12, 2018
@syntrydy syntrydy added the bug bug in code 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
A NullPointerException is often throw during logout for some users #938
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bug in code
Projects
None yet
Development

No branches or pull requests

2 participants