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 7.0 M2 (Build 201010151251) VM: Java HotSpot(TM) Client VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06 OS: Windows 7 User Comments: bedomon: I was typing code dukeofgaming: Writing a for loop inside php short tags k4emic: Editing view for "show" action dukeofgaming: Typing a helper function that was supposed to autocomplete GUEST: higlighting text GUEST: Trying to work. bleargh! GUEST: <?php if ($action == "approve"): ?> <?php echo "some stuff" ?> <?php el <?php endif; ?> in the above block, typing after <?php el the error was triggered. <?php endif; ?> shows red underline (syntax error) because I haven't finished typing elseif yet... Stacktrace: java.lang.NullPointerException at org.netbeans.modules.php.editor.elements.VariableElementImpl.fromFrameworks(VariableElementImpl.java:150) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.initExtendedQuery(IndexQueryImpl.java:162) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.init(IndexQueryImpl.java:129) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.<init>(IndexQueryImpl.java:124) at org.netbeans.modules.php.editor.elements.IndexQueryImpl.create(IndexQueryImpl.java:183) at org.netbeans.modules.php.editor.model.impl.IndexScopeImpl.<init>(IndexScopeImpl.java:100)
Created attachment 102590 [details] stacktrace
129 duplicates - at least P2
This is already should be fixed by change http://hg.netbeans.org/main/rev/644af957a884 When I went through the exception reporter, there is no record from build that contains the change.