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 150707 - NullPointerException at org.netbeans.modules.j2ee.sun.share.configbean.customizers.webservice.EndpointPanel.jCbxAuthenticationActionPerformed
Summary: NullPointerException at org.netbeans.modules.j2ee.sun.share.configbean.custom...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ pcw
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-20 11:26 UTC by getaceres
Modified: 2008-10-23 00:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 130816


Attachments
stacktrace (1.18 KB, text/plain)
2008-10-20 11:26 UTC, getaceres
Details

Note You need to log in before you can comment on or make changes to this bug.
Description getaceres 2008-10-20 11:26:37 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Linux, 2.6.24-21-generic, i386

User Comments:
getaceres: Closing files and discharging changes.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.j2ee.sun.share.configbean.customizers.webservice.EndpointPanel.jCbxAuthenticationActionPerformed(EndpointPanel.java:579)
        at org.netbeans.modules.j2ee.sun.share.configbean.customizers.webservice.EndpointPanel.access$600(EndpointPanel.java:73)
        at org.netbeans.modules.j2ee.sun.share.configbean.customizers.webservice.EndpointPanel$7.actionPerformed(EndpointPanel.java:460)
        at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1242)
        at javax.swing.JComboBox.setSelectedItem(JComboBox.java:569)
        at org.netbeans.modules.j2ee.sun.ddloaders.multiview.MappingComboBoxHelper.setValue(MappingComboBoxHelper.java:91)
Comment 1 getaceres 2008-10-20 11:26:57 UTC
Created attachment 72254 [details]
stacktrace
Comment 2 _ pcw 2008-10-21 02:20:11 UTC
What do you mean by "discharging changes"?  Saving them?  Or canceling the changes?
Comment 3 getaceres 2008-10-21 08:09:35 UTC
Sorry for the word. I mean, cancelling the changes (the word was discarding). 
Comment 4 _ pcw 2008-10-21 23:55:09 UTC
What type of module (Web or Ejb) and is this JAX-WS or JAX-RPC?
Comment 5 _ pcw 2008-10-21 23:59:26 UTC
Never mind the above if this is an ejb project using JAXRPC (let me know if it's JAX-WS).

If it's a web app, I want to know what you did to get login-config displayed in the first place (it's not used for web
apps, but there are some interesting up&coming edge cases with EJB 3.1)
Comment 6 getaceres 2008-10-22 08:48:02 UTC
All of them are Maven projects. All the projects that I have open are of type ejb (the maven packaging is ejb and
version 3.0) so they are recognized by Netbeans as an EJB projects (although half of the functionalities don't work as
expected). 
I'm developing JAX-WS services using EJBs 3.0 and also stateless and stateful session beans for the backend. Then, I
have an ear project (maven too) to package the application and a general project (pom) that depend on all the other
projects to do the general compilation.
Comment 7 Quality Engineering 2008-10-22 15:42:25 UTC
Integrated into 'main-golden', will be available in build *200810221401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b9efa0db03e6
User: pcw@netbeans.org
Log: #150707 NPE when discard changes to sun-ejb-jar.xml and such changes were to the login-config element of a web service endpoint (and the previous state did not specify this element).
Comment 8 _ pcw 2008-10-23 00:35:42 UTC
Fixed in trunk.