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 Dev (Build 201205090400) VM: Java HotSpot(TM) Client VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20 OS: Linux User Comments: GUEST: Clicked 'Edit' next to role names under ViewConstratint in the Security Tab of web.xml for a standard new blank Java Web App. GUEST: Trying to add a role to an authentication constraint aldobrucale: in a java web project: web.xml/security checked Enabled Authentication. clicked the edit button fot "Role Name(s)" GUEST: Cofiguring roles for a security constraint in a web.xml file with a GlassFish Server V2 GUEST: during adding "Role Name(s):" in "Enable Authentication Constraint" in "Security Constraints" in "web.xml" file. I am following the instructions from "http://testwww.netbeans.org/kb/60/web/security-webapps.html". Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.ddloaders.web.multiview.SecurityConstraintPanel.getSelectedRoleNames(SecurityConstraintPanel.java:324) at org.netbeans.modules.j2ee.ddloaders.web.multiview.SecurityConstraintPanel.editButtonActionPerformed(SecurityConstraintPanel.java:537) at org.netbeans.modules.j2ee.ddloaders.web.multiview.SecurityConstraintPanel.access$200(SecurityConstraintPanel.java:71) at org.netbeans.modules.j2ee.ddloaders.web.multiview.SecurityConstraintPanel$3.actionPerformed(SecurityConstraintPanel.java:445) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
Created attachment 119307 [details] stacktrace
Created attachment 129225 [details] stacktrace Error editing security constraints in web.xml
I tried really hard to reproduce this without success. Is there a way to trigger this?
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss