How to cope with 'org.postgresql.util.PSQLException: No value specified for parameter 1'?
Upon registration to my Grails app, the user receives an email with a confirmation link. Clicking that link, takes her to the according 'enable' action. This worked flawlessly. However, there now seems to be an error with a very specific token, which fails the user.save() of this snippet: assert !user.isDirty() // assertion is ok user.enabled = true user.confirmationToken = null assert user.isDirty() // assertion is ok if (user.save()) { // FAILS WITH ERROR BELOW // ... } Stacktrace: [ 16.09.2011 11:57:47.591] [http-bio-localhost/127.0.0.1-8080-exec-3] ERROR org.codehaus.groovy.grails.web