Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing ZonedDateTime: "Unable to extract annotation for property chronology" #368

Open
askaribragimov opened this issue Feb 13, 2017 · 0 comments

Comments

@askaribragimov
Copy link

I am trying to parse a field into ZonedDateTime using Boon Json library and receive the following error (abriged):

handleExceptionorg.boon.Exceptions$SoftenedException: fieldName order  of class 
  RowModel had issues for value MAP for field FieldInfo [name=order, 
  type=class OrderRowModel]
CAUSE org.boon.Exceptions$SoftenedException :: fieldName updatedAt of class class OrderRowModel
  had issues for value 2017-02-13T13:07:09.481Z for field FieldInfo 
  [name=updatedAt, type=class java.time.ZonedDateTime]
CAUSE org.boon.Exceptions$SoftenedException :: name chronology setter null 
  getter public default java.time.chrono.Chronology 
  java.time.chrono.ChronoZonedDateTime.getChronology()
CAUSE org.boon.Exceptions$SoftenedException :: Unable to extract annotation for property
  chronology  of class  interface java.time.chrono.ChronoZonedDateTime   useRead  false

I suppose I should somehow add support or configure Boon.Json to handle ZonedDateTime properly. How can I avoid the error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant