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

Re: NPE exception when trying to commit files

From: Denny Valliant <valliant_at_unm.edu>
Date: 2005-11-07 12:48:25 CET

That looks like the right url. Maybe try adding it (the repo location)
again. (It works for me)

Why do you think it's something in the source? Is there something
special about those files? You sure your repository is good (svnadmin
-verify maybe ?)? Have you tried using another client to commit the files?

I'm full of questions. The second error looked more informative.
Something was already there. Where? I don't know. What? I can't tell.

But I'm like, pretty tired, so forgive me. :-)

Someone with more experience will probably be able to look at this and
tell you exactly what subversion is telling you... alas, I am not that one.

Well, good luck and all!
:D

Řyvind Harboe wrote:

>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
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
>For additional commands, e-mail: users-help@subclipse.tigris.org
>
>
>
Received on Mon Nov 7 22:48:25 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.