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

Re: [Subclipse-users] Known-issue? NullPointerException if gnome-keyring is enabled as password-store

From: Mark Phippard <markphip_at_gmail.com>
Date: Mon, 9 Jan 2012 10:03:29 -0500

The bug in Subversion 1.6 has not been fixed. It is still a bug in
1.7. There is something about the support for GNOME keyring that does
not work with the threading model of Eclipse and SWT. One of the
developers tried to make a fix for this in 1.6, but when I tried it
the fix did not work for me and nothing else has been done.

On Sun, Jan 8, 2012 at 2:40 PM, Dominik Stadler <dominik.stadler_at_gmx.at> wrote:
> Hi,
>
> I tried to store passwords encrypted by setting "password-stores = gnome-keyring, kwallet" in the subversion configuration.
>
> As soon as I set this, Subclipse/Eclipse starts to behave funny, Eclipse crashes or hangs when doing SVN operations, in the log-output I found the following:
>
> Exception in thread "Worker-1" java.lang.NullPointerException
>        at org.eclipse.swt.widgets.Display.fixedSizeAllocateProc(Display.java:1345)
>        at org.apache.subversion.javahl.SVNClient.commit(Native Method)
>        at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.commit(AbstractJhlClientAdapter.java:337)
>        at org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand$1.run(CheckinResourcesCommand.java:126)
>        at org.tigris.subversion.subclipse.core.SVNProviderPlugin$5.run(SVNProviderPlugin.java:503)
>        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
>        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2326)
>        at org.tigris.subversion.subclipse.core.SVNProviderPlugin.run(SVNProviderPlugin.java:498)
>        at org.tigris.subversion.subclipse.core.commands.CheckinResourcesCommand.run(CheckinResourcesCommand.java:99)
>        at org.tigris.subversion.subclipse.core.SVNTeamProvider.checkin(SVNTeamProvider.java:139)
>        at org.tigris.subversion.subclipse.ui.operations.CommitOperation.execute(CommitOperation.java:108)
>        at org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:90)
>        at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
>        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:54)
>
> I found http://subversion.tigris.org/issues/show_bug.cgi?id=3498 and http://subclipse.tigris.org/wiki/JavaHL#head-3a1d2d3c54791d2d751794e5d6645f1d77d95b32 which might be similar issues. However both indicate that this is a problem only in Subversion 1.6, but should be fixed in 1.7.
>
> I am using 1.7.2 on Ubuntu, so is this a re-occurrence of this bug? Or something else? If a bug, should I report it for subclipse or subversion itself?
>
> Thanks... Dominik.
>
> ------------------------------------------------------
> http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2907014
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2907280
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2012-01-09 16:03:38 CET

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.