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 212329 - NullPointerException at org.netbeans.modules.j2ee.ddloaders.web.multiview.SecurityConstraintPanel.getSelectedRoleNames
Summary: NullPointerException at org.netbeans.modules.j2ee.ddloaders.web.multiview.Sec...
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: DD Editor (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 15:54 UTC by aldobrucale
Modified: 2016-07-07 08:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 21276


Attachments
stacktrace (3.16 KB, text/plain)
2012-05-10 15:54 UTC, aldobrucale
Details
stacktrace (3.16 KB, text/plain)
2012-12-11 21:44 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2012-05-10 15:54:36 UTC
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)
Comment 1 aldobrucale 2012-05-10 15:54:41 UTC
Created attachment 119307 [details]
stacktrace
Comment 2 ecerichter 2012-12-11 21:44:03 UTC
Created attachment 129225 [details]
stacktrace

Error editing security constraints in web.xml
Comment 3 Petr Hejl 2015-07-15 13:58:39 UTC
I tried really hard to reproduce this without success. Is there a way to trigger this?
Comment 4 Martin Balin 2016-07-07 08:55:54 UTC
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