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 10261 - New Project in 3.2 leads to a NullPointerException.
Summary: New Project in 3.2 leads to a NullPointerException.
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: icebrowser (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-13 21:07 UTC by ajacobs3
Modified: 2001-07-20 20:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ajacobs3 2001-03-13 21:07:00 UTC
Creation of a new project generates an exception.  The traceback is
different from that in issue #9428.

The IDE was started off with the command line
  % runide.sh -jdkhome /usr/local/java/jdk1.3.0_01/binaries/solsparc -native
from within the netbeans/bin directory.

System info ----------------------------------------------------------------
  Product Version       = NetBeans IDE, Release 3.2 beta (Build 2)
  IDE Versioning        = IDE/1 spec=1.2.1 impl=2
  Operating System      = SunOS version 5.8 running on sparc
  Java; VM; Vendor      = 1.3.0_01; Java HotSpot(TM) Client VM 1.3.0_01; Sun
Microsystems Inc.
  Java Home             = /usr/local/java/jdk1.3.0_01/binaries/solsparc/jre
  System Locale         = en
  Home Dir; Current Dir = /home/ajacobs;
/export/home/ajacobs/Netbeans3.2_beta/netbeans/bin
  IDE Install; User Dir = /export/home/ajacobs/Netbeans3.2_beta/netbeans;
/home/ajacobs/nbuser32

In the Main window, click on menu item Project=>Project Manager.
In the "Manage Projects" window, click on New.
A dialog asks "Save current project?"  Answer Yes.
A dialog asks
 "Do you want to create a parser database for filesystem:
  /home/ajacobs/nbuser32/samples?"
Answer No

A dialog "Errors during project open" appears claiming that
 "Errors occured whil opening project NewProject:
    org.netbeans.modules.icebrowser.ICEBrowserSettings
In the text are labeled "Details of the selected error, it says
"ErrorTypeSC0".

Select the path org.netbeans.modules.icebrowser.ICEBrowserSettings
and click on the ShowException button.  An Exception dialog will
appear.  This dialog has a trace in it.  The scrollbars in the dialog
do not work.  This is a bug.  To see the entire trace, resize
the dialog.  It reads:

Tue Mar 13 12:42:45 PST 2001java.lang.NullPointerException: null
Annotation: Type= 2, name = org.netbeans.modules.icebrowser.ICEBrowserSettings
java.lang.NullPointerException
    at
org.netbeans.modules.icebrowser.IceBrowserImpl$IceListener.propertyChange(IceBrowserImpl.java:654)
    at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:152)
    at
org.openide.util.SharedClassObject.firePropertyChange(SharedClassObject.java:333)
    at org.openide.options.SystemOption.firePropertyChange(SystemOption.java:82)
    at org.openide.options.SystemOption.readExternal(SystemOption.java:262)
    at
org.openide.util.SharedClassObject$writeReplace.readObject(SharedClassObject.java:474)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2213)
    at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1410)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
    at
org.netbeans.modules.projects.content.XMLSupport.deserializeValue(XMLSupport.java:97)
    at
org.netbeans.modules.projects.content.XMLSupport.decodeValue(XMLSupport.java:84)
    at
org.netbeans.modules.projects.content.XMLProjectContent$XMLSettings.read(XMLProjectContent.java:594)
    at org.netbeans.modules.projects.PSupport.projectOpen(PSupport.java:231)
    at org.netbeans.core.NbProjectOperation.setProject(NbProjectOperation.java:145)
    at org.netbeans.modules.projects.PSupport.projectOpen(PSupport.java:231)
    at org.netbeans.modules.projects.PSupport(PSupport.java:756)
    at
org.netbeans.modules.projects.NewProjectAction.performAction(NewProjectAction.java:82)
    at
org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:66)
    at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:76)
    at org.openide.util.Task.run(Task.java:124)
    at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:567)

The first dialog that should be dismissed is the trace, but there is another error
in the dialog setup.  Dismiss the dialog labeled "Errors during project open" by
clicking
OK.  Dismiss the traceback by closing the window.
Comment 1 David Strupl 2001-03-14 09:39:49 UTC
Thanks for the detailed bug report. I wish all reports being like this.
Reassigning to the icebrowser. If you don't agree please reassign back.
Comment 2 _ rkubacki 2001-03-22 07:57:38 UTC
fixed in trunk and NB3.2 with bug #10359
Comment 3 Jan Chalupa 2001-05-05 22:48:07 UTC
Target milestone -> 3.2