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 41901 - I get "Exception occured in Request Processor" when adding a new host to a Tomcat 5 installation
Summary: I get "Exception occured in Request Processor" when adding a new host to a To...
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-11 06:45 UTC by pablor
Modified: 2004-08-04 15:10 UTC (History)
0 users

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 pablor 2004-04-11 06:45:34 UTC
The detail of the error is the following:


Annotation: Exception occurred in Request 
Processor
java.lang.NullPointerException
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Inst
ance.getPortFromFileAttribute
(Tomcat40Instance.java:124)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Inst
ance.getPort(Tomcat40Instance.java:92)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Inst
ance.getID(Tomcat40Instance.java:181)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Inst
allation.updateInstances
(Tomcat40Installation.java:321)
	at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Data
Node.addHost(Tomcat40DataNode.java:130)
	at 
org.netbeans.modules.tomcat.tomcat40.actions.AddH
ostAction.performAction(AddHostAction.java:61)
	at 
org.openide.util.actions.NodeAction$DelegateActio
n.actionPerformed(NodeAction.java:431)
	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)
Comment 1 Petr Jiricka 2004-04-13 13:07:36 UTC
Tomcat 5 is not supported in NetBeans 3.5. To use Tomcat 5, please use
NetBeans 3.6. Marking as fixed in 3.6