Login | Register
My pages Projects Community openCollabNet

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

subclipse
Discussion topic

There will be a brief maintenance window every Friday at 17:00 Pacific.
For further details, see CollabNet's maintenance and upgrade policy.

Back to topic list

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

Author markphip
Full name Mark Phippard
Date 2012-01-09 07:03:32 PST
Message 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 dot stadler at gmx dot 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.widg​ets.Display.fixedSiz​eAllocateProc(Displa​y.java:1345)
>        at org.apache.subversio​n.javahl.SVNClient.c​ommit(Native Method)
>        at org.tigris.subversio​n.svnclientadapter.j​avahl.AbstractJhlCli​entAdapter.commit(Ab​stractJhlClientAdapt​er.java:337)
>        at org.tigris.subversio​n.subclipse.core.com​mands.CheckinResourc​esCommand$1.run(Che​ckinResourcesCommand​.java:126)
>        at org.tigris.subversio​n.subclipse.core.SVN​ProviderPlugin$5.ru​n(SVNProviderPlugin.​java:503)
>        at org.eclipse.core.int​ernal.resources.Work​space.run(Workspace.​java:2344)
>        at org.eclipse.core.int​ernal.resources.Work​space.run(Workspace.​java:2326)
>        at org.tigris.subversio​n.subclipse.core.SVN​ProviderPlugin.run(S​VNProviderPlugin.jav​a:498)
>        at org.tigris.subversio​n.subclipse.core.com​mands.CheckinResourc​esCommand.run(Checki​nResourcesCommand.ja​va:99)
>        at org.tigris.subversio​n.subclipse.core.SVN​TeamProvider.checkin​(SVNTeamProvider.jav​a:139)
>        at org.tigris.subversio​n.subclipse.ui.opera​tions.CommitOperatio​n.execute(CommitOper​ation.java:108)
>        at org.tigris.subversio​n.subclipse.ui.opera​tions.SVNOperation.r​un(SVNOperation.java​:90)
>        at org.eclipse.team.int​ernal.ui.actions.Job​RunnableContext.run(​JobRunnableContext.j​ava:144)
>        at org.eclipse.team.int​ernal.ui.actions.Job​RunnableContext$Res​ourceJob.runInWorksp​ace(JobRunnableConte​xt.java:72)
>        at org.eclipse.core.int​ernal.resources.Inte​rnalWorkspaceJob.run​(InternalWorkspaceJo​b.java:38)
>        at org.eclipse.core.int​ernal.jobs.Worker.ru​n(Worker.java:54)
>
> I found http://subversion.ti​gris.org/issues/show​_bug.cgi?id=3498 and http://subclipse.tig​ris.org/wiki/JavaHL#​head-3a1d2d3c54791d2​d751794e5d6645f1d77d​95b32 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.tig​ris.org/ds/viewMessa​ge.do?dsForumId=1047​&dsMessageId=290​7014
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe@s​ubclipse.tigris.org]​.



--
Thanks

Mark Phippard
http://markphip.blogspot.com/

« Previous message in topic | 2 of 3 | Next message in topic »

Messages

Show all messages in topic

[Subclipse-users] Known-issue? NullPointerException if gnome-keyring is enabled as password-store centic Dominik Stadler 2012-01-08 11:40:36 PST
     Re: [Subclipse-users] Known-issue? NullPointerException if gnome-keyring is enabled as password-store markphip Mark Phippard 2012-01-09 07:03:32 PST
         RE: Re: [Subclipse-users] Known-issue? NullPointerException if gnome-keyring is enabled as password-store centic Dominik Stadler 2012-01-09 10:46:06 PST
Messages per page: