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 12717

Summary: Unexpected Exception is thrown when try to use "Run CVS Command"
Product: versioncontrol Reporter: dmladek <dmladek>
Component: CVSAssignee: issues@versioncontrol <issues>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description dmladek 2001-06-08 20:56:55 UTC
[NBdev-206]
rh70, jdk1.3.1
===============

When you click on button "Browse" for Working directory in the dialog
"Run CVS Command" the NPE is thrown

Fri Jun 08 21:56:29 CEST 2001: java.lang.NullPointerException: null
java.lang.NullPointerException
        at java.io.File.<init>(File.java:180)
        at
org.netbeans.modules.cvsclient.ToolsCvsExecutionPanel.btnCurrentDirActionPerformed(ToolsCvsExecutionPanel.java:272)
        at
org.netbeans.modules.cvsclient.ToolsCvsExecutionPanel.access$300(ToolsCvsExecutionPanel.java:52)
[catch] at
org.netbeans.modules.cvsclient.ToolsCvsExecutionPanel$3.actionPerformed(ToolsCvsExecutionPanel.java:172)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
        at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
        at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
        at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
        at java.awt.Component.processMouseEvent(Component.java:3715)
        at java.awt.Component.processEvent(Component.java:3544)
        at java.awt.Container.processEvent(Container.java:1164)
        at java.awt.Component.dispatchEventImpl(Component.java:2593)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        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:914)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Comment 1 dmladek 2001-06-08 21:48:50 UTC
here's the E. printed in console:
---------------------------------
java.io.IOException: není souborem ani adresáøem
	at
org.netbeans.lib.cvsclient.response.CheckedInResponse.process(CheckedInResponse.java:74)
	at org.netbeans.lib.cvsclient.Client.handleResponse(Client.java:433)
	at org.netbeans.lib.cvsclient.Client.processRequests(Client.java:398)
	at org.netbeans.lib.cvsclient.command.add.AddCommand.execute(AddCommand.java:403)
	at org.netbeans.lib.cvsclient.Client.executeCommand(Client.java:471)
	at
org.netbeans.modules.javacvs.commands.FileSystemCommand.run(FileSystemCommand.java:427)
	at java.lang.Thread.run(Thread.java:484)
Comment 2 Milos Kleint 2001-06-11 08:37:14 UTC
shoudl be fixed in dev build 208. 
Please double-check. I wasn't able to reproduce it on my machine but I've added
a sanity check that should handle it.
Comment 3 dmladek 2001-06-11 16:03:54 UTC
reproduction on [NBdev-207] on linux is easy for 100%

waiting for [NBdev-208]......
Comment 4 dmladek 2001-06-12 09:45:15 UTC
ok:-)
Comment 5 Quality Engineering 2003-07-01 12:48:47 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.