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.
The error messages from Nashorn are "raw" sometimes. These messages should be translated sometimes to "human" language. The second problem is that the error offset doesn't corresponds to the position, where the error really is. Usually the error offset is on the next statement, where the parser was able to recover.