Menu

#2 ClassCast when trying to connect

v1.0_(example)
open
nobody
None
5
2009-03-16
2009-03-16
schaupp
No

I am using Version 0.3.0 of the NeuLevel RTK (Java) supplied by telnic. When connecting I receive a greeting and then an exception occours:

java.lang.ClassCastException: org.apache.xerces.dom.DeferredTextImpl cannot be cast to org.w3c.dom.Element
at com.neulevel.epp.core.EppServiceMenu.fromXML(EppServiceMenu.java:267)
at com.neulevel.epp.core.EppGreeting.fromXML(EppGreeting.java:251)
at com.neulevel.epp.transport.tcp.EppSessionTcp.connect(EppSessionTcp.java:257)

Here is the greeting, but it looks ok:

<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<greeting>
<svID>NeuLevel EPP Server</svID>
<svDate>2009-03-16T10:00:05.0Z</svDate>
<svcMenu>
<version>1.0</version>
<lang>en-US</lang>
<objURI>urn:ietf:params:xml:ns:svcsub</objURI>
<objURI>urn:ietf:params:xml:ns:xriAU</objURI>
<objURI>urn:ietf:params:xml:ns:xriINU</objURI>
<objURI>urn:ietf:params:xml:ns:xriINA</objURI>
<objURI>urn:ietf:params:xml:ns:xriISV</objURI>
<svcExtension>
<extURI>urn:ietf:params:xml:ns:neulevel</extURI>
</svcExtension>
</svcMenu>
<dcp>
<access>
<all/>
</access>
<statement>
<purpose>
<admin/>
<prov/>
</purpose>
<recipient>
<ours/>
<public/>
</recipient>
<retention>
<stated/>
</retention>
</statement>
</dcp>
</greeting>
</epp>

Discussion


Log in to post a comment.

MongoDB Logo MongoDB