• 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
JodaTime and ERRest
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

JodaTime and ERRest


  • Subject: JodaTime and ERRest
  • From: Pascal Robert <email@hidden>
  • Date: Tue, 22 May 2012 21:18:27 -0400

Anyone got problems with JodaTime and ERRest (JSON)? I'm getting this error when I query entities that use JodaTime:

java.lang.NoSuchMethodException: Property 'durationType' has no getter method
  at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1127)
  at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686)
  at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)
  at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290)
  at net.sf.json.JSONObject._fromBean(JSONObject.java:918)
  at net.sf.json.JSONObject.fromObject(JSONObject.java:168)
  at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:265)
  at net.sf.json.JSONArray._processValue(JSONArray.java:2514)
  at net.sf.json.JSONArray.processValue(JSONArray.java:2539)
  at net.sf.json.JSONArray.addValue(JSONArray.java:2526)
  at net.sf.json.JSONArray._fromArray(JSONArray.java:982)
  at net.sf.json.JSONArray.fromObject(JSONArray.java:133)
  at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:237)
  at net.sf.json.JSONObject._processValue(JSONObject.java:2808)
  at net.sf.json.JSONObject.processValue(JSONObject.java:2874)
  at net.sf.json.JSONObject.setInternal(JSONObject.java:2889)
  at net.sf.json.JSONObject.setValue(JSONObject.java:1577)
  at net.sf.json.JSONObject._fromBean(JSONObject.java:934)
  at net.sf.json.JSONObject.fromObject(JSONObject.java:168)
  at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:265)
  at net.sf.json.JSONObject._processValue(JSONObject.java:2808)
  at net.sf.json.JSONObject.processValue(JSONObject.java:2874)
  at net.sf.json.JSONObject.setInternal(JSONObject.java:2889)
  at net.sf.json.JSONObject.setValue(JSONObject.java:1577)
  at net.sf.json.JSONObject._fromMap(JSONObject.java:1340)
  at net.sf.json.JSONObject.fromObject(JSONObject.java:159)
  at net.sf.json.AbstractJSON._processValue(AbstractJSON.java:265)
  at net.sf.json.JSONArray._processValue(JSONArray.java:2514)
  at net.sf.json.JSONArray.processValue(JSONArray.java:2539)
  at net.sf.json.JSONArray.addValue(JSONArray.java:2526)
  at net.sf.json.JSONArray._fromCollection(JSONArray.java:1057)
  at net.sf.json.JSONArray.fromObject(JSONArray.java:123)
  at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:105)
  at er.rest.format.ERXJSONRestWriter.appendToResponse(ERXJSONRestWriter.java:41)
  at er.rest.routes.ERXRouteResults.generateResponse(ERXRouteResults.java:89)


 _______________________________________________
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: JodaTime and ERRest
      • From: Pascal Robert <email@hidden>
  • Prev by Date: Re: Backtrack Too Far Error only with Windows browsers
  • Next by Date: Re: JodaTime and ERRest
  • Previous by thread: Re: Session awake after shell-script run
  • Next by thread: Re: JodaTime and ERRest
  • Index(es):
    • Date
    • Thread