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

Apply Patch Broken?

From: Uri Schneider <uri_at_coridan.com>
Date: 2004-07-22 15:06:57 CEST
Hi,

I'm using the latest Subclipse (0.9.12), and I can't seem to get the "Apply Patch..." command to work.  The command works as expected before installing Subclipse.

After installing Subclipse and doing "Apply Patch...", I'm able to get to the "Verify Patch" screen, and when I press "Finish" I get the following error message:
 
   Unexpected exception while applying the patch. See log for a
   detailed error description.

The log entry is as follows:

!ENTRY org.eclipse.compare 4 1 Jul 22, 2004 15:21:06.809
!MESSAGE Internal Error
!STACK 0
java.lang.reflect.InvocationTargetException
   at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:284)
   at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:752)
   at org.eclipse.compare.internal.patch.PatchWizard.performFinish(PatchWizard.java:110)
   at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:609)
   at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:305)
   at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
   at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
   at org.eclipse.jface.window.Window.open(Window.java:648)
   at org.eclipse.compare.internal.patch.CompareWithPatchAction.run(CompareWithPatchAction.java:65)
   at org.eclipse.compare.internal.BaseCompareAction.run(BaseCompareAction.java:26)
   at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
   at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
   at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
   at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
   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(PlatformActivator.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(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   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)
Caused by: java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer scope rule: P/manta
   at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java:58)
   at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(ThreadJob.java:106)
   at org.eclipse.core.internal.jobs.ThreadJob.push(ThreadJob.java:200)
   at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:58)
   at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:170)
   at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:95)
   at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:1628)
   at org.eclipse.core.internal.resources.File.setContents(File.java:330)
   at org.eclipse.core.internal.resources.File.setContents(File.java:423)
   at org.eclipse.compare.internal.patch.Patcher.store(Patcher.java:913)
   at org.eclipse.compare.internal.patch.Patcher.applyAll(Patcher.java:814)
   at org.eclipse.compare.internal.patch.PatchWizard$1.execute(PatchWizard.java:104)
   at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:91)
   at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
   at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:105)
   at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
Root exception:
java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer scope rule: P/manta
   at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java:58)
   at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(ThreadJob.java:106)
   at org.eclipse.core.internal.jobs.ThreadJob.push(ThreadJob.java:200)
   at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJobs.java:58)
   at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManager.java:170)
   at org.eclipse.core.internal.resources.WorkManager.checkIn(WorkManager.java:95)
   at org.eclipse.core.internal.resources.Workspace.prepareOperation(Workspace.java:1628)
   at org.eclipse.core.internal.resources.File.setContents(File.java:330)
   at org.eclipse.core.internal.resources.File.setContents(File.java:423)
   at org.eclipse.compare.internal.patch.Patcher.store(Patcher.java:913)
   at org.eclipse.compare.internal.patch.Patcher.applyAll(Patcher.java:814)
   at org.eclipse.compare.internal.patch.PatchWizard$1.execute(PatchWizard.java:104)
   at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:91)
   at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
   at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:105)
   at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)

Any ideas as to what I'm doing wrong?  Is it a bug?

Thanks in advance,
--
Uri Schneider
Received on Thu Jul 22 23:06:57 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.