BraintagsGmbH / vertx-pojo-mapper

nonblocking pojo mapping for document and sql databases
Eclipse Public License 1.0
55 stars 8 forks source link

Nullpointer ins JacksonProperty isMap() #139

Open kerko opened 7 years ago

kerko commented 7 years ago

The isMap() function in the JacksonProperty class throws a Nullpointer if any of the fields getters/setter is not named the same as the field. beanDefinition.getAccessor() returns null in this case.

Example

 public Set<Reservation> getReservations()
 public void setResservations(final Set<Reservation> reservations)