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

[Subclipse-users] Unknown host for repository disables subclipse gui

From: Leland, Robert <robert.leland_at_ionep.com>
Date: Thu, 17 Jul 2008 10:35:34 -0400

If the svn repository is not reachable the subclipse UI decorator doesn't work, and freezes the IDE, for 20+ seconds, when a file is right clicked in the package Explorer(I believe the plugin is trying to contact the repository).
 
I am using:
Eclipse 3.3 under JDK 1.5u6 Windows XP
Subclipse Client Adapter 1.5.0
Subclipse JavaHL 1.5.0
SVN Team Provider Core 1.4.1
SVNKit Client Adapter 1.5.0.1
 
Subclipse 1.2.4 didn't behave in that way and allowed the UI decorators to still
function. I used subclipse 1.41. to checkout the checkout teh repository from a svn 1.5 server.
 
Here is the stack trace:
 
!ENTRY org.tigris.subversion.subclipse.core 4 -6 2008-07-16 13:20:29.000
!MESSAGE org.tigris.subversion.javahl.ClientException: A socket operation was attempted to an unreachable host.
svn: Can't connect to host '10.X.X.X': A socket operation was attempted to an unreachable host.
!STACK 0
org.tigris.subversion.svnclientadapter.SVNClientException: org.tigris.subversion.javahl.ClientException: A socket operation was attempted to an unreachable host.
svn: Can't connect to host '10.X.X.X': A socket operation was attempted to an unreachable host.
 at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getInfo(AbstractJhlClientAdapter.java:1814)
 at org.tigris.subversion.svnclientadapter.AbstractClientAdapter.getInfo(AbstractClientAdapter.java:229)
 at org.tigris.subversion.subclipse.core.repo.SVNRepositoryLocation.fromString(SVNRepositoryLocation.java:541)
 at org.tigris.subversion.subclipse.core.repo.SVNRepositories.getRepository(SVNRepositories.java:189)
 at org.tigris.subversion.subclipse.core.SVNProviderPlugin.getRepository(SVNProviderPlugin.java:383)
 at org.tigris.subversion.subclipse.core.resources.SVNWorkspaceRoot.getRepository(SVNWorkspaceRoot.java:306)
 at org.tigris.subversion.subclipse.core.resources.LocalResource.getRepository(LocalResource.java:263)
 at org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorateTextLabel(SVNLightweightDecorator.java:362)
 at org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorate(SVNLightweightDecorator.java:305)
 at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:253)
 at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:71)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
 at org.eclipse.core.runtime.Platform.run(Platform.java:857)
 at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:336)
 at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:322)
 at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:369)
 at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:329)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.tigris.subversion.javahl.ClientException: A socket operation was attempted to an unreachable host.
svn: Can't connect to host '10.X.X.X': A socket operation was attempted to an unreachable host.
 at org.tigris.subversion.javahl.SVNClient.info2(Native Method)
 at org.tigris.subversion.javahl.SVNClient.info2(SVNClient.java:1346)
 at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.getInfo(AbstractJhlClientAdapter.java:1805)
 ... 17 more
!ENTRY org.eclipse.ui.workbench 4 2 2008-07-16 13:20:29.000
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
 at org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorateTextLabel(SVNLightweightDecorator.java:362)
 at org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorate(SVNLightweightDecorator.java:305)
 at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:253)
 at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:71)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
 at org.eclipse.core.runtime.Platform.run(Platform.java:857)
 at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:336)
 at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:322)
 at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:369)
 at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:329)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY org.eclipse.ui 4 4 2008-07-16 13:20:29.000
!MESSAGE Exception in Decorator
!ENTRY org.eclipse.ui 4 4 2008-07-16 13:20:29.000
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
 at org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorateTextLabel(SVNLightweightDecorator.java:362)
 at org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorate(SVNLightweightDecorator.java:305)
 at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:253)
 at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:71)
 at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
 at org.eclipse.core.runtime.Platform.run(Platform.java:857)
 at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:336)
 at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:322)
 at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:369)
 at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:329)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Received on 2008-07-17 16:35:41 CEST

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.