Keith,

I just tried unmarshalling a document consisting of a single <router> tag instead of 
an entire document.  I've restructured my test suite to start at this very primitive 
level and then work up to more complex documents and mappings.  Anyways, the error 
message in this case is a little different.

1) 
testRouter(com.avaya.cirs.model.path.test.TestElementMapping)org.xml.sax.SAXException: 
unable to find FieldDescriptor for 'ingress' in ClassDescriptor of router
        at 
org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1230)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown 
Source)
        
However, since it has to do with the child <ingress> tag I'm assuming its related to 
what's below.  

Thanks,
Tim


-----Original Message-----
From: Keith Visco [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 12:51 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Problem unmarshalling document with namespace




"Bardzil, Timothy J (Timothy)" wrote:
> 
> Keith,
> 
> I think the patch worked.  I'm no longer getting the original exception:
> 
> org.xml.sax.SAXException: unable to find FieldDescriptor for 'agent' in 
> ClassDescriptor of path
> 
> So that part of the mapping appears to be working correctly.


Great!

>  However, I'm now getting a new exception for a different part of the mapping.  I'm 
> not experiencing this without the use of a namespace.

Hmmm...this one might be a little more tricky to track down. I'll see if
I can reproduce the issue.

--Keith
> 
> org.xml.sax.SAXException: unable to add 'ingress' to <null> due to the following 
> exception:
> java.lang.IllegalArgumentException: object is not an instance of declaring class
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to