Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355362 - [Rename refactoring] Xtext refactoring breaks Java Rename Refactoring
Summary: [Rename refactoring] Xtext refactoring breaks Java Rename Refactoring
Status: CLOSED DUPLICATE of bug 344373
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.1.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: SR2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-22 06:56 EDT by Sven Efftinge CLA
Modified: 2011-08-23 15:42 EDT (History)
0 users

See Also:
sven.efftinge: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Efftinge CLA 2011-08-22 06:56:41 EDT
I've installed the latest nightly. And get the following exception whenever I try to trigger a rename refactoring on a Java Element.

java.lang.UnsupportedOperationException: getReferenceDescriptions()
	at org.eclipse.xtext.builder.clustering.CopiedResourceDescription.getReferenceDescriptions(CopiedResourceDescription.java:74)
	at org.eclipse.xtext.ui.editor.findrefs.DefaultReferenceFinder.findIndexedReferences(DefaultReferenceFinder.java:188)
	at org.eclipse.xtext.ui.editor.findrefs.DefaultReferenceFinder.findIndexedReferences(DefaultReferenceFinder.java:67)
	at org.eclipse.xtext.ui.editor.findrefs.DefaultReferenceFinder.findAllReferences(DefaultReferenceFinder.java:61)
	at org.eclipse.xtext.ui.refactoring.impl.ReferenceUpdaterDispatcher.createReferenceUpdates(ReferenceUpdaterDispatcher.java:53)
	at org.eclipse.xtext.ui.refactoring.impl.RenameElementProcessor.checkFinalConditions(RenameElementProcessor.java:213)
	at org.eclipse.xtext.ui.refactoring.impl.AbstractProcessorBasedRenameParticipant.checkConditions(AbstractProcessorBasedRenameParticipant.java:112)
	at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:257)
	at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:85)
	at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:121)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
	at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Comment 1 Sven Efftinge CLA 2011-08-23 15:42:43 EDT

*** This bug has been marked as a duplicate of bug 344373 ***