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 65868 - NPE when starting NB 5.0 beta
Summary: NPE when starting NB 5.0 beta
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
: 69537 71940 73868 77190 83849 86287 88179 90898 104417 112975 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-04 15:35 UTC by tkellerer
Modified: 2007-08-16 15:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE (2.98 KB, text/plain)
2005-11-04 19:26 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tkellerer 2005-10-04 15:35:21 UTC
When I start NB 5.0 beta, I get the following NullPointerException:

java.lang.NullPointerException
	at
org.netbeans.modules.tomcat5.WebappConfiguration.init(WebappConfiguration.java:96)
	at
org.netbeans.modules.tomcat5.ide.ConfigurationSupportImpl.initConfiguration(ConfigurationSupportImpl.java:63)
	at
org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.getDeploymentConfiguration(ConfigSupportImpl.java:292)
	at
org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.getWebContextRoot(ConfigSupportImpl.java:192)
	at
org.netbeans.modules.web.project.ProjectWebModule.getContextPath(ProjectWebModule.java:93)
	at
org.netbeans.modules.web.project.ui.customizer.WebProjectProperties.init(WebProjectProperties.java:326)
	at
org.netbeans.modules.web.project.ui.customizer.WebProjectProperties.<init>(WebProjectProperties.java:260)
	at
org.netbeans.modules.web.project.WebProject.getWebProjectProperties(WebProject.java:412)
	at
org.netbeans.modules.web.project.WebProject$ProjectOpenedHookImpl.projectOpened(WebProject.java:706)
	at
org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:50)
	at
org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:417)
	at
org.netbeans.modules.project.ui.OpenProjectList.getDefault(OpenProjectList.java:126)
	at
org.netbeans.modules.project.ui.OpenProjectsTrampolineImpl.<init>(OpenProjectsTrampolineImpl.java:35)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
	at java.lang.Class.newInstance0(Class.java:350)
	at java.lang.Class.newInstance(Class.java:303)
	at
org.openide.util.lookup.MetaInfServicesLookup$P.getInstance(MetaInfServicesLookup.java:406)
	at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:325)
	at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:180)
	at
org.netbeans.modules.project.uiapi.Utilities.getOpenProjectsTrampoline(Utilities.java:50)
	at org.netbeans.api.project.ui.OpenProjects.<init>(OpenProjects.java:52)
	at org.netbeans.api.project.ui.OpenProjects.<clinit>(OpenProjects.java:47)
	at
org.netbeans.modules.editor.bookmarks.EditorBookmarksModule.restored(EditorBookmarksModule.java:80)
	at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:353)
	at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:269)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:897)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:377)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:311)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:243)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:202)
	at org.netbeans.core.startup.Main.start(Main.java:363)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:90)
[catch] at java.lang.Thread.run(Thread.java:595)
Comment 1 Sherold Dev 2005-10-21 12:45:25 UTC
TM -> 5.0
Comment 2 Martin Schovanek 2005-11-04 19:26:03 UTC
to reproduce:
-------------
1) open a .jsp outside of a webproject (e.g. create x.jsp in the /tmp folder and
open it by 'File > Open File' action)
2) restart IDE

ERROR: IDE throws the NPE during startup.
Comment 3 Martin Schovanek 2005-11-04 19:26:41 UTC
Created attachment 26639 [details]
NPE
Comment 4 Sherold Dev 2005-12-10 00:25:27 UTC
*** Issue 69537 has been marked as a duplicate of this issue. ***
Comment 5 Sherold Dev 2006-01-30 07:57:05 UTC
*** Issue 71940 has been marked as a duplicate of this issue. ***
Comment 6 Jaroslav Pospisil 2006-03-13 13:46:43 UTC
TM 5.0->TBD
Comment 7 Sherold Dev 2006-03-22 13:24:45 UTC
*** Issue 73868 has been marked as a duplicate of this issue. ***
Comment 8 Jaroslav Pospisil 2006-05-25 12:42:35 UTC
No longer reproducible.Marking as invalid.
Comment 9 Jiri Prox 2006-06-02 17:20:27 UTC
*** Issue 77190 has been marked as a duplicate of this issue. ***
Comment 10 Sherold Dev 2006-09-07 13:27:29 UTC
*** Issue 83849 has been marked as a duplicate of this issue. ***
Comment 11 Sherold Dev 2006-10-30 09:26:49 UTC
*** Issue 88179 has been marked as a duplicate of this issue. ***
Comment 12 Sherold Dev 2006-10-30 09:29:22 UTC
*** Issue 86287 has been marked as a duplicate of this issue. ***
Comment 13 Sherold Dev 2006-12-14 09:47:12 UTC
*** Issue 90898 has been marked as a duplicate of this issue. ***
Comment 14 Sherold Dev 2007-05-29 14:10:21 UTC
*** Issue 104417 has been marked as a duplicate of this issue. ***
Comment 15 Sherold Dev 2007-08-16 15:53:09 UTC
*** Issue 112975 has been marked as a duplicate of this issue. ***