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

Summary: NullPointerException at org.netbeans.modules.javahelp.HelpAction.findHelpCtx
Product: webservices Reporter: Jindrich Sedek <jsedek>
Component: CodeAssignee: Milan Kuchtiak <mkuchtiak>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=149820
Issue Type: DEFECT Exception Reporter: 149820
Attachments: stacktrace

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