Hi All,

I am using piriti for xml to java mapping for my project. I mapped my xml to
java and it was working fine.
Suddenly i run my application and i got this exception

name.pehl.totoe.client.XPathException: (Error): TypeError: Object #<an
Element> has no method 'selectSingleNode'
 stack: Error: TypeError: Object #<an Element> has no method
'selectSingleNode'
    at [object Object].<anonymous> (unknown source)
    at __gwt_jsInvoke (http://127.0.0.1:8888/ctshub/hosted.html?ctshub:76:35
)
    at eval at <anonymous> (
http://127.0.0.1:8888/ctshub/hosted.html?ctshub:54:12)
    at XMLHttpRequest.<anonymous> (unknown source)
    at unknown source
    at __gwt_jsInvoke (http://127.0.0.1:8888/ctshub/hosted.html?ctshub:76:35
)
    at eval at <anonymous> (
http://127.0.0.1:8888/ctshub/hosted.html?ctshub:54:12)
    at XMLHttpRequest.onreadystatechange (unknown source)
 __gwt_ObjectId: 1800
    at
name.pehl.totoe.client.internal.NodeImpl.selectNode(NodeImpl.java:234)
    at
name.pehl.totoe.client.internal.NodeImpl.selectValue(NodeImpl.java:302)
    at
com.ctshub.bus.client.ticketgoose.Station_StationReaderImpl.readFields(Station_StationReaderImpl.java:86)
    at
com.ctshub.bus.client.ticketgoose.Station_StationReaderImpl.internalReadList(Station_StationReaderImpl.java:66)
    at
com.ctshub.bus.client.ticketgoose.Station_StationReaderImpl.readList(Station_StationReaderImpl.java:30)
    at
com.ctshub.bus.client.ticketgoose.TicketgooseStaticWsCall$StationDetailsCallback.onResponseReceived(TicketgooseStaticWsCall.java:73)
    at
com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
    at
com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at the line List<Station> listOfStations = Station.XML.readList(doc);
where Station is my class. doc is the document object got after parsing.

Any suggestion pls...

Thanks
Deepak

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to