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.

Bug 131923 - NPE on using Code completion during adding opening php tag
Summary: NPE on using Code completion during adding opening php tag
Status: VERIFIED DUPLICATE of bug 130913
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks: 131609
  Show dependency tree
 
Reported: 2008-04-03 12:59 UTC by kozlov
Modified: 2008-09-09 19:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kozlov 2008-04-03 12:59:47 UTC
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)
Comment 1 Tomasz Slota 2008-04-08 15:23:37 UTC

*** This issue has been marked as a duplicate of 130913 ***
Comment 2 Mikhail Matveev 2008-09-09 19:16:58 UTC
Verified duplicate