-
Bug
-
Resolution: Done
-
Major
-
2.6.0.Final
-
None
So if I call getNodeByIdentifier("aaaa") this is the exception stack trace:
17:12:22,020 ERROR [STDERR] org.modeshape.graph.property.InvalidPathException: The path {}aaaa is not an absolute path 17:12:22,022 ERROR [STDERR] at org.modeshape.graph.property.basic.AbstractPath.relativeTo(AbstractPath.java:480) 17:12:22,022 ERROR [STDERR] at org.modeshape.graph.session.GraphSession.findNodeWith(GraphSession.java:398) 17:12:22,022 ERROR [STDERR] at org.modeshape.graph.session.GraphSession.findNodeWith(GraphSession.java:381) 17:12:22,022 ERROR [STDERR] at org.modeshape.jcr.SessionCache.findNode(SessionCache.java:532) 17:12:22,022 ERROR [STDERR] at org.modeshape.jcr.SessionCache.findJcrNode(SessionCache.java:643) 17:12:22,022 ERROR [STDERR] at org.modeshape.jcr.JcrSession.getNode(JcrSession.java:838) 17:12:22,022 ERROR [STDERR] at org.modeshape.jcr.JcrSession.getNodeByIdentifier(JcrSession.java:872) 17:12:22,022 ERROR [STDERR] at org.modeshape.jcr.JcrSession.getNodeByIdentifier(JcrSession.java:96)
This exception should be wrapped in a RepositoryException.