#18 Renaming a project caused Resource does not exist exception

open
nobody
None
5
2015-02-09
2005-01-29
No

Renaming a project caused an error (the project name
has been altered to protect the innocent.)

I created a project called OriginalName
Then I created some wiki pages in a wiki directory.
I had a page that included an Eclipse:NewName link
(might be relevant)
I then tried to rename the project to NewName and I got
a dialog saying 'Programmatic error. Please report this
... with a copy of your log file'

When I tried to close this, there seemed to be another
one behind it - I had to shoot Eclipse to make it all stop.

If you need more of the log file, I can send it to you.

!ENTRY com.teaminabox.eclipse.wiki 4 0 2005-01-29
17:37:24.400
!MESSAGE Caught exception
!STACK 1
org.eclipse.core.internal.resources.ResourceException:
Resource /OriginalName does not exist.
at
org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:310)
at
org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:178)
at
org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:123)
at
org.eclipse.core.internal.resources.Project.hasNature(Project.java:457)
at
com.teaminabox.eclipse.wiki.text.JavaTypeMatcher.getJavaProject(JavaTypeMatcher.java:18)
at
com.teaminabox.eclipse.wiki.text.JavaTypeMatcher.createTextRegion(JavaTypeMatcher.java:29)
at
com.teaminabox.eclipse.wiki.text.AbstractTextRegionMatcher.evaluate(AbstractTextRegionMatcher.java:20)
at
org.eclipse.jface.text.rules.RuleBasedScanner.nextToken(RuleBasedScanner.java:155)
at
org.eclipse.jface.text.rules.DefaultDamagerRepairer.createPresentation(DefaultDamagerRepairer.java:166)
at
org.eclipse.jface.text.presentation.PresentationReconciler.createPresentation(PresentationReconciler.java:448)
at
org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:560)
at
org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:558)
at
org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.inputDocumentChanged(PresentationReconciler.java:118)
at
org.eclipse.jface.text.TextViewer.fireInputDocumentChanged(TextViewer.java:2358)
at
org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2407)
at
org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:468)
at
org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:428)
at
org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:2745)
at
org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:2876)
at
org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:173)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1142)
at
org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:262)
at
com.teaminabox.eclipse.wiki.editors.WikiEditor.doSetInput(WikiEditor.java:430)
at
org.eclipse.ui.texteditor.AbstractTextEditor.setInput(AbstractTextEditor.java:2897)
at
org.eclipse.ui.texteditor.AbstractTextEditor$7.run(AbstractTextEditor.java:385)
at
org.eclipse.ui.texteditor.AbstractTextEditor$ElementStateListener.execute(AbstractTextEditor.java:427)
at
org.eclipse.ui.texteditor.AbstractTextEditor$ElementStateListener.elementMoved(AbstractTextEditor.java:397)
at
org.eclipse.ui.texteditor.AbstractDocumentProvider.fireElementMoved(AbstractDocumentProvider.java:738)
at
org.eclipse.ui.editors.text.FileDocumentProvider.handleElementMoved(FileDocumentProvider.java:761)
at
org.eclipse.ui.editors.text.FileDocumentProvider$3.execute(FileDocumentProvider.java:260)
at
org.eclipse.ui.editors.text.FileDocumentProvider$SafeChange.run(FileDocumentProvider.java:138)
at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2777)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2565)
at
org.eclipse.jface.window.Window.runEventLoop(Window.java:718)
at
org.eclipse.jface.window.Window.open(Window.java:696)
at
org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:319)
at
com.teaminabox.eclipse.wiki.WikiPlugin.reportError(WikiPlugin.java:104)
at
com.teaminabox.eclipse.wiki.WikiPlugin.logAndReport(WikiPlugin.java:90)
at
com.teaminabox.eclipse.wiki.text.JavaTypeMatcher.getJavaProject(JavaTypeMatcher.java:23)
at
com.teaminabox.eclipse.wiki.text.JavaTypeMatcher.createTextRegion(JavaTypeMatcher.java:29)
at
com.teaminabox.eclipse.wiki.text.AbstractTextRegionMatcher.evaluate(AbstractTextRegionMatcher.java:20)
at
org.eclipse.jface.text.rules.RuleBasedScanner.nextToken(RuleBasedScanner.java:155)
at
org.eclipse.jface.text.rules.DefaultDamagerRepairer.createPresentation(DefaultDamagerRepairer.java:166)
at
org.eclipse.jface.text.presentation.PresentationReconciler.createPresentation(PresentationReconciler.java:448)
at
org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:560)
at
org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:558)
at
org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.inputDocumentChanged(PresentationReconciler.java:118)
at
org.eclipse.jface.text.TextViewer.fireInputDocumentChanged(TextViewer.java:2358)
at
org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2407)
at
org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:468)
at
org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:428)
at
org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:2745)
at
org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:2876)
at
org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:173)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1142)
at
org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:262)
at
com.teaminabox.eclipse.wiki.editors.WikiEditor.doSetInput(WikiEditor.java:430)
at
org.eclipse.ui.texteditor.AbstractTextEditor.setInput(AbstractTextEditor.java:2897)
at
org.eclipse.ui.texteditor.AbstractTextEditor$7.run(AbstractTextEditor.java:385)
at
org.eclipse.ui.texteditor.AbstractTextEditor$ElementStateListener.execute(AbstractTextEditor.java:427)
at
org.eclipse.ui.texteditor.AbstractTextEditor$ElementStateListener.elementMoved(AbstractTextEditor.java:397)
at
org.eclipse.ui.texteditor.AbstractDocumentProvider.fireElementMoved(AbstractDocumentProvider.java:738)
at
org.eclipse.ui.editors.text.FileDocumentProvider.handleElementMoved(FileDocumentProvider.java:761)
at
org.eclipse.ui.editors.text.FileDocumentProvider$3.execute(FileDocumentProvider.java:260)
at
org.eclipse.ui.editors.text.FileDocumentProvider$SafeChange.run(FileDocumentProvider.java:138)
at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2777)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2565)
at
org.eclipse.jface.window.Window.runEventLoop(Window.java:718)
at
org.eclipse.jface.window.Window.open(Window.java:696)
at
org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:319)
at
com.teaminabox.eclipse.wiki.WikiPlugin.reportError(WikiPlugin.java:104)
at
com.teaminabox.eclipse.wiki.WikiPlugin.logAndReport(WikiPlugin.java:90)
at
com.teaminabox.eclipse.wiki.text.JavaTypeMatcher.getJavaProject(JavaTypeMatcher.java:23)
at
com.teaminabox.eclipse.wiki.text.JavaTypeMatcher.createTextRegion(JavaTypeMatcher.java:29)
at
com.teaminabox.eclipse.wiki.text.AbstractTextRegionMatcher.evaluate(AbstractTextRegionMatcher.java:20)
at
org.eclipse.jface.text.rules.RuleBasedScanner.nextToken(RuleBasedScanner.java:155)
at
org.eclipse.jface.text.rules.DefaultDamagerRepairer.createPresentation(DefaultDamagerRepairer.java:166)
at
org.eclipse.jface.text.presentation.PresentationReconciler.createPresentation(PresentationReconciler.java:448)
at
org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:560)
at
org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:558)
at
org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.textChanged(PresentationReconciler.java:224)
at
org.eclipse.jface.text.TextViewer.updateTextListeners(TextViewer.java:2296)
at
org.eclipse.jface.text.TextViewer.invalidateTextPresentation(TextViewer.java:2974)
at
com.teaminabox.eclipse.wiki.editors.WikiEditor$3.run(WikiEditor.java:438)
at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2777)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2565)
at
org.eclipse.jface.window.Window.runEventLoop(Window.java:718)
at
org.eclipse.jface.window.Window.open(Window.java:696)
at
org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:319)
at
com.teaminabox.eclipse.wiki.WikiPlugin.reportError(WikiPlugin.java:104)
at
com.teaminabox.eclipse.wiki.WikiPlugin.logAndReport(WikiPlugin.java:90)
at
com.teaminabox.eclipse.wiki.text.JavaTypeMatcher.getJavaProject(JavaTypeMatcher.java:23)
at
com.teaminabox.eclipse.wiki.text.JavaTypeMatcher.createTextRegion(JavaTypeMatcher.java:29)
at
com.teaminabox.eclipse.wiki.text.AbstractTextRegionMatcher.evaluate(AbstractTextRegionMatcher.java:20)
at
org.eclipse.jface.text.rules.RuleBasedScanner.nextToken(RuleBasedScanner.java:155)
at
org.eclipse.jface.text.rules.DefaultDamagerRepairer.createPresentation(DefaultDamagerRepairer.java:166)
at
org.eclipse.jface.text.presentation.PresentationReconciler.createPresentation(PresentationReconciler.java:448)
at
org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:560)
at
org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:558)
at
org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.textChanged(PresentationReconciler.java:224)
at
org.eclipse.jface.text.TextViewer.updateTextListeners(TextViewer.java:2296)
at
org.eclipse.jface.text.TextViewer.invalidateTextPresentation(TextViewer.java:2974)
at
com.teaminabox.eclipse.wiki.editors.WikiEditor$3.run(WikiEditor.java:438)
at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2777)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2565)
at
org.eclipse.jface.window.Window.runEventLoop(Window.java:718)
at
org.eclipse.jface.window.Window.open(Window.java:696)
at
org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:319)
at
com.teaminabox.eclipse.wiki.WikiPlugin.reportError(WikiPlugin.java:104)
at
com.teaminabox.eclipse.wiki.WikiPlugin.logAndReport(WikiPlugin.java:90)
at
com.teaminabox.eclipse.wiki.text.JavaTypeMatcher.getJavaProject(JavaTypeMatcher.java:23)
at
com.teaminabox.eclipse.wiki.text.JavaTypeMatcher.createTextRegion(JavaTypeMatcher.java:29)
at
com.teaminabox.eclipse.wiki.text.AbstractTextRegionMatcher.evaluate(AbstractTextRegionMatcher.java:20)
at
org.eclipse.jface.text.rules.RuleBasedScanner.nextToken(RuleBasedScanner.java:155)
at
org.eclipse.jface.text.rules.DefaultDamagerRepairer.createPresentation(DefaultDamagerRepairer.java:166)
at
org.eclipse.jface.text.presentation.PresentationReconciler.createPresentation(PresentationReconciler.java:448)
at
org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:560)
at
org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:558)
at
org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.textChanged(PresentationReconciler.java:224)
at
org.eclipse.jface.text.TextViewer.updateTextListeners(TextViewer.java:2296)
at
org.eclipse.jface.text.TextViewer.invalidateTextPresentation(TextViewer.java:2974)
at
com.teaminabox.eclipse.wiki.editors.WikiEditor$3.run(WikiEditor.java:438)
at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2777)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2565)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:141)
at
org.eclipse.jface.operation.ModalContext.run(ModalContext.java:279)
at
org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
at
org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:268)
at
org.eclipse.ui.actions.WorkspaceAction.run(WorkspaceAction.java:308)
at
org.eclipse.ui.actions.RenameResourceAction.runWithNewPath(RenameResourceAction.java:489)
at
org.eclipse.ui.views.navigator.ResourceNavigatorRenameAction.runWithNewPath(ResourceNavigatorRenameAction.java:50)
at
org.eclipse.ui.actions.RenameResourceAction$7.run(RenameResourceAction.java:522)
at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2777)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2558)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1527)
at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1498)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:276)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
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(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at
org.eclipse.core.launcher.Main.run(Main.java:704)
at
org.eclipse.core.launcher.Main.main(Main.java:688)
!SUBENTRY 1 org.eclipse.core.resources 4 368 2005-01-29
17:37:24.410
!MESSAGE Resource /OriginalName does not exist.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks