You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2008/04/21 13:43:21 UTC

[jira] Created: (SLING-389) NPE in ScriptableNode.getIds

NPE in ScriptableNode.getIds
----------------------------

                 Key: SLING-389
                 URL: https://issues.apache.org/jira/browse/SLING-389
             Project: Sling
          Issue Type: Bug
          Components: Scripting
            Reporter: Bertrand Delacretaz
            Assignee: Bertrand Delacretaz
            Priority: Minor


This ESP code

for (var a in currentNode) {}

Causes 

java.lang.NullPointerException
	at org.apache.sling.scripting.javascript.wrapper.ScriptableNode.getIds(ScriptableNode.java:360)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SLING-389) NPE in ScriptableNode.getIds

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bertrand Delacretaz resolved SLING-389.
---------------------------------------

    Resolution: Fixed

Fixed in revision 650124

> NPE in ScriptableNode.getIds
> ----------------------------
>
>                 Key: SLING-389
>                 URL: https://issues.apache.org/jira/browse/SLING-389
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>
> This ESP code
> for (var a in currentNode) {}
> Causes 
> java.lang.NullPointerException
> 	at org.apache.sling.scripting.javascript.wrapper.ScriptableNode.getIds(ScriptableNode.java:360)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.