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

No context menu on project

From: Christophe Labouisse <gabuzo_at_tigris.org>
Date: 2004-10-02 13:26:41 CEST

On Eclipse 3.0.1 with subsclipse 0.9.21 I have three projects under
subversion. Everything used to work fine but now everything is still
fine for two projects (decoration ok, etc.). For the first one however I
didn't get any decoration and the contextual menu (the whole menu, not
the team part) no longer appear for this menu or for any of this
project's resources.

Look at Eclipse's .log file I found:

!ENTRY org.eclipse.ui 4 4 oct. 02, 2004 11:36:37.825
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 oct. 02, 2004 11:36:37.826
!MESSAGE String index out of range: 0
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
        at java.lang.String.charAt(String.java:558)
        at
org.tigris.subversion.svnclientadapter.commandline.CmdLineStatusPart.se
tStatus(CmdLineStatusPart.java:91) at
org.tigris.subversion.svnclientadapter.commandline.CmdLineStatusPart.<i
nit>(CmdLineStatusPart.java:86) at
org.tigris.subversion.svnclientadapter.commandline.CmdLineClientAdapter
.getStatus(CmdLineClientAdapter.java:597) at
org.tigris.subversion.subclipse.core.resources.StatusCacheManager.recur
siveUpdateStatusSet(StatusCacheManager.java:95) at
org.tigris.subversion.subclipse.core.resources.StatusCacheManager.getSt
atus(StatusCacheManager.java:140) at
org.tigris.subversion.subclipse.core.resources.LocalResource.getStatus(
LocalResource.java:156) at
org.tigris.subversion.subclipse.core.resources.LocalResource.isManaged(
LocalResource.java:145) at
org.tigris.subversion.subclipse.core.resources.LocalResource.isIgnored(
LocalResource.java:103) at
org.tigris.subversion.subclipse.ui.actions.WorkspaceAction.isEnabledFor
SVNResource(WorkspaceAction.java:140) at
org.tigris.subversion.subclipse.ui.actions.AddAction.isEnabledForSVNRes
ource(AddAction.java:131) at
org.tigris.subversion.subclipse.ui.actions.WorkspaceAction.isEnabled(Wo
rkspaceAction.java:103) at
org.eclipse.team.internal.ui.actions.TeamAction.setActionEnablement(Tea
mAction.java:239) at
org.eclipse.team.internal.ui.actions.TeamAction.selectionChanged(TeamAc
tion.java:223) at
org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.jav
a:230) at
org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java
:297) at
org.eclipse.ui.internal.ObjectActionContributor.contributeObjectActions
(ObjectActionContributor.java:109) at
org.eclipse.ui.internal.ObjectActionContributorManager.contributeObject
Actions(ObjectActionContributorManager.java:131) at
org.eclipse.ui.internal.PopupMenuExtender.addObjectActions(PopupMenuExt
ender.java:98) at
org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(PopupMenuExte
nder.java:119) at
org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:2
86) at
org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java
:370) at
org.eclipse.jface.action.MenuManager.access$0(MenuManager.java:367) at
org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:383)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:11
6) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:978)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:959)
        at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:174)
        at org.eclipse.swt.widgets.Display.runPopups(Display.java:2621)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2294)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
        at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
254) at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActiv
ator.java:335) at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java
:273) at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java
:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va:39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
        at org.eclipse.core.launcher.Main.run(Main.java:644)
        at org.eclipse.core.launcher.Main.main(Main.java:628)
Received on Sat Oct 2 21:26:41 2004

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.