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 39674 - Can't load server.xml and NPE when starting external Tomcat from Runtime window
Summary: Can't load server.xml and NPE when starting external Tomcat from Runtime window
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-06 00:39 UTC by Chris Kutler
Modified: 2004-07-09 12:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log (145.91 KB, text/plain)
2004-02-06 00:40 UTC, Chris Kutler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Kutler 2004-02-06 00:39:29 UTC
I shut down NetBeans and stopped the server
(because can't stop from IDE, see #39671). I
restarted NetBeans and tried to start the server
by right-clicking the node, choosing Start / Stop
server and clicking Start. The dialog hangs and
the following appears in the Output window.

Using CATALINA_BASE:   C:\Documents and
Settings\Administrator\My Documents\temp
Using CATALINA_HOME:   C:\Program Files\Apache
Software Foundation\Tomcat 5.0
Using CATALINA_TMPDIR: C:\Documents and
Settings\Administrator\My Documents\temp\temp
Using JAVA_HOME:       C:\Program
Files\j2sdk_nb\j2sdk1.4.2
Feb 5, 2004 4:38:42 PM
org.apache.catalina.startup.Catalina start
INFO: Server startup in 0 ms
java.lang.reflect.InvocationTargetException
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)Can't
load server.xml
Can't load server.xml

        at
java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
Caused by: java.lang.NullPointerException
        at
org.apache.catalina.startup.Catalina.await(Catalina.java:661)
        at
org.apache.catalina.startup.Catalina.start(Catalina.java:621)
        ... 6 more
Comment 1 Chris Kutler 2004-02-06 00:40:03 UTC
Created attachment 13279 [details]
ide.log
Comment 2 Petr Jiricka 2004-02-11 19:41:07 UTC
Chris, I believe this may have been fixed by the fix of issues 39431
and  39331. Can you please verify?
 
Comment 3 Pavel Buzek 2004-02-17 20:52:00 UTC
As Petr is saying this looks like a duplicate + maybe missing base
dir. If you encounter it again please reopen it.
Comment 4 Petr Blaha 2004-07-09 12:45:13 UTC
Verified