Hello,

Maybe I found a bug in dom4j 1.3:

I am getting a NullPointer. This happened just one time (at least I 
noticed it just one time).

Here is the StackTrace:

java.lang.NullPointerException
    at org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207)
    at org.dom4j.tree.AbstractNode.selectNodes(AbstractNode.java:163)


I call the method with a static final initialized Variable, which is 
definedly not null. It works almost all the time and I can not reproduce it.


The method in question looks like this in
* @version $Revision: 1.23 $
:


     public XPath createXPath(String xpathExpression) {
         return getDocumentFactory().createXPath(xpathExpression);
     }

So, it seems to me that getDocumentFactory() returns null.


Best regards,
     Sven Behrens.


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to