From: Daniel M. <dm...@tu...> - 2001-11-07 19:22:02
|
It looks like the spaces in the XML are causing problems for others. We'll commit the change to strip out unwanted XML spaces to CVS and release a new RTK. Dan Rob Mew wrote: >i'm using the rtk for .biz but when i try the the contact check cmd i get a >null pointer exception even though the cmd was successful. anyone got any >ideas? > >cheers > >rob > >Creating the Contact Check command >com.tucows.oxrs.epp.rtk.EPPClient.processXML(String) {Wed Nov 07 18:09:33 >GMT 2001}[2] : Request XML is [<?xml version="1.0" encoding="UTF-8"?> ><epp xmlns="urn:iana:xml:ns:epp-1.0" >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >xsi:schemaLocation="urn:iana:xml:ns:epp-1.0 >epp-1.0.xsd"><command><check><contact:check >xmlns:contact="urn:iana:xml:ns:contact-1.0" >xsi:schemaLocation="urn:iana:xml:ns:contact-1.0 >contact-1.0.xsd"><contact:id>C78409-LRMS</contact:id></contact:check></check > >><unspec/></command></epp>] >> >com.tucows.oxrs.epp.rtk.EPPClient.processXML(String) {Wed Nov 07 18:09:35 >GMT 2001}[2] : Response XML is [<?xml version="1.0" encoding="UTF-8"?><epp >xmlns="urn:iana:xml:ns:epp-1.0" >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >xsi:schemaLocation="urn:iana:xml:ns:epp-1.0 epp-1.0.xsd"> <response> ><result code="1000"> <msg lang="en-US">Command completed >successfully</msg> <value>SRS Major Code: 2000</value> <value>SRS Minor >Code: 20027</value> <value>--CHECK_COMMAND_COMPLETED_SUCCESSFULLY</value> ></result> <resData> <contact:chkData xmlns="urn:iana:xml:ns:contact-1.0" >xmlns:contact="urn:iana:xml:ns:contact-1.0" >xsi:schemaLocation="urn:iana:xml:ns:contact-1.0 contact-1.0.xsd"> ><contact:cd x="+">C78409-LRMS</contact:cd> </contact:chkData> </resData> ><trID> <clTRID>client trn id not available</clTRID> ><svTRID>1005156575369-SERVER</svTRID> </trID> </response></epp>] >com.tucows.oxrs.epp.rtk.xml.EPPContactCheck.getNode(NodeList,String) {Wed >Nov 07 18:09:35 GMT 2001}[2] : Node's name [#text] >com.tucows.oxrs.epp.rtk.xml.EPPContactCheck.getNode(NodeList,String) {Wed >Nov 07 18:09:35 GMT 2001}[2] : Node's name [result] >com.tucows.oxrs.epp.rtk.xml.EPPContactCheck.getNode(NodeList,String) {Wed >Nov 07 18:09:35 GMT 2001}[2] : Node's name [#text] >com.tucows.oxrs.epp.rtk.xml.EPPContactCheck.getNode(NodeList,String) {Wed >Nov 07 18:09:35 GMT 2001}[2] : Node's name [resData] >com.tucows.oxrs.epp.rtk.xml.EPPContactCheck.getNode(NodeList,String) {Wed >Nov 07 18:09:35 GMT 2001}[2] : Found desired_node node >com.tucows.oxrs.epp.rtk.xml.EPPContactCheck.fromXML() {Wed Nov 07 18:09:35 >GMT 2001}[2] : contact:chkData's node count [3] >Contact Check failed! [java.lang.NullPointerException] [null] >java.lang.NullPointerException > at >com.tucows.oxrs.epp.rtk.xml.EPPContactCheck.fromXML(EPPContactCheck.java:223 >) > at com.netnames.rp.contact.check(contact.java:69) > at com.netnames.rp.contact.main(contact.java:666) > >_______________________________________________ >Epp-rtk-devel mailing list >Epp...@li... >https://lists.sourceforge.net/lists/listinfo/epp-rtk-devel > |