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 120321 - NullPointerException at java.io.File.<init>
Summary: NullPointerException at java.io.File.<init>
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
: 120322 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-29 10:43 UTC by igorzolnikov
Modified: 2007-10-30 11:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 4223


Attachments
stacktrace (738 bytes, text/plain)
2007-10-29 10:43 UTC, igorzolnikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description igorzolnikov 2007-10-29 10:43:48 UTC
Build: NetBeans IDE 6.0 Beta 2 (Build 200710212201)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Linux, 2.6.22-14-generic, i386

User Comments: 
I have added JBoss 4.2.1 GA server to Tools -> Servers.
Comment 1 igorzolnikov 2007-10-29 10:43:55 UTC
Created attachment 51880 [details]
stacktrace
Comment 2 Petr Hejl 2007-10-29 11:42:33 UTC
Is this reproducible or random?
Comment 3 Petr Hejl 2007-10-29 13:52:00 UTC
*** Issue 120322 has been marked as a duplicate of this issue. ***
Comment 4 Petr Hejl 2007-10-29 17:00:59 UTC
The cause of this issue is th fact that refresh on server nodes is called immediately after server is registered
(InstanceProperties.createInstanceProperties()). When the timing is bad it can request ROOTDIR property before it is set.
Comment 5 Petr Hejl 2007-10-30 11:19:40 UTC
Fixed.

Checking in src/org/netbeans/modules/j2ee/jboss4/ide/JBStartServer.java;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/JBStartServer.java,v  <--  JBStartServer.java
new revision: 1.40; previous revision: 1.39
done