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

Summary: Mount, Local Directory, NullPointerException
Product: platform Reporter: vincewebb <vincewebb>
Component: Property EditorsAssignee: akemr <akemr>
Status: VERIFIED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: exception stack trace
Netbeans 3.4 ide.log

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.