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 26040 - Mount, Local Directory, NullPointerException
Summary: Mount, Local Directory, NullPointerException
Status: VERIFIED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Property Editors (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: akemr
URL:
Keywords:
: 28011 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-26 11:36 UTC by vincewebb
Modified: 2008-12-22 19:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception stack trace (3.92 KB, text/plain)
2002-07-26 12:07 UTC, vincewebb
Details
Netbeans 3.4 ide.log (9.89 KB, text/plain)
2002-07-26 12:28 UTC, vincewebb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vincewebb 2002-07-26 11:36:42 UTC
I have just installed NetBeans 3.3.2, 
I am trying to use it with Java 1.4.0_01.
I am unable to do a mount, I get null pointer
exceptions. The sequence is:
Filesystems
   right click
      Mount
         Local Directory
java.lang.NullPointerException
Comment 1 vincewebb 2002-07-26 12:07:28 UTC
Created attachment 6912 [details]
exception stack trace
Comment 2 vincewebb 2002-07-26 12:25:49 UTC
Installed NetBeans 3.4 RC1, I still get the same problem
Comment 3 vincewebb 2002-07-26 12:28:44 UTC
Created attachment 6913 [details]
Netbeans 3.4 ide.log
Comment 4 Marian Mirilovic 2002-07-26 13:20:54 UTC
I cannot reproduce it on Solaris5.8 & [jdk1.4.0](01), neither on W2000
& [jdk1.4.0](01)

NullPointer from FileEditor :

rg.netbeans.beaninfo.editors.FileEditor.createHackedFileChooser(FileEditor.java:367)
- there is only constructor for JFileChooser and from constructor
arise exception.

CC'ing Ales K. (owner of property editors) for investigation.
Comment 5 vincewebb 2002-07-27 01:33:56 UTC
I got over the problem. I removed java 1.4 installed Java 1.3.1 and
Netbeans started working OK.

I guess something was wrong with my java 1.4 installation ?
......... Vince
Comment 6 akemr 2002-07-29 11:09:53 UTC
I don't understand where could be a problem. In NB code we just call:
new JFileChooser(), and then NPE is then generated from JDK code.
You can try to file a bug against JDK..
Comment 7 akemr 2002-10-15 12:49:58 UTC
*** Issue 28011 has been marked as a duplicate of this issue. ***
Comment 8 pzajac 2002-10-23 10:20:47 UTC
verified. We cannot reproduce this JDK Bug.