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.
Build: NetBeans IDE Dev (Build 201204190400) VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05 OS: Windows 7 User Comments: leek: Typing a crash report Stacktrace: java.lang.NullPointerException at org.netbeans.modules.php.editor.model.impl.ModelVisitor.visit(ModelVisitor.java:735) at org.netbeans.modules.php.editor.parser.astnodes.ForEachStatement.accept(ForEachStatement.java:113) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:54) at org.netbeans.modules.php.editor.model.impl.ModelVisitor.scan(ModelVisitor.java:115) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:61) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.visit(DefaultVisitor.java:100)
Created attachment 118539 [details] stacktrace
Created attachment 118541 [details] stacktrace IDE just started -> exception
Happens to me reliably immediately after IDE is started. 9 duplicates so far. Thanks.
Please notice that in the IDE log [1] I see another exception [2] which happens before this NPE. Thanks. [1] http://statistics.netbeans.org/exceptions/messageslog?id=574756 [2] WARNING [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater] java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372) at java.util.AbstractList$Itr.next(AbstractList.java:343) at org.netbeans.modules.php.editor.model.impl.ModelVisitor.handleVarComment(ModelVisitor.java:1313) at org.netbeans.modules.php.editor.model.impl.ModelVisitor.handleVarComments(ModelVisitor.java:1305) at org.netbeans.modules.php.editor.model.impl.ModelVisitor.visit(ModelVisitor.java:322) at org.netbeans.modules.php.editor.parser.astnodes.Program.accept(Program.java:92) at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:54) at org.netbeans.modules.php.editor.model.impl.ModelVisitor.scan(ModelVisitor.java:114) at org.netbeans.modules.php.editor.model.Model.getModelVisitor(Model.java:129) at org.netbeans.modules.php.editor.model.Model.getFileScope(Model.java:78) at org.netbeans.modules.php.editor.index.PHPIndexer.index(PHPIndexer.java:235) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$3.run(Indexable.java:216) at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(RepositoryUpdater.java:258) at org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.java:214) [catch] at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$3.run(RepositoryUpdater.java:2743) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:583) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:150) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:134) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:200)
Yes it could be related to that ConcurrentModificationException, it's reported as issue #211425 I'll fix it today.
Fixed in web-main #d7c69a73801d
Integrated into 'main-golden', will be available in build *201204210400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d7c69a73801d User: Ondrej Brejla <obrejla@netbeans.org> Log: #211488 - NullPointerException at org.netbeans.modules.php.editor.model.impl.ModelVisitor.visit
Happens to me reliably immediately after IDE is started. 9 duplicates so far. http://www.worldphoto.org/profile/RobertPattinson/ http://pinterest.com/googleclone/samsung-galaxy-note-cases/ http://director-ee.com/profile/cyberworldltd