[jdom-interest] XPath Problem
Stephen Gorton
stephen.gorton1 at ntlworld.com
Wed Sep 21 15:27:17 PDT 2005
Hi people,
Im having a real problem with my application and trying to get it to run
outside netbeans.
Basically, its an RMI server that attempts to use the XPath functions of
JDOM. The code is:
targetNodes = XPath.selectNodes(doc.getRootElement(), p.getTargetNode());
and the stack trace error I get is
org.jdom.xpath.JaxenXPath.setXPath(JaxenXPath.java:285)
org.jdom.xpath.JaxenXPath.<init>(JaxenXPath.java:99)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
java.lang.reflect.Constructor.newInstance(Unknown Source)
org.jdom.xpath.XPath.newInstance(XPath.java:129)
org.jdom.xpath.XPath.selectNodes(XPath.java:337)
server.PolicyProcessor.addElements(PolicyProcessor.java:54)
server.ServerLinkLocalImpl.getTargetDocument(ServerLinkLocalImpl.java:137)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
sun.rmi.transport.Transport$1.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
sun.rmi.transport.Transport.serviceCall(Unknown Source)
sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown
Source)
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Source)
java.lang.Thread.run(Unknown Source)
Can anyone help me on this one? Thanks in advance.
Stephen
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.3/107 - Release Date: 20/09/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.3/107 - Release Date: 20/09/2005
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.jdom.org/pipermail/jdom-interest/attachments/20050921/05f3fa61/attachment.htm
More information about the jdom-interest
mailing list