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

NPE in SVNNotificationHandler.getAbsoluteFile()

From: sebb <sebbaz_at_gmail.com>
Date: 2005-11-26 19:16:11 CET

Got the following after I tried to commit a directory tree I had
deleted in Eclipse:

java.lang.NullPointerException
        at java.io.File.<init>(File.java:180)
        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:1705)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1725)
        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)

Managed to delete one of the leaf directories, but not the other.

Tried refreshing and resynchronising - same problem.
Tried restarting Eclipse - same problem.

Eventually fixed it outside Eclipse, running command-line svn.

Is this a known problem?
Received on Sun Nov 27 05:16:11 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.