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

Re: JodaTime and ERRest


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

Upgrading commons-beanutils from 1.7.0 to 1.8.3 fixes that problem.

> 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


 _______________________________________________
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

References: 
 >JodaTime and ERRest (From: Pascal Robert <email@hidden>)

  • Prev by Date: JodaTime and ERRest
  • Next by Date: Re: WebObjects + ERRest + iOS + CoreData (Yes another post on this)
  • Previous by thread: JodaTime and ERRest
  • Next by thread: Wrong CLASSPATH when installing WOApp with WOLips
  • Index(es):
    • Date
    • Thread