sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Sanso (JIRA)" <>
Subject [jira] [Created] (SLING-2518) Exception thrown from jcrPropertyMap.containsKey("")
Date Sun, 24 Jun 2012 15:05:42 GMT
Antonio Sanso created SLING-2518:

             Summary: Exception thrown from jcrPropertyMap.containsKey("")
                 Key: SLING-2518
             Project: Sling
          Issue Type: Bug
          Components: JCR
    Affects Versions: JCR Resource 2.1.0
            Reporter: Antonio Sanso

There is a little regression updating from version 2.0.10 to
version  2.1  

The same call to the JcrPropertyMap#containsKey that used to work in the former version fails
in the latest with stacktrace

java.lang.IllegalArgumentException: javax.jcr.RepositoryException: failed to resolve path
 relative to node /test1340468918488
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

if containsKey  empty string argument e.g. jcrPropertyMap.containsKey(""). 
Up to version 2.0.10 jcrPropertyMap.containsKey("") returned false.

See also [0]


This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message