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 174035 - NullPointerException at org.netbeans.modules.glassfish.eecommon.api.config.GlassfishConfiguration.getContextRoot
Summary: NullPointerException at org.netbeans.modules.glassfish.eecommon.api.config.Gl...
Status: RESOLVED DUPLICATE of bug 174027
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-08 02:03 UTC by Vince Kraemer
Modified: 2009-10-10 01:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 159764


Attachments
stacktrace (1.56 KB, text/plain)
2009-10-08 02:03 UTC, Vince Kraemer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vince Kraemer 2009-10-08 02:03:23 UTC
Build: NetBeans IDE Dev (Build 091007)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: SunOS, 5.11, x86

User Comments:
vkraemer: opening the ejb31-war sample project



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.glassfish.eecommon.api.config.GlassfishConfiguration.getContextRoot(GlassfishConfiguration.java:585)
        at org.netbeans.modules.glassfish.javaee.ModuleConfigurationImpl.getContextRoot(ModuleConfigurationImpl.java:114)
        at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.getWebContextRoot(ConfigSupportImpl.java:249)
        at org.netbeans.modules.web.project.ProjectWebModule.getContextPath(ProjectWebModule.java:175)
        at org.netbeans.modules.web.project.WebProject$ProjectOpenedHookImpl.projectOpened(WebProject.java:958)
        at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:81)
Comment 1 Vince Kraemer 2009-10-08 02:03:27 UTC
Created attachment 89069 [details]
stacktrace
Comment 2 Nitya Doraisamy 2009-10-10 01:35:57 UTC

*** This issue has been marked as a duplicate of 174027 ***