You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2019/03/08 03:50:00 UTC
[jira] [Commented] (LOG4J2-2563) NullPointerException in
ScriptManager during factory.getParameter(KEY_THREADING)
[ https://issues.apache.org/jira/browse/LOG4J2-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16787497#comment-16787497 ]
Ralph Goers commented on LOG4J2-2563:
-------------------------------------
Please provide a stack trace. The only way line 83 can get an NPE is if there is a null value in the list of factories, which should never happen, or if somehow getParameter method gets an NPE.
> NullPointerException in ScriptManager during factory.getParameter(KEY_THREADING)
> --------------------------------------------------------------------------------
>
> Key: LOG4J2-2563
> URL: https://issues.apache.org/jira/browse/LOG4J2-2563
> Project: Log4j 2
> Issue Type: Bug
> Components: Core
> Reporter: Naveen
> Priority: Blocker
> Attachments: Screen Shot 2019-03-08 at 3.40.39 AM.png
>
>
> *Its in log4j-core*
> I am facing an issue using log4j2 with lua engines, lua engines does not have KEY_THREADING parameter set, which in turn causes NPE in ScriptManager
>
> *I am blocked on this.*
>
> Please see the image for more clearity,
> *The code in the image is a candidate of NullPointerException*
> *LNO 83*
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)