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 132367 - NullPointerException on attempt to edit WSIT options
Summary: NullPointerException on attempt to edit WSIT options
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tientien Li
Keywords: RELNOTE
Depends on:
Reported: 2008-04-08 21:12 UTC by Noel Ang
Modified: 2009-01-09 04:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

BPEL and Composite App projects (38.98 KB, application/x-compressed)
2008-04-08 21:13 UTC, Noel Ang

Note You need to log in before you can comment on or make changes to this bug.
Description Noel Ang 2008-04-08 21:12:46 UTC
Please use the attached project (BPEL + Composite Application projects) to reproduce the problem.

1. Open the projects.
2. Build the BPEL project.
3. Build the Composite Application project.
4. Edit the Service Assembly.
5. Clone both output ports. Save the .casa file.
6. Edit the WSIT *client* configuration of the ISTSUserAuthService_Port port.  Enter an arbitrary user name and
password, and click OK to save your changes.
7. Edit the WSIT *client* configuration of the STSUserAuthServicePort port.  This action causes the NPE.

The exception occurs once one of the output ports is configured, and the other one is about to be configured.  It does
not actually matter which port is configured first.

The exception is:

	at org.netbeans.modules.websvc.wsitconf.ui.client.ClientView.<init>(
	at org.netbeans.modules.websvc.wsitconf.ui.client.ClientTopComponent.doInitialize(
	at org.netbeans.modules.websvc.wsitconf.ui.client.ClientTopComponent.addNotify(
	at java.awt.Container.addNotify(
	at javax.swing.JComponent.addNotify(
	at java.awt.Container.addNotify(
	at javax.swing.JComponent.addNotify(
	at java.awt.Container.addNotify(
	at javax.swing.JComponent.addNotify(
	at javax.swing.JRootPane.addNotify(
	at java.awt.Container.addNotify(
	at java.awt.Window.addNotify(
	at java.awt.Dialog.addNotify(
	at java.awt.Window.pack(
	at org.openide.util.Mutex.doEventAccess(
	at org.openide.util.Mutex.readAccess(
[catch] at
	at java.awt.event.InvocationEvent.dispatch(
	at java.awt.EventQueue.dispatchEvent(
	at org.netbeans.core.TimableEventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(
Comment 1 Noel Ang 2008-04-08 21:13:27 UTC
Created attachment 59874 [details]
BPEL and Composite App projects
Comment 2 Noel Ang 2008-04-08 21:17:43 UTC
Reproduced using the currently latest NetBeans sierra build, #1545 (20080408).
Comment 3 Venkat Chellasamy 2008-04-08 21:31:29 UTC
reproduced on NB6.1 release build
Comment 4 Tientien Li 2008-04-09 22:16:01 UTC

The current WSIT client-side configuration design makes a copy of server wsdl, e.g., myService.wsdl, to the 
configuration directory and renames it as myServer.xml to store client-side WSIT configurations. In this case, there 
are two server wsdls with identical name in the bepl project:

  1, src/localhost_8080/STS_UserAuth/STSUserAuthService.wsdl (defines: ISTSUserAuthService_Port)
  2, src/localhost_9080/STSUserAuthService.wsdl (defines: STSUserAuthServicePort)

These are two different wsdl files with the same name. The reported problem was caused by the skipping over the 
creation of second WSIT client side configuration file. Both of them have the same name STSUserAuthService.xml.

A simple work around of this problem is to rename the second file as, e.g., STSUserAuthService9080.wsdl, to avoid the 
problem with identical configuration file name.

This is how the current WSIT client-side configuration module works. We will not fix this problem, but will add it to 
the release note of WSIT support.


Tientien Li
Comment 5 jlautz 2008-05-22 03:39:23 UTC
Has this been added to the release notes?
Comment 6 schmandt 2009-01-09 04:00:30 UTC
i verified this was added to release notes for 6.1 gfesb release,
accepting wontfix resolution and marking verified to cleanup QE queue.