This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 143431 [details] messages.log Spock. Simple test: def "connection to database"(){ expect: dbs.connectDatabase(dbName) > -1 } An error in attachment I got after pressing Ctrl-R (rename) with cursor on method name and clicking on button Preview in dialog. I have this error everywhere in tests with name in quotes.
I wasn't able to reproduce the problem, but based on the stacktrace I put a simple null check in change-set: web-main #6442e6ad2a19 Should be fixed, thanks for the report