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 184488 - NullPointerException at org.netbeans.modules.websvc.project.api.WebServiceData.getWebServiceData
Summary: NullPointerException at org.netbeans.modules.websvc.project.api.WebServiceDat...
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 16:52 UTC by luislobo
Modified: 2010-04-21 04:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 162901


Attachments
stacktrace (2.12 KB, text/plain)
2010-04-19 16:52 UTC, luislobo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description luislobo 2010-04-19 16:52:22 UTC
Build: NetBeans IDE Dev (Build 201002152000)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Windows XP

User Comments:
GUEST: WEB?????TomCat??? ?? Hello  ???? Struts1 Spring Spring???Hibernate??

???? ?NetBeans ??????????? http://localhost:8080/Hello ???????localhost:8080??????????????????????

GUEST: tried to format jsp source code

GUEST: I was right clicking so that I could format code.

luislobo: right clicking on a selected portion of code

GUEST: Doing a right click in an JSP

GUEST: Right click in JSP template file




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.websvc.project.api.WebServiceData.getWebServiceData(WebServiceData.java:66)
   at org.netbeans.modules.websvc.core.actions.WebServiceClientActionGroup.hasWebServiceClient(WebServiceClientActionGroup.java:110)
   at org.netbeans.modules.websvc.core.actions.WebServiceClientActionGroup.getPopupPresenter(WebServiceClientActionGroup.java:79)
   at org.netbeans.modules.editor.NbEditorKit.createLocalizedMenuItem(NbEditorKit.java:343)
   at org.netbeans.modules.editor.NbEditorKit.access$300(NbEditorKit.java:132)
   at org.netbeans.modules.editor.NbEditorKit$NbBuildPopupMenuAction.addAction(NbEditorKit.java:443)
Comment 1 luislobo 2010-04-19 16:52:27 UTC
Created attachment 97655 [details]
stacktrace
Comment 2 Milan Kuchtiak 2010-04-20 07:11:20 UTC
Fixed:
http://hg.netbeans.org/main/rev/b1db658f7636
Comment 3 Quality Engineering 2010-04-21 04:32:28 UTC
Integrated into 'main-golden', will be available in build *201004210200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b1db658f7636
User: mkuchtiak@netbeans.org
Log: #184488; fixed NPE (when project is null)