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 25068 - NullPointerException at Startup
Summary: NullPointerException at Startup
Status: RESOLVED DUPLICATE of bug 23216
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-24 08:44 UTC by Dieter Lamberty
Modified: 2002-06-24 10:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stacktrace (1.29 KB, text/plain)
2002-06-24 08:46 UTC, Dieter Lamberty
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dieter Lamberty 2002-06-24 08:44:58 UTC
during startup of NB3.4B2 I got a NullPointerException. 
I'm not sure if this problem is similar to issue 23216 but 
I created the tomcat404/work directories manually at 
nothing changed. Only disabling the module will solve the 
problem (did not need it in the moment). But whatever you 
do with this problem it shouldn't bring a NPE. I use 
Netbeans 3.4B2 (build 200206201555) on Sun JDK 1.4.0_01 
and Win NT4. If you have any other question, please ask me.
Comment 1 Dieter Lamberty 2002-06-24 08:46:25 UTC
Created attachment 6384 [details]
Stacktrace
Comment 2 _ rkubacki 2002-06-24 09:01:39 UTC
It looks like dup of 23216. work is not the only empty dir here. Line
463 refers to logs dir. Probably you get similar stack trace but with
line 462 insead of 463 before you attempted to create work dir.

Can you extract your IDE including the empty dirs?
Comment 3 Dieter Lamberty 2002-06-24 09:23:27 UTC
Ok I did it. Now I get the execption in Line 464. There 
are now some empty directories within the tomcat install 
directory, but in the user directory there is only the log 
and work directory.
Comment 4 Milan Kuchtiak 2002-06-24 10:57:01 UTC
It's really a duplicit bug to 23216. 
It's correct - only 
tomcat404/conf,tomcat404/logs,tomcat404/webapps and 
tomcat404/work should be copied at the first start from 
netbeans_home/tomcat404 to user_dir/tomcat404_base.

The only empty are tomcat404/logs and tomcat404/work.

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