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(NativeConstructorAcces
sorImpl.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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]