Hi Harald, I am using 0.4 version. Browser is IE7 and chrome, tested on both It happened in development and production bothe modes.
Regards Deepak On Thu, Aug 19, 2010 at 2:46 PM, Harald Pehl <harald.p...@googlemail.com>wrote: > Could you please provide more information: > - Which version of Piriti are you using? > - Which browser are you using? > - Does the error occur in development and/or production mode? > > Harald > > On 18 Aug., 22:03, Deepak Singh <deepaksingh...@gmail.com> wrote: > > 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(Stat > ion_StationReaderImpl.java:86) > > at > > > com.ctshub.bus.client.ticketgoose.Station_StationReaderImpl.internalReadLis > t(Station_StationReaderImpl.java:66) > > at > > > com.ctshub.bus.client.ticketgoose.Station_StationReaderImpl.readList(Statio > n_StationReaderImpl.java:30) > > at > > > com.ctshub.bus.client.ticketgoose.TicketgooseStaticWsCall$StationDetailsCal > lback.onResponseReceived(TicketgooseStaticWsCall.java:73) > > at > > > com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287) > > at > > > com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuild > er.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<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- 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.