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 163115 - NullPointerException at org.netbeans.modules.javahelp.HelpAction.findHelpCtx
Summary: NullPointerException at org.netbeans.modules.javahelp.HelpAction.findHelpCtx
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Milan Kuchtiak
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-20 13:40 UTC by Jindrich Sedek
Modified: 2015-05-11 13:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 149820


Attachments
stacktrace (2.24 KB, text/plain)
2009-04-20 13:40 UTC, Jindrich Sedek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2009-04-20 13:40:46 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904192254)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: SunOS, 5.11, x86

User Comments:
GUEST: Pressing F1 in MIDlet, Elements - properties window, when selecting Type EXCLUSIVE

GUEST: Pressed F1 in Other Sources dialog

jsedek: Create new Web project
Create new WebService
invoke properties on WebService Node in projects view
press F1 ->NPE

setjmp: I hit F1 in a model->datatype properties dialog (UML) seeing if it brought any context based help. Guessing it would have though maybe not?  Also have another UML, a java, and a PHP project open at the same time.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.javahelp.HelpAction.findHelpCtx(HelpAction.java:125)
        at org.netbeans.modules.javahelp.HelpAction.actionPerformed(HelpAction.java:163)
        at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1052)
        at javax.swing.JComponent.processKeyBindings(JComponent.java:2895)
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2812)
        at org.openide.explorer.propertysheet.BaseTable.processKeyEvent(BaseTable.java:818)
Comment 1 Jindrich Sedek 2009-04-20 13:40:51 UTC
Created attachment 80517 [details]
stacktrace
Comment 2 Jindrich Sedek 2009-04-20 13:44:23 UTC
The reproducible scenario in webservices:

Create new Web project
Create new WebService
invoke properties on WebService Node in projects view
press F1 ->NPE
Comment 3 Jan Stola 2015-05-11 13:02:15 UTC
Fixed by http://hg.netbeans.org/main/rev/708fd6c39cd7