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 13329 - NullPointerException on "commit"
Summary: NullPointerException on "commit"
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscvs (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-06-29 19:21 UTC by Kevin Williams
Modified: 2001-08-27 14:56 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 Kevin Williams 2001-06-29 19:21:33 UTC
>Log Session: Friday, June 29, 2001 11:59:54 AM MDT
>System Info: 
  Product Version       = NetBeans IDE 3.2 (Build 39)
  IDE Versioning        = IDE/1 spec=1.2.1 impl=39
  Operating System      = Windows 2000 version 5.0 running on x86
  Java; VM; Vendor      = 1.3.1; Java HotSpot(TM) Client VM 1.3.1-b24; Sun 
Microsystems Inc.
  Java Home             = C:\java\jdk1.3.1\jre
  System Locale         = en_US
  Home Dir; Current Dir = C:\Documents and Settings\kwilliams; c:\java\netbeans
  IDE Install; User Dir = C:\java\netbeans; C:\Documents and 
Settings\kwilliams\Local Settings\Application Data\netbeans
  CLASSPATH             = C:\java\netbeans\lib\patches\openide-
compat.jar;C:\java\netbeans\lib\core.jar;C:\java\netbeans\lib\openide-
fs.jar;C:\java\netbeans\lib\openide-nodes.jar;C:\java\netbeans\lib\openide-
util.jar;C:\java\netbeans\lib\openide.jar;C:\java\netbeans\lib\ext\jaxp.jar;C:\j
ava\netbeans\lib\ext\jh.jar;C:\java\netbeans\lib\ext\jpython.jar;C:\java\netbean
s\lib\ext\parser.jar;C:\java\netbeans\lib\ext\regexp.jar;C:\java\netbeans\lib\ex
t\rmi-
ext.jar;C:\java\netbeans\lib\ext\sax2.jar;C:\java\netbeans\lib\ext\servlet.jar;C
:\java\netbeans\lib\ext\xerces.jar;C:\java\jdk1.3.1\lib\dt.jar;C:\java\jdk1.3.1
\lib\tools.jar
-------------------------------------------------------------------------------
[INFO] Loaded modules: org.netbeans.core/1 (1.0/unspec); 
org.apache.tools.ant.module/2 (2.2.1/39); org.netbeans.modules.autoupdate/1 
(1.6.1/39); org.netbeans.modules.clazz/1 (1.6.1/39); 
org.netbeans.modules.debugger.core/2 (2.0.1/39); org.netbeans.modules.applet/1 
(1.6.1/39); org.netbeans.modules.debugger.debug/1 (1.8.1/39); 
org.netbeans.modules.debugger.jpda/1 (1.8.1/39); org.netbeans.modules.editor/1 
(1.7.1/39); org.netbeans.modules.html/1 (1.7.1/39); 
org.netbeans.modules.httpserver/1 (1.6.1/39); org.netbeans.modules.extbrowser/1 
(0.2.1/39); org.netbeans.modules.icebrowser/1 (1.6.1/39); 
org.netbeans.modules.image/1 (1.6.1/39); org.netbeans.modules.jarpackager/2 
(1.6.1/39); org.netbeans.modules.java/1 (1.6.1/39); 
org.netbeans.modules.beans/1 (1.6.1/39); org.netbeans.modules.form/2 
(1.6.1/39); org.netbeans.modules.javadoc/1 (1.6.1/39); 
org.netbeans.modules.jndi/1 (1.4/39); org.netbeans.modules.objectbrowser/1 
(1.6.1/39); org.netbeans.modules.projects/1 (1.6.1/39); 
org.netbeans.modules.properties/1 (1.6.1/39); org.netbeans.modules.i18n/1 
(1.7/39); org.netbeans.modules.i18n.form/2 (1.7/39); 
org.netbeans.modules.properties.syntax/1 (1.6.1/39); 
org.netbeans.modules.text/1 (1.6.1/39); org.netbeans.modules.usersguide/1 
(1.7.1/39); org.netbeans.modules.web.core/1 (1.2.1/39); 
org.netbeans.modules.web.core.syntax/1 (1.2.1/39); org.openidex.util/1 
(1.7.1/39); org.netbeans.modules.scripting/1 (1.3.1/39); 
org.netbeans.modules.utilities/1 (1.6.1/39); 
org.netbeans.modules.apisupport.lite/1 (0.1.1/39); org.netbeans.modules.rmi/1 
(1.3.1/39); org.netbeans.modules.vcscore/1 (1.4.1/39); 
org.netbeans.modules.cvsclient/1 (1.3.1/39); 
org.netbeans.modules.vcs.advanced/1 (1.4.1/39); 
org.netbeans.modules.vcs.cmdline/1 (1.7.1/39)
path="" :jsp: init
WARNING: C:\java\jdk1.3.1\jre\classes cannot be opened
org.openide.filesystems.FSException: Root C:\java\jdk1.3.1\jre\classes does not 
exist.
*********** Exception occurred ************
Fri Jun 29 12:04:52 MDT 2001: java.lang.NullPointerException: null
java.lang.NullPointerException
	at org.openide.loaders.DataLoaderPool.getPreferredLoader
(DataLoaderPool.java:390)
	at org.openide.loaders.DataLoaderPool.findDataObject
(DataLoaderPool.java:345)
	at org.openide.loaders.DataLoaderPool.findDataObject
(DataLoaderPool.java:319)
	at org.openide.loaders.DataObject.find(DataObject.java:425)
	at org.netbeans.modules.vcscore.VcsAction.assureFilesSaved
(VcsAction.java:389)
	at org.netbeans.modules.vcscore.VcsAction.doCommand(VcsAction.java:267)
	at org.netbeans.modules.vcscore.VcsAction.doCommand(VcsAction.java:248)
	at org.netbeans.modules.vcscore.VcsAction.doCommand(VcsAction.java:234)
	at org.netbeans.modules.vcs.cmdline.commands.CvsCommit.doCommit
(CvsCommit.java:265)
	at org.netbeans.modules.vcs.cmdline.commands.CvsCommit.exec
(CvsCommit.java:315)
	at org.netbeans.modules.vcscore.cmdline.ExecuteCommand.runClass
(ExecuteCommand.java:416)
	at org.netbeans.modules.vcscore.cmdline.ExecuteCommand.run
(ExecuteCommand.java:479)
[catch] at java.lang.Thread.run(Thread.java:484)
Comment 1 Jiri Kovalsky 2001-07-09 13:24:29 UTC
Could you please Kevin provide us with more details about what you did
? Does it mean that you have say [Locally Modified; 1.1] file and each
attempt to do "CVS|Commit" fails and throws NPE ? We would really app-
reciate any reproducable case. I am interested what build of NetBeans 
and version of CVS do you use ...
Comment 2 Kevin Williams 2001-07-12 17:27:14 UTC
Thank you for your reply. You can find details of my NetBeans build 
and JVM in the dump I originally included. My CVS is set for command-
line client support. I'm using CVSNT 1.10.8 server with "pserver" 
authentication on a Windows 2000 Advanced Server behind a Microsoft 
ISA Server firewall, and the command-line client that NetBeans is 
using is the client that comes with the CVSNT distribution.

The source code shows [Locally Modified; 1.2] after I save, and I am 
logged in to CVS. I select "commit" and the NPE shows up.

I wonder why my error details show a 
org.openide.filesystems.FSException trying to open c:\java\jdk1.3.1
\jre\classes?

By the way, Issuezilla wouldn't let me log in unless I registered 
with a new username - I couldn't log in under the e-mail address I 
submitted the original issue under.
Comment 3 Martin Entlicher 2001-07-16 17:54:58 UTC
This problem is already fixed in the dev builds. Can you please try it
there to see if it works right? However, the "commit" works for me
right even in 3.2. Does the file you are committing contain some
spaces, or some strange characters like ', ", `, etc?
Comment 4 Jiri Kovalsky 2001-08-27 14:56:51 UTC
We couldn't reproduce the problem. I am verifying the issue.