Chapter 11 in Practical WebObjects
Chapter 11 in Practical WebObjects
- Subject: Chapter 11 in Practical WebObjects
- From: "Xia, Wen" <email@hidden>
- Date: Thu, 10 Jan 2008 17:10:26 -0800
- Thread-topic: Chapter 11 in Practical WebObjects
Title: Chapter 11 in Practical WebObjects
When I tried to use the XMLSerializer.java in my project, I keep getting the error:
A fatal exception occurred: null
[2008-01-10 16:56:17 PST] <main> java.lang.ExceptionInInitializerError
at XMLSerializer.serializeArray(XMLSerializer.java:24)
at EbudgetWebService.getBSChapter(EbudgetWebService.java:19)
at Application.<init>(Application.java:64)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
Line 24 in XMLSerializer.java is:
NSXMLOutputStream stream = new NSXMLOutputStream(byte_output_stream);
And I’m calling the method XMLSerializer.serializeArray with the following line:
NSArray rows = EOUtilities.objectsMatchingValues(ec, "bsChapter", bindings);
String rawData = XMLSerializer.serializeArray(rows);
I don’t know what is wrong. If anyone use the code successfully, please advise.
Thank you.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden