• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Chapter 11 in Practical WebObjects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Chapter 11 in Practical WebObjects
      • From: Chuck Hill <email@hidden>
References: 
 >Re: Can't retrieve cookies (closer, but not there yet) (From: Jeff Schmitz <email@hidden>)

  • Prev by Date: Re: Can't retrieve cookies (closer, but not there yet)
  • Next by Date: Re: Can't retrieve cookies (closer, but not there yet)
  • Previous by thread: Re: Can't retrieve cookies (closer, but not there yet)
  • Next by thread: Re: Chapter 11 in Practical WebObjects
  • Index(es):
    • Date
    • Thread