[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

NPE exception when trying to commit files

From: Řyvind Harboe <oyvind.harboe_at_zylin.com>
Date: 2005-11-07 12:14:33 CET

Using Subclipse 0.9.37. The problem also existed before I upgraded
today.

1. When I try to commit three particular files, I get the NPE below.
   Using JavaSVN.

2. Switching to JavaHL, gave a different error message. Further down in
   email.

2. I was going to check out the SVN source to try to track down the
   problem using the instructions below, but that didn't work either.
   Has the SVN repository moved?

http://subclipse.tigris.org/servlets/ProjectSource

$ svn checkout http://subclipse.tigris.org/svn/subclipse/trunk subclipse
--user
name guest
svn: PROPFIND request failed on '/svn/subclipse/trunk'
svn: PROPFIND of '/svn/subclipse/trunk': 400 Bad
Request(http://subclipse.tigri
s.org)

-- NPE when using JavaSVN

java.lang.NullPointerException
        at java.io.File.<init>(Unknown Source)
        at
org.tigris.subversion.svnclientadapter.SVNNotificationHandler.getAbsoluteFile(SVNNotificationHandler.java:143)
        at
org.tigris.subversion.svnclientadapter.SVNNotificationHandler.notifyListenersOfChange(SVNNotificationHandler.java:176)
        at
org.tigris.subversion.svnclientadapter.javahl.JhlNotificationHandler.onNotify(JhlNotificationHandler.java:280)
        at
org.tigris.subversion.svnclientadapter.javahl.JhlNotificationHandler.onNotify(JhlNotificationHandler.java:62)
        at org.tmatesoft.svn.core.javahl.SVNClientImpl
$10.handleEvent(SVNClientImpl.java:1084)
        at
org.tmatesoft.svn.core.wc.SVNBasicClient.dispatchEvent(SVNBasicClient.java:223)
        at
org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java:626)
        at
org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java:494)
        at
org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java:464)
        at
org.tmatesoft.svn.core.javahl.SVNClientImpl.commit(SVNClientImpl.java:390)
        at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.commit(AbstractJhlClientAdapter.java:266)
        at
org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand
$1.run(CheckinResourcesCommand.java:98)
        at org.tigris.subversion.subclipse.core.SVNProviderPlugin
$5.run(SVNProviderPlugin.java:403)
        at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719)
        at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1739)
        at
org.tigris.subversion.subclipse.core.SVNProviderPlugin.run(SVNProviderPlugin.java:398)
        at
org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand.run(CheckinResourcesCommand.java:87)
        at
org.tigris.subversion.subclipse.core.SVNTeamProvider.checkin(SVNTeamProvider.java:178)
        at
org.tigris.subversion.subclipse.ui.operations.CommitOperation.execute(CommitOperation.java:62)
        at
org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:90)
        at
org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:146)
        at org.eclipse.team.internal.ui.actions.JobRunnableContext
$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
        at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

--- Error message when using javahl

org.tigris.subversion.svnclientadapter.SVNClientException:
org.tigris.subversion.javahl.ClientException: Item already exists in
filesystem
svn: Commit failed (details follow):
svn: File already exists: filesystem '/usr/local/svn/repository/db',
transaction '2929-1', path
'/gds/trunk/src-tests/no/ecc/gds/coverage/TestGdsCellCoverage.java'

        at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.commit(AbstractJhlClientAdapter.java:272)
        at
org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand
$1.run(CheckinResourcesCommand.java:98)
        at org.tigris.subversion.subclipse.core.SVNProviderPlugin
$5.run(SVNProviderPlugin.java:403)
        at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719)
        at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1739)
        at
org.tigris.subversion.subclipse.core.SVNProviderPlugin.run(SVNProviderPlugin.java:398)
        at
org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand.run(CheckinResourcesCommand.java:87)
        at
org.tigris.subversion.subclipse.core.SVNTeamProvider.checkin(SVNTeamProvider.java:178)
        at
org.tigris.subversion.subclipse.ui.operations.CommitOperation.execute(CommitOperation.java:62)
        at
org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:90)
        at
org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:146)
        at org.eclipse.team.internal.ui.actions.JobRunnableContext
$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
        at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Caused by: org.tigris.subversion.javahl.ClientException: Item already
exists in filesystem
svn: Commit failed (details follow):
svn: File already exists: filesystem '/usr/local/svn/repository/db',
transaction '2929-1', path
'/gds/trunk/src-tests/no/ecc/gds/coverage/TestGdsCellCoverage.java'

        at org.tigris.subversion.javahl.SVNClient.commit(Native Method)
        at
org.tigris.subversion.javahl.SVNClientSynchronized.commit(SVNClientSynchronized.java:1315)
        at
org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.commit(AbstractJhlClientAdapter.java:266)
        ... 13 more
Received on Mon Nov 7 22:14:33 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.