• 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
binary plist format in ERRest, Error encountered converting value of class java.lang.String
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

binary plist format in ERRest, Error encountered converting value of class java.lang.String


  • Subject: binary plist format in ERRest, Error encountered converting value of class java.lang.String
  • From: Jesse Tayler <email@hidden>
  • Date: Tue, 26 Apr 2011 12:24:35 -0400

While posting .bplist format to ERRest, I get the error:

	ValidationException: Error encountered converting value of class java.lang.String to type specified in attribute 'id' of entity 'Venue'

On the client side, I added one dictionary to the other:

    [dictionary setObject:self.venue forKey:@"venue"];

The dictionary reports the class of venue.id to be NSDecimalNumber, but I guess bplist interprets it as a java.lang.String, seems fine...

    id = 73;

The database stores that resulting id as an INT, which also seems fine...

All this, I should imagine would all be fine? The error suggests that the String for the id cannot be turned into a valid integer but it seems that should be ok, no?

What might I be missing here?

thanks--

 _______________________________________________
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

  • Prev by Date: Re: Confused with delete rules in EntityModeler
  • Next by Date: Re: Optimal number of WorkerThreads
  • Previous by thread: [MEETING] WO-NoVA cancelled, see you in May (5/17/2011)
  • Next by thread: Blowfish Security Algorithm missing?
  • Index(es):
    • Date
    • Thread