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.
Reproduced in build080402. Create new php file. Invoke Code completion on the first line and choose <?php. NPE Annotation: An error occurred during parsing of '/Users/Phil/NetBeansProjects/PhpProject2/web/index.php'. Please report a bug against ruby and attach dump file '/Users/Phil/.netbeans/dev/var/log/index_8.dump'. Annotation: An error occurred during parsing of '/Users/Phil/NetBeansProjects/PhpProject2/web/index.php'. Please report a bug against ruby and attach dump file '/Users/Phil/.netbeans/dev/var/log/index_8.dump'. An error occurred during parsing of '/Users/Phil/NetBeansProjects/PhpProject2/web/index.php'. Please report a bug against ruby and attach dump file '/Users/Phil/.netbeans/dev/var/log/index_8.dump'. An error occurred during parsing of '/Users/Phil/NetBeansProjects/PhpProject2/web/index.php'. Please report a bug against ruby and attach dump file '/Users/Phil/.netbeans/dev/var/log/index_8.dump'. Caused: java.lang.NullPointerException at org.netbeans.napi.gsfret.source.Source$1.finished(Source.java:842) at org.netbeans.modules.php.editor.parser.GSFPHPParser.parseFiles(GSFPHPParser.java:101) at org.netbeans.napi.gsfret.source.Source.moveToPhase(Source.java:914) at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1232) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) [catch] at java.lang.Thread.run(Thread.java:613)
*** This issue has been marked as a duplicate of 130913 ***
Verified duplicate