You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Claude Brisson (JIRA)" <ji...@apache.org> on 2018/10/14 08:51:00 UTC

[jira] [Resolved] (VELOCITY-852) NPE at org.apache.velocity.runtime.parser.node.SimpleNode.jjtGetChild(SimpleNode.java:183)

     [ https://issues.apache.org/jira/browse/VELOCITY-852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claude Brisson resolved VELOCITY-852.
-------------------------------------
       Resolution: Cannot Reproduce
         Assignee: Claude Brisson
    Fix Version/s: 1.7.x

The only way this NPE can happen is if the "children" member field of the ASTDirective node is null. I've never heard of such a condition, something seems very wrong.

Parsing your files with Velocity Engine 1.7 doesn't give me any NPE.

Since this bug is 4 years old, I'm closing it. Feel free to reopen and add materials to help us reproduce it.

> NPE at org.apache.velocity.runtime.parser.node.SimpleNode.jjtGetChild(SimpleNode.java:183)
> ------------------------------------------------------------------------------------------
>
>                 Key: VELOCITY-852
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-852
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.7
>            Reporter: Francis ANDRE
>            Assignee: Claude Brisson
>            Priority: Critical
>             Fix For: 1.7.x
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org