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 17828 - NullPointerException in property change while mounting CVS filesystem
Summary: NullPointerException in property change while mounting CVS filesystem
Status: CLOSED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 3.x
Hardware: PC Windows 95/98
: P1 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-19 13:05 UTC by _ Shanmugavel
Modified: 2007-01-04 17:14 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 _ Shanmugavel 2001-11-19 13:05:03 UTC
I queried issuezilla but can not anything, bear with me if i am resubmitting, 
Thanks.

JDK 1.3

Steps to reproduce.

1. Mount a CVS file system.
2. Restart IDE.
3. Mount another CVS file system.

NullPointerException in PropertyChangeSupport class. Could not add any CVS file 
system hereafter.

Workaround, unmount all mounted CVS file systems. Now, mount all required CVS 
filesystems in one go.

I felt this is a show stopper.


-------------------------------------------------------------------------------
>Log Session: Monday, November 19, 2001 5:17:16 PM GMT+05:30
>System Info: 
  Product Version       = NetBeans IDE, Development Version (Build 200111031301)
  IDE Versioning        = IDE/1 spec=1.43 impl=200111031301
  Operating System      = Windows 98 version 4.10 running on x86
  Java; VM; Vendor      = 1.3.0; Java HotSpot(TM) Client VM 1.3.0-C; Sun 
Microsystems Inc.
  Java Home             = C:\JDK1.3\JRE
  System Locale         = en_US
  Home Dir; Current Dir = C:\WINDOWS; C:\netbeans\bin
  IDE Install; User Dir = C:\NETBEANS; c:\nbu
  CLASSPATH             = C:\NETBEANS\lib\patches\openide-
compat.jar;C:\NETBEANS\lib\core.jar;C:\NETBEANS\lib\openide.jar;C:\NETBEANS\lib\
ext\parser.jar;C:\NETBEANS\lib\ext\servlet.jar;C:\NETBEANS\lib\ext\jaxp.jar;C:\N
ETBEANS\lib\ext\jh.jar;C:\NETBEANS\lib\ext\xerces.jar;C:\NETBEANS\lib\ext\sax2.j
ar;C:\NETBEANS\lib\ext\terminalemulator.jar;C:\NETBEANS\lib\ext\crimson.jar;C:\N
ETBEANS\lib\ext\regexp.jar;C:\NETBEANS\lib\ext\rmi-ext.jar;C:\jdk1.3
\lib\dt.jar;C:\jdk1.3\lib\tools.jar
-------------------------------------------------------------------------------
Existing modules:
	Ant [org.apache.tools.ant.module/2 2.7 200111031301]
	Applet [org.netbeans.modules.applet/1 1.7 200111031301]
	Auto Update [org.netbeans.modules.autoupdate/1 1.7 200111031301]
	Bean Patterns [org.netbeans.modules.beans/1 1.7 200111031301]
	Built-in CVS Client [org.netbeans.modules.cvsclient/1 1.4 200111031301]
	CVS Command-Line Client Support Converter 
[org.netbeans.modules.vcs.cmdline.compat/1 1.0 200111031301]
	Editor [org.netbeans.modules.editor/1 1.8 200111031301]
	External HTML Browser [org.netbeans.modules.extbrowser/1 0.3 
200111031301]
	Form Editor [org.netbeans.modules.form/2 1.7 200111031301]
	General Online Help [org.netbeans.modules.usersguide/1 1.8 200111031301]
	HTML [org.netbeans.modules.html/1 1.8 200111031301]
	HTTP Server [org.netbeans.modules.httpserver/1 1.7 200111031301]
	IDE Core [org.netbeans.core/1 1.1]
	Image [org.netbeans.modules.image/1 1.7 200111031301]
	Internationalization [org.netbeans.modules.i18n/1 1.9 200111031301]
	Internationalization of Form [org.netbeans.modules.i18n.form/2 1.8 
200111031301]
	JAR Packager [org.netbeans.modules.jarpackager/2 1.9 200111031301]
	JNDI [org.netbeans.modules.jndi/1 1.4 200111031301]
	JPDA Debugger [org.netbeans.modules.debugger.jpda/1 1.9 200111031301]
	JSP Syntax Coloring [org.netbeans.modules.web.core.syntax/1 1.5 
200111031301]
	JSP/Servlet [org.netbeans.modules.web.core/1 1.5 200111031301]
	Java Source Files [org.netbeans.modules.java/1 1.7 200111031301]
	Javadoc [org.netbeans.modules.javadoc/1 1.7 200111031301]
	New Module Wizard [org.netbeans.modules.apisupport.lite/1 0.2 
200111031301]
	Projects [org.netbeans.modules.projects/1 1.7 200111031301]
	RMI [org.netbeans.modules.rmi/1 1.4 200111031301]
	Resource Bundle Syntax Coloring 
[org.netbeans.modules.properties.syntax/1 1.7 200111031301]
	Resource Bundles [org.netbeans.modules.properties/1 1.7 200111031301]
	Scripting Support [org.netbeans.modules.scripting/1 1.4 200111031301]
	Sourceless Java Classes [org.netbeans.modules.clazz/1 1.8 200111031301]
	Text [org.netbeans.modules.text/1 1.7 200111031301]
	Tomcat 3.2 Server [org.netbeans.modules.web.tomcat/1 1.3 200111031301]
	Tools Debugger [org.netbeans.modules.debugger.debug/1 1.9 200111031301]
	User Utilities [org.netbeans.modules.utilities/1 1.7 200111031301]
	VCS Generic Command-Line Support [org.netbeans.modules.vcs.advanced/1 
1.5 200111031301]
Turning off modules:
	CVS Command-Line Client Support Converter 
[org.netbeans.modules.vcs.cmdline.compat/1 1.0 200111031301]
	Internationalization [org.netbeans.modules.i18n/1 1.9 200111031301]
	Internationalization of Form [org.netbeans.modules.i18n.form/2 1.8 
200111031301]
	JNDI [org.netbeans.modules.jndi/1 1.4 200111031301]
	New Module Wizard [org.netbeans.modules.apisupport.lite/1 0.2 
200111031301]
	RMI [org.netbeans.modules.rmi/1 1.4 200111031301]
	Scripting Support [org.netbeans.modules.scripting/1 1.4 200111031301]
-------------------------------------------------------------------------------
>Log Session: Monday, November 19, 2001 5:21:53 PM GMT+05:30
>System Info: 
  Product Version       = NetBeans IDE, Development Version (Build 200111031301)
  IDE Versioning        = IDE/1 spec=1.43 impl=200111031301
  Operating System      = Windows 98 version 4.10 running on x86
  Java; VM; Vendor      = 1.3.0; Java HotSpot(TM) Client VM 1.3.0-C; Sun 
Microsystems Inc.
  Java Home             = C:\JDK1.3\JRE
  System Locale         = en_US
  Home Dir; Current Dir = C:\WINDOWS; C:\netbeans\bin
  IDE Install; User Dir = C:\NETBEANS; c:\nbu
  CLASSPATH             = C:\NETBEANS\lib\patches\openide-
compat.jar;C:\NETBEANS\lib\core.jar;C:\NETBEANS\lib\openide.jar;C:\NETBEANS\lib\
ext\parser.jar;C:\NETBEANS\lib\ext\servlet.jar;C:\NETBEANS\lib\ext\jaxp.jar;C:\N
ETBEANS\lib\ext\jh.jar;C:\NETBEANS\lib\ext\xerces.jar;C:\NETBEANS\lib\ext\sax2.j
ar;C:\NETBEANS\lib\ext\terminalemulator.jar;C:\NETBEANS\lib\ext\crimson.jar;C:\N
ETBEANS\lib\ext\regexp.jar;C:\NETBEANS\lib\ext\rmi-ext.jar;C:\jdk1.3
\lib\dt.jar;C:\jdk1.3\lib\tools.jar
-------------------------------------------------------------------------------
Existing modules:
	Ant [org.apache.tools.ant.module/2 2.7 200111031301]
	Applet [org.netbeans.modules.applet/1 1.7 200111031301]
	Auto Update [org.netbeans.modules.autoupdate/1 1.7 200111031301]
	Bean Patterns [org.netbeans.modules.beans/1 1.7 200111031301]
	Built-in CVS Client [org.netbeans.modules.cvsclient/1 1.4 200111031301]
	Editor [org.netbeans.modules.editor/1 1.8 200111031301]
	External HTML Browser [org.netbeans.modules.extbrowser/1 0.3 
200111031301]
	Form Editor [org.netbeans.modules.form/2 1.7 200111031301]
	General Online Help [org.netbeans.modules.usersguide/1 1.8 200111031301]
	HTML [org.netbeans.modules.html/1 1.8 200111031301]
	HTTP Server [org.netbeans.modules.httpserver/1 1.7 200111031301]
	IDE Core [org.netbeans.core/1 1.1]
	Image [org.netbeans.modules.image/1 1.7 200111031301]
	JAR Packager [org.netbeans.modules.jarpackager/2 1.9 200111031301]
	JPDA Debugger [org.netbeans.modules.debugger.jpda/1 1.9 200111031301]
	JSP Syntax Coloring [org.netbeans.modules.web.core.syntax/1 1.5 
200111031301]
	JSP/Servlet [org.netbeans.modules.web.core/1 1.5 200111031301]
	Java Source Files [org.netbeans.modules.java/1 1.7 200111031301]
	Javadoc [org.netbeans.modules.javadoc/1 1.7 200111031301]
	Projects [org.netbeans.modules.projects/1 1.7 200111031301]
	Resource Bundle Syntax Coloring 
[org.netbeans.modules.properties.syntax/1 1.7 200111031301]
	Resource Bundles [org.netbeans.modules.properties/1 1.7 200111031301]
	Sourceless Java Classes [org.netbeans.modules.clazz/1 1.8 200111031301]
	Text [org.netbeans.modules.text/1 1.7 200111031301]
	Tomcat 3.2 Server [org.netbeans.modules.web.tomcat/1 1.3 200111031301]
	Tools Debugger [org.netbeans.modules.debugger.debug/1 1.9 200111031301]
	User Utilities [org.netbeans.modules.utilities/1 1.7 200111031301]
	VCS Generic Command-Line Support [org.netbeans.modules.vcs.advanced/1 
1.5 200111031301]
*********** Exception occurred ************
Mon Nov 19 17:24:40 GMT+05:30 2001: java.lang.NullPointerException: null
java.lang.NullPointerException
	at java.beans.PropertyChangeSupport.firePropertyChange
(PropertyChangeSupport.java:152)
	at org.openide.util.SharedClassObject.firePropertyChange(Unknown Source)
	at org.openide.options.SystemOption.firePropertyChange(Unknown Source)
	at org.netbeans.modules.cvsclient.JavaCvsSettings.generalSettingsChanged
(Unknown Source)
	at org.netbeans.modules.cvsclient.JavaCvsSettings.access$000(Unknown 
Source)
	at org.netbeans.modules.cvsclient.JavaCvsSettings$1.propertyChange
(Unknown Source)
	at org.openide.util.WeakListener$PropertyChange.propertyChange(Unknown 
Source)
	at java.beans.PropertyChangeSupport.firePropertyChange
(PropertyChangeSupport.java:152)
	at org.openide.util.SharedClassObject.firePropertyChange(Unknown Source)
	at org.openide.options.SystemOption.firePropertyChange(Unknown Source)
	at org.netbeans.modules.vcscore.settings.GeneralVcsSettings.setHome
(Unknown Source)
	at 
org.netbeans.modules.vcscore.wizard.mountcvs.CvsMountFS.setBuiltInFSParams
(Unknown Source)
	at org.netbeans.modules.vcscore.wizard.mountcvs.CvsMountFS.setupClientFS
(Unknown Source)
	at 
org.netbeans.modules.vcscore.wizard.mountcvs.MountCvsWizard.getClientFS(Unknown 
Source)
	at 
org.netbeans.modules.vcscore.wizard.mountcvs.MountCvsWizard.instantiate(Unknown 
Source)
	at org.openide.loaders.TemplateWizard.handleInstantiate(Unknown Source)
	at org.netbeans.core.ui.MountNode$TW.run(Unknown Source)
	at org.openide.filesystems.EventControl.runAtomicAction(Unknown Source)
	at org.openide.filesystems.FileSystem.runAtomicAction(Unknown Source)
	at org.netbeans.core.ui.MountNode$TW.handleInstantiate(Unknown Source)
	at org.openide.loaders.TemplateWizard.instantiateImpl(Unknown Source)
	at org.openide.loaders.TemplateWizard.instantiate(Unknown Source)
	at 
org.openide.actions.NewTemplateAction$TemplateActionListener.acceptNodes
(Unknown Source)
	at org.openide.explorer.view.MenuView$MenuItem.doClick(Unknown Source)
	at 
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased
(BasicMenuItemUI.java:886)
	at java.awt.Component.processMouseEvent(Component.java:3717)
	at java.awt.Component.processEvent(Component.java:3546)
	at java.awt.Container.processEvent(Container.java:1164)
	at java.awt.Component.dispatchEventImpl(Component.java:2595)
	at java.awt.Container.dispatchEventImpl(Container.java:1213)
	at java.awt.Component.dispatchEvent(Component.java:2499)
	at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:2451)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
	at java.awt.Container.dispatchEventImpl(Container.java:1200)
	at java.awt.Window.dispatchEventImpl(Window.java:912)
	at java.awt.Component.dispatchEvent(Component.java:2499)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
[catch] at java.awt.EventDispatchThread.pumpOneEvent
(EventDispatchThread.java:103)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Comment 1 Martin Entlicher 2001-11-19 13:15:22 UTC
A problem in javacvs module probably.
Comment 2 Jiri Kovalsky 2001-11-19 13:17:38 UTC
I'll try to take a look and verify this on Windows 98. Stand by ...
Comment 3 Jiri Kovalsky 2001-11-19 13:35:18 UTC
Confirming this on Windows 98. Thanks for catching this, Shanmugavel !
Comment 4 Milos Kleint 2001-11-19 13:36:33 UTC
working on it.
Comment 5 Milos Kleint 2001-11-20 09:06:04 UTC
fixed in 21/Nov/2001 build. Thanks for reporting... please reopen the
bug in case it still doesn't work for you..
Comment 6 Jiri Kovalsky 2001-11-21 08:57:21 UTC
Cool. Verified in development build of NetBeans 3.3 #200111210100.
Comment 7 _ Shanmugavel 2001-11-21 09:59:17 UTC
Great! Thanks for the speedy response.