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 119131

Summary: Cannot invoke editor context menu
Product: webservices Reporter: Lukas Jungmann <jungi>
Component: CodeAssignee: Milan Kuchtiak <mkuchtiak>
Status: VERIFIED DUPLICATE    
Severity: blocker Keywords: RANDOM
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Lukas Jungmann 2007-10-16 21:58:45 UTC
-have 6.0beta2 build (with JAX-RPC and RESTful plugins)
-create new J2EE 1.4 web project
-create new (JAX-RPC) web service there
-open ws SEI in the editor
-right-click in the editor (to invoke ie. Add Operation action)

=>
java.lang.NullPointerException
	at org.netbeans.modules.websvc.core.jaxws.actions.JaxWsAddOperation.getService(JaxWsAddOperation.java:114)
	at org.netbeans.modules.websvc.core.jaxws.actions.JaxWsAddOperation.<init>(JaxWsAddOperation.java:78)
	at
org.netbeans.modules.websvc.core.jaxws.actions.JaxWsAddOperationProvider.getAddOperationCookie(JaxWsAddOperationProvider.java:54)
	at org.netbeans.modules.websvc.core.WebServiceActionProvider.getAddOperationAction(WebServiceActionProvider.java:62)
	at org.netbeans.modules.websvc.core.webservices.action.WebServiceActionGroup.hasWebService(WebServiceActionGroup.java:108)
	at
org.netbeans.modules.websvc.core.webservices.action.WebServiceActionGroup.getPopupPresenter(WebServiceActionGroup.java:73)
	at org.netbeans.modules.editor.NbEditorKit$NbBuildPopupMenuAction.createLocalizedMenuItem(NbEditorKit.java:359)
	at org.netbeans.modules.editor.NbEditorKit$NbBuildPopupMenuAction.addAction(NbEditorKit.java:398)
	at org.netbeans.modules.editor.NbEditorKit$NbBuildPopupMenuAction.buildPopupMenu(NbEditorKit.java:325)
	at org.netbeans.editor.ext.ExtKit$BuildPopupMenuAction.actionPerformed(ExtKit.java:264)
	at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:288)
...
Comment 1 Lukas Jungmann 2007-10-16 22:06:11 UTC
something weird is happening here... need to find better steps for reproducing this...
Comment 2 Lukas Jungmann 2007-10-16 22:26:11 UTC
dup of issue 112795...

*** This issue has been marked as a duplicate of 112795 ***
Comment 3 Lukas Jungmann 2007-10-17 00:26:39 UTC
v.