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 36217 - When trying to view html, get exception
Summary: When trying to view html, get exception
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-22 00:30 UTC by dstampf
Modified: 2004-02-06 13:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dstampf 2003-09-22 00:30:09 UTC
This is a new installation of netbeans on windows
XP from the zip file. I create a new project.
Mount an empty directory. Create a new html file.
Don't add anything to it. Click on the green
arrow. It prompts me to create a web module. I
accept. Then a dialog box appears with an error
message:

Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
	at
org.netbeans.modules.tomcat.tomcat40.Tomcat40DataObject.setNewContext(Tomcat40DataObject.java:655)
	at
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.setTestComponent(Tomcat40Installation.java:743)
	at
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.incrementalDeploy(Tomcat40Installation.java:685)
	at
org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.deploy(Tomcat40Instance.java:273)
	at
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.doDeploy(DefaultServerInstanceManager.java:120)
	at
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.startExecution(DefaultServerInstanceManager.java:140)
	at
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.serverInstanceStartExecution(DefaultServerInstanceManager.java:85)
	at
org.netbeans.modules.j2ee.impl.DefaultExecPerformer.startExecution(DefaultExecPerformer.java:67)
	at
org.netbeans.modules.web.execution.WebDefaultExecPerformer.startExecution(WebDefaultExecPerformer.java:238)
	at
org.netbeans.modules.j2ee.impl.ServerExecutor.execute(ServerExecutor.java:69)
	at
org.netbeans.modules.j2ee.impl.ExecSupport.start(ExecSupport.java:122)
	at
org.netbeans.modules.j2ee.impl.ServerExecSupport.start(ServerExecSupport.java:140)
	at
org.openide.actions.ExecuteAction.execute(ExecuteAction.java:140)
	at
org.openide.actions.ExecuteAction.execute(ExecuteAction.java:217)
	at
org.openide.actions.ExecuteAction.performAction(ExecuteAction.java:102)
	at
org.openide.util.actions.NodeAction.performAction(NodeAction.java:184)
	at
org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:175)
	at
org.netbeans.core.ModuleActions$1.run(ModuleActions.java:97)
	at org.openide.util.Task.run(Task.java:136)
	at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670)


I believe this worked in the past, but last night
it started failing. I deleted the previous
installation of netbeans and the .netbeans
directory. Then I downloaded a fresh copy,
re-installed and re-ran with the same error.

I also have jwsdp installed, but their version of
tomcat is not running.

Thanks

Dave
Comment 1 _ rkubacki 2003-09-22 08:04:30 UTC
I guess this one is fixed in trunk (comes from Tomcat plugin).
Comment 2 Milan Kuchtiak 2004-02-06 13:29:49 UTC
The issue is not relevant any more for 3.6.
Tomcat4 was replaced by Tomcat5 plugin.