kaleidos / grails-postgresql-extensions

Grails plugin to use postgresql native elements such as arrays, hstores,...
Apache License 2.0
78 stars 62 forks source link

NPE when defining a Hstore field as nullable #24

Closed ilopmar closed 10 years ago

ilopmar commented 10 years ago

When defining a Hstore field as nullable a NPE is throw when no value is given:

java.lang.NullPointerException
    ... 16 more
Caused by: java.lang.NullPointerException
    at net.kalibernate.usertype.HstoreType.equals(HstoreType.java:43)
ilopmar commented 10 years ago

I can not reproduce it with an integration test in the project :-( Now I've to try to reproduce it again from the application I was using the plugin.

ilopmar commented 10 years ago

I think this maybe fixed.