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.
[NB 6.1 build #20080125; JDK 6u3] I have a project with WordPress 2.3.2 sources. The editor reports errors in wp-app.php file. Here's the offending code fragment (trimmed): $this->selectors = array( '@/service$@' => array('GET' => 'get_service'), '@/attachment/file/(\d+)$@' => array('GET' => 'get_file', 'PUT' => 'put_file', 'DELETE' => 'delete_file'), '@/attachment/(\d+)$@' => array('GET' => 'get_attachment', 'PUT' => 'put_attachment', 'DELETE' => 'delete_attachment'), ); Apparently, the parser doesn't like the comma ',' before the last closing parenthesis. Removing the comma fixes the issue.
Reproduced on 6.1 M1 200801280931
Such issue was already discovered previously and it was fixed. Possibly this is some regression. Need to investigate.
I'm not able to reproduce the bug with a clean userdir in build #20080129. It really seems to be fixed. Thanks.
Verified