I found out that an exception was happening in my deserialization of one of my custom types.  I played around with throwing checked exceptions or runtime exceptions and they both caused JiBX to fail, but I never saw them in the stack trace.  Does the JiBXException squelch the stack trace and not pass along Throwable?

Thanks,

-jay

On 4/14/06, Jay Blanton <[EMAIL PROTECTED]> wrote:
I have rebuilt my binding.xml file multiple times and I have validated it against the jibx dtd.

But I keep getting the following error:

org.jibx.runtime.JiBXException: Error while unmarshalling (line 1, col 631)
    at com.foo.common.xml.databinding.JibxXmlBinder.unmarshal(JibxXmlBinder.java:127)
    at com.foo.common.xml.databinding.XmlBinderHelper.mapXmlToObject(XmlBinderHelper.java:281)
    at com.foo.bene.ServiceBinderTest.testErrorResults (ServiceBinderTest.java:972)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run (TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java :478)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

Caused by: org.jibx.runtime.JiBXException : Error while unmarshalling (line 1, col 631)
    at com.foo.bene.to.PrimaryCareManagerTO.JiBX_ServiceResponseBinding_unmarshal_2_1(PrimaryCareManagerTO.java)
    at com.foo.bene.to.JiBX_ServiceResponseBindingPrimaryCareManagerTO_access.unmarshal ()
    at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(Unknown Source)
    at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(Unknown Source)
    at com.foo.common.xml.databinding.JibxXmlBinder.unmarshal (JibxXmlBinder.java:124)

Can anyone tell me what this means?

--
jay blanton
[EMAIL PROTECTED]
(c) 916-715-1529



--
jay blanton
[EMAIL PROTECTED]
(c) 916-715-1529

Reply via email to