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 106576 - edit webservice attributes
Summary: edit webservice attributes
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Identity (show other bugs)
Version: 6.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Peter Liu
URL:
Keywords: REGRESSION
Depends on:
Blocks: 106361
  Show dependency tree
 
Reported: 2007-06-14 00:12 UTC by annamoto
Modified: 2007-08-24 16:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description annamoto 2007-06-14 00:12:27 UTC
hi.
right clicking a webservice>edit webservice attributes fails, showing up a dialog box with this:

java.lang.NullPointerException
	at org.netbeans.modules.identity.profile.ui.support.J2eeProjectHelper.getProjectType(J2eeProjectHelper.java:306)
	at org.netbeans.modules.identity.profile.ui.support.J2eeProjectHelper.getVersion(J2eeProjectHelper.java:326)
	at org.netbeans.modules.identity.profile.ui.support.J2eeProjectHelper.newInstance(J2eeProjectHelper.java:159)
	at org.netbeans.modules.identity.profile.ui.editor.SecurityWSEditor.createWSEditorComponent(SecurityWSEditor.java:57)
	at
org.netbeans.modules.websvc.core.wseditor.support.EditWSAttributesTopComponent.addTabs(EditWSAttributesTopComponent.java:48)
[catch] at
org.netbeans.modules.websvc.core.wseditor.support.EditWSAttributesCookieImpl$1.run(EditWSAttributesCookieImpl.java:83)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Lukas Jungmann 2007-06-14 00:33:05 UTC
comes from identity code, reassigning there for evaluation.

Reporter, which project type do you use (web, ejb,...)? Can you switch to other tabs (like WSIT, WSDL Customization) and
work there or not? If not then this should be more then only P3...
Comment 2 Lukas Jungmann 2007-06-14 22:29:40 UTC
reproduced in build 070614 - #709 (from deadlock) - basic + enterprise + soa clusters after following steps:

-create new Java SE project
-create new ws client (jax-ws) in it
-invoke Edit WS Attributes action on the ws client node

=> reported NPE

there's no way to use WSIT, WSDL customization editor in this case => P1

possible, but not reasonable, workaround is to not install SOA
Comment 3 Peter Liu 2007-06-21 02:12:26 UTC
Fix checked into trunk.
Comment 4 Peter Pis 2007-06-26 08:58:15 UTC
Could you please verify this issue for M10? Thanks.
Comment 5 Lukas Jungmann 2007-06-26 13:03:13 UTC
v. in trunk, but still reproducible in m10...
Peter, can you merge the fix into the release60-m10 branch ASAP, please?
Thanks.

Comment 6 Peter Liu 2007-06-26 17:44:47 UTC
All the necessary changes are already in release60-m10 branch.  In addition, the QE for identity has been testing the 
m10 build and has not seen this issue.


Tony, could you verify this is indeed the case?

Comment 7 Jaroslav Pospisil 2007-08-24 16:38:08 UTC
VERIFIED