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 23016 - NPE during each ide start up
Summary: NPE during each ide start up
Status: RESOLVED DUPLICATE of bug 26570
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: Damian Frach
URL:
Keywords:
Depends on:
Blocks: 23216
  Show dependency tree
 
Reported: 2002-05-01 21:00 UTC by Jan Pokorsky
Modified: 2006-06-05 00:51 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
ide.log (9.19 KB, text/plain)
2002-05-01 21:02 UTC, Jan Pokorsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Pokorsky 2002-05-01 21:00:29 UTC
Observed in builds: dev-200205010100, QBE200204250100-200204260820
Comment 1 Jan Pokorsky 2002-05-01 21:02:38 UTC
Created attachment 5616 [details]
ide.log
Comment 2 Milan Kuchtiak 2002-05-02 09:06:50 UTC
I need some extra information :

- do you have directory netbeans_home/tomcat401 before 
starting IDE ?
- do you have netbeans_home/tomcat401/work subdirectory 
there ?

It seems that somethink was missing.
Comment 3 Jan Pokorsky 2002-05-02 13:35:20 UTC
If you mean either install_dir or user_dir by netbeans_home then not. 
It was clean instalation (unziped) with clean userdir.
Comment 4 _ rkubacki 2002-05-02 14:46:02 UTC
I checked NetBeansIDE-dev-200205010100.zip and
NetBeansIDE-dev-200205010100.tar.gz. Both contain tomcat401
directories with bundled Tomcat. So it looks that your instalation is
corrupted.

It has to work even without this dir but it is not critical issue now.
Comment 5 Milan Kuchtiak 2002-05-02 15:21:18 UTC
I am marking this bug as INVALID, because most likely you 
had a corrupted build. (There wasn't tomcat401 subdirectory 
there in install_dir).
Comment 6 Milan Kuchtiak 2002-05-02 16:06:12 UTC
We discussed the issue again with the reporter. The bug was 
caused by a strange unpacking of the build from the zip 
file.

However there is a unreasonable copy operation at the first 
start :

- empty "ide_install/tomcat401/work" directory is being 
copied to "user_dir/tomcat401_base/work" directory.

I suggest simply to create 
new "user_dir/tomcat401_base/work" directory.

I am changing the issue type to TASK.
Comment 7 Damian Frach 2002-05-17 10:05:48 UTC
we had wide discussion about this problem

because we have in the IDE about 15 empty directories and 
we do not want to chack evry time, if these empty folders 
exist, it is not a bug for us

empty dirs are in the IDE installation archives. it means, 
they are important for IDE. if your unzip SW thinks, it is 
not important for its, so it is its responsibility
Comment 8 Jan Pokorsky 2002-05-17 16:16:16 UTC
Sorry but I still do not see NPE stack trace as a correct notification 
to user. You should at least notify what is missing.
Comment 9 gthb 2002-05-17 17:34:15 UTC
I have to agree. Assuming, say, 25% of Windows Netbeans
users will 
download archives rather than installers, and 25%
of those use WinZip, 
then that's thousands of developers
who see their (quality-certified) 
Netbeans builds throwing
NPEs at startup every time, with no 
indication of what's
wrong. Each one of them has to go through the 
IssueZilla and
hopefully find this bug without wasting too much of 
their
time. When an app throws NPEs at you, your confidence
in that app 
drops. NPEs displayed to the user are simply
unacceptable handling of a 
known, predictable, common error
-- no matter whose fault that error 
is.
Comment 10 _ rkubacki 2002-05-20 08:05:50 UTC
Maybe it would be usefull to document this on download page. The final
solution depends on general policy so we should discuss it on nbdev.
Comment 11 Marek Grummich 2002-07-22 11:41:14 UTC
Set target milestone to TBD
Comment 12 Damian Frach 2002-09-11 19:07:41 UTC

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