Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
12230
Description
Nightly build: commons-jxpath-20020902
SAMPLE XML:
<nill>
<test>Blah</test>
</nill>
SAMPLE CODE:
jxpathContext.createPathAndSetValue("nill/test/@a", "blah");
SYMPTOMS:
Throws a JXPathException in JXPathContextReferenceImpl (line 354, where
comment says "This should never happen")
DEBUG INFO:
line 341: "Object result = expr.computeValue(getRootContext());"
"result" is null instead of a NullPointer (or whatever it should be)