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 174066 - [68cat] NullPointerException at org.netbeans.modules.tomcat5.util.ServerLog.<init>
Summary: [68cat] NullPointerException at org.netbeans.modules.tomcat5.util.ServerLog.<...
Status: RESOLVED DUPLICATE of bug 172219
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-08 12:40 UTC by nleck
Modified: 2009-10-09 14:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 159788


Attachments
stacktrace (671 bytes, text/plain)
2009-10-08 12:40 UTC, nleck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nleck 2009-10-08 12:40:31 UTC
Build: NetBeans IDE 6.8 Beta (Build 200910022101)
VM: Java HotSpot(TM) Client VM, 1.5.0_18-b02, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_18-b02
OS: SunOS, 5.10, sparc

User Comments:
nleck: Trying to start tomcat.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.tomcat5.util.ServerLog.<init>(ServerLog.java:105)
        at org.netbeans.modules.tomcat5.util.LogManager.openServerLog(LogManager.java:99)
        at org.netbeans.modules.tomcat5.ide.StartTomcat$StartRunnable.openLogs(StartTomcat.java:581)
        at org.netbeans.modules.tomcat5.ide.StartTomcat$StartRunnable.run(StartTomcat.java:544)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
Comment 1 nleck 2009-10-08 12:40:36 UTC
Created attachment 89088 [details]
stacktrace
Comment 2 Petr Hejl 2009-10-08 16:37:33 UTC
Please specify precise steps to reproduce.
Comment 3 nleck 2009-10-08 21:55:03 UTC
It was the first time that I tried to use a tomcat server that had been previously defined in 6.0. 

When I tried to start the tomcat server I noticed it lost it's name. 

I removed the tomcat server and defined a new one and everything worked well. 
Comment 4 Petr Hejl 2009-10-08 22:03:18 UTC
Could it be duplicate of issue 172219?
Comment 5 nleck 2009-10-08 22:05:00 UTC
It could well be. It's an issue with importing the settings, when I create a new server everything is fine. 
Comment 6 Petr Hejl 2009-10-09 14:04:19 UTC
Unless we get more duplicates I would consider it duplicate (in fact manifestation of) issue 172219.

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