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 202126 - [71cat] [NB71CAT] NullPointerException at org.netbeans.modules.glassfish.eecommon.api.config.GlassfishConfiguration.setContextRoot
Summary: [71cat] [NB71CAT] NullPointerException at org.netbeans.modules.glassfish.eeco...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-14 12:23 UTC by muellermi
Modified: 2011-09-22 22:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 173875


Attachments
stacktrace (1.43 KB, text/plain)
2011-09-14 12:23 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2011-09-14 12:23:49 UTC
Build: NetBeans IDE Dev (Build 201109132156)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows XP

User Comments:
muellermi: starting IDE




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.glassfish.eecommon.api.config.GlassfishConfiguration.setContextRoot(GlassfishConfiguration.java:653)
   at org.netbeans.modules.glassfish.javaee.ModuleConfigurationImpl.setContextRoot(ModuleConfigurationImpl.java:140)
   at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.setWebContextRoot(ConfigSupportImpl.java:289)
   at org.netbeans.modules.web.project.ProjectWebModule.setContextPath(ProjectWebModule.java:191)
   at org.netbeans.modules.web.project.WebProject$ProjectOpenedHookImpl.projectOpened(WebProject.java:995)
   at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:84)
Comment 1 muellermi 2011-09-14 12:23:53 UTC
Created attachment 110746 [details]
stacktrace
Comment 2 Vince Kraemer 2011-09-16 22:52:58 UTC
OK.  You have a web app project open in the IDE, right?

What is the name of the project?

How/when did you create the project?

Please attach the project that seems to trigger this exception... if you can.
Comment 3 Quality Engineering 2011-09-21 08:08:04 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/d5dfdf241664
User: vince kraemer <vkraemer@netbeans.org>
Log: #202126 : prevent NPE
Comment 4 Vince Kraemer 2011-09-22 22:59:07 UTC
in the build