Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 202126 - [71cat] [NB71CAT] NullPointerException at org.netbeans.modules.glassfish.eecommon.api.config.GlassfishConfiguration.setContextRoot
[71cat] [NB71CAT] NullPointerException at org.netbeans.modules.glassfish.eeco...
Status: RESOLVED FIXED
Product: serverplugins
Classification: Unclassified
Component: GlassFish
7.0
All All
: P3 (vote)
: 7.1
Assigned To: Vince Kraemer
issues@serverplugins
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-14 12:23 UTC by muellermi
Modified: 2011-09-22 22:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo