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.
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)
Created attachment 72254 [details] stacktrace
What do you mean by "discharging changes"? Saving them? Or canceling the changes?
Sorry for the word. I mean, cancelling the changes (the word was discarding).
What type of module (Web or Ejb) and is this JAX-WS or JAX-RPC?
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)
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.
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).
Fixed in trunk.