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 6.9 Beta (Build 201004212000) VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03 OS: Linux User Comments: GUEST: I clicked a method name to travel to the method definition. GUEST: I clicked in py php project on a method with CTRL+mouseclick to navigate to the declaration St.Ev: [ctrl+b] parent::methodName($var,$var3,$var3); GUEST: clicke a method in navigator to go to relative code GUEST: changing getters and setters Stacktrace: java.lang.NullPointerException at org.netbeans.modules.php.editor.api.QualifiedNameKind.resolveKind(QualifiedNameKind.java:75) at org.netbeans.modules.php.editor.api.QualifiedName.createUnqualifiedName(QualifiedName.java:270) at org.netbeans.modules.php.editor.model.nodes.ASTNodeInfo.toQualifiedName(ASTNodeInfo.java:127) at org.netbeans.modules.php.editor.model.nodes.ASTNodeInfo.getQualifiedName(ASTNodeInfo.java:99) at org.netbeans.modules.php.editor.model.impl.OccurenceBuilder.buildMethodInvocations(OccurenceBuilder.java:839) at org.netbeans.modules.php.editor.model.impl.OccurenceBuilder.buildMethods(OccurenceBuilder.java:757)
Created attachment 98631 [details] stacktrace
reproducible if php code contains e.g code like this: $this->{'_find' . ucfirst($type)}('before', $query);
http://hg.netbeans.org/web-main/rev/19baa3c1a9eb
Unpleasant NPE in editor, should be fixed for 6.9 I've already added 69_HR_FIX_CANDIDATE, but Filipe please confirm
(In reply to comment #4) > Unpleasant NPE in editor, should be fixed for 6.9 > > I've already added 69_HR_FIX_CANDIDATE, but Filipe please confirm I agree.
ok, I will push it into release69 today
http://hg.netbeans.org/release69/rev/63a365a419d7
Integrated into 'main-golden', will be available in build *201005280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/19baa3c1a9eb User: Radek Matous <rmatous@netbeans.org> Log: #185702 - NullPointerException at org.netbeans.modules.php.editor.api.QualifiedNameKind.resolveKind
v/c
Product Version: NetBeans IDE 6.9 (Build 100609-a94d6a4a87fe) Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01 verified in release69 clone