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

RE: Eclipse Refactoring

From: Alexander Kitaev <alex_at_tmate.org>
Date: 2005-03-02 15:16:10 CET

Hello Marcus,

Looks like a bug in javasvn (probably caused by your specific project
layout). Could you please send full javasvn log to support@tmatesoft.com
For details on how to get full log file, please read instructions at
http://tmate.org/svn/logging.html

Thanks,
Alexander Kitaev.

> -----Original Message-----
> From: Marcus Rohrmoser [mailto:mrohrmoser@gmx-gmbh.de]
> Sent: Wednesday, March 02, 2005 3:08 PM
> To: users@subclipse.tigris.org
> Subject: Re: Eclipse Refactoring
>
>
> Deadman, Hal schrieb:
> > I have used the move and rename refactorings successfully. The only
> > problem I had recently involved renaming a class where the
> only thing
> > I changed was the case. Windows doesn't like that because the file
> > names are the same as far as it is concerned. Not sure if that is a
> > subclipse or an eclipse problem.
> >
> > Have you checked the .log file in the .metadata directory of your
> > workspace for exceptions?
>
> Help! .metadata/.log says:
>
> !ENTRY org.eclipse.ui 4 4 Mrz 02, 2005 15:04:16.431
> !MESSAGE Unhandled event loop exception
>
> !ENTRY org.eclipse.ui 4 0 Mrz 02, 2005 15:04:16.432
> !MESSAGE Failed to execute runnable
> (java.lang.NullPointerException) !STACK 0
> org.eclipse.swt.SWTException: Failed to execute runnable
> (java.lang.NullPointerException)
> at org.eclipse.swt.SWT.error(SWT.java:2691)
> at org.eclipse.swt.SWT.error(SWT.java:2616)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchron
> izer.java:109)
> at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2572)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2301)
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread.bl
ock(ModalContext.java:136)
> at
> org.eclipse.jface.operation.ModalContext.run(ModalContext.java:262)
> at
> org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialo
> g2.run(RefactoringWizardDialog2.java:282)
> at
> org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerfo
> rmFinish(RefactoringWizard.java:539)
> at
> org.eclipse.ltk.internal.ui.refactoring.PreviewWizardPage.perf
> ormFinish(PreviewWizardPage.java:175)
> at
> org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish
> (RefactoringWizard.java:605)
> at
> org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialo
> g2.okPressed(RefactoringWizardDialog2.java:406)
> at
> org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:365)
> at
> org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListene
r.java:89)
> 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.Display.runDeferredEvents(Display.java:2595)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
> at org.eclipse.jface.window.Window.open(Window.java:648)
> at
> org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$
1.run(RefactoringWizardOpenOperation.java:125)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
> at
> org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.
> run(RefactoringWizardOpenOperation.java:138)
> at
> org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringSta
> rter.activate(RefactoringStarter.java:40)
> at
> org.eclipse.jdt.internal.ui.refactoring.UserInterfaceStarter.a
> ctivate(UserInterfaceStarter.java:54)
> at
> org.eclipse.jdt.internal.ui.refactoring.reorg.RenameUserInterf
> aceStarter.activate(RenameUserInterfaceStarter.java:113)
> at
> org.eclipse.jdt.ui.refactoring.RenameSupport.openDialog(Rename
> Support.java:108)
> at
> org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElem
> entAction.run(RenameJavaElementAction.java:175)
> at
> org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElem
> entAction.run(RenameJavaElementAction.java:96)
> at
> org.eclipse.jdt.ui.actions.RenameAction.run(RenameAction.java:116)
> at
> org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun
> (SelectionDispatchAction.java:212)
> at
> org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(Selecti
onDispatchAction.java:188)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSe
> lection(ActionContributionItem.java:915)
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Actio
nContributionItem.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:954)
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
> 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(Workbe
> nch.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(Plat
formActivator.java:335)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseSta
rter.java:273)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseSta
rter.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.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)
>
> !ENTRY org.eclipse.ui 4 4 Mrz 02, 2005 15:04:16.434
> !MESSAGE *** SWT nested exception
>
> !ENTRY org.eclipse.ui 4 0 Mrz 02, 2005 15:04:16.434
> !MESSAGE java.lang.NullPointerException
> !STACK 0
> java.lang.NullPointerException
> at
> org.tmatesoft.svn.core.internal.SVNWorkspace.locateParentEntry
> (SVNWorkspace.java:1373)
> at
> org.tmatesoft.svn.core.internal.SVNWorkspace.copy(SVNWorkspace
> .java:996)
> at
> org.tigris.subversion.javahl.SVNClient.move(SVNClient.java:858)
> at
> org.tigris.subversion.javahl.SVNClientSynchronized.move(SVNCli
entSynchronized.java:365)
> at
> org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapter
> .move(JhlClientAdapter.java:578)
> at
> org.tigris.subversion.subclipse.core.resources.SVNMoveDeleteHo
> ok.moveFolder(SVNMoveDeleteHook.java:203)
> at
> org.eclipse.team.internal.core.MoveDeleteManager.moveFolder(Mo
> veDeleteManager.java:100)
> at
> org.eclipse.core.internal.resources.Resource.unprotectedMove(R
esource.java:1557)
> at
> org.eclipse.core.internal.resources.Resource.move(Resource.java:1188)
> at
> org.eclipse.core.internal.resources.Resource.move(Resource.java:1157)
> at
> org.eclipse.jdt.internal.core.CopyResourceElementsOperation.pr
> ocessPackageFragmentResource(CopyResourceElementsOperation.java:445)
> at
> org.eclipse.jdt.internal.core.CopyResourceElementsOperation.pr
> ocessElement(CopyResourceElementsOperation.java:378)
> at
> org.eclipse.jdt.internal.core.MultiOperation.processElements(M
ultiOperation.java:160)
> at
> org.eclipse.jdt.internal.core.CopyResourceElementsOperation.pr
> ocessElements(CopyResourceElementsOperation.java:392)
> at
> org.eclipse.jdt.internal.core.MultiOperation.executeOperation(
MultiOperation.java:90)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModel
Operation.java:700)
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(
JavaModelOperation.java:744)
> at
> org.eclipse.jdt.internal.core.JavaModel.rename(JavaModel.java:304)
> at
> org.eclipse.jdt.internal.core.PackageFragment.rename(PackageFr
> agment.java:394)
> at
> org.eclipse.jdt.internal.corext.refactoring.changes.RenamePack
> ageChange.doRename(RenamePackageChange.java:73)
> at
> org.eclipse.jdt.internal.corext.refactoring.AbstractJavaElemen
> tRenameChange.perform(AbstractJavaElementRenameChange.java:67)
> at
> org.eclipse.ltk.core.refactoring.CompositeChange.perform(Compo
> siteChange.java:262)
> at
> org.eclipse.jdt.internal.corext.refactoring.changes.DynamicVal
> idationStateChange.access$0(DynamicValidationStateChange.java:1)
> at
> org.eclipse.jdt.internal.corext.refactoring.changes.DynamicVal
> idationStateChange$1.run(DynamicValidationStateChange.java:76)
> at
> org.eclipse.jdt.internal.core.BatchOperation.executeOperation(
BatchOperation.java:34)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModel
Operation.java:700)
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
> at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3246)
> at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3203)
> at
> org.eclipse.jdt.internal.corext.refactoring.changes.DynamicVal
> idationStateChange.perform(DynamicValidationStateChange.java:79)
> at
> org.eclipse.ltk.core.refactoring.CompositeChange.perform(Compo
> siteChange.java:262)
> at
> org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(
PerformChangeOperation.java:228)
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1673)
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1693)
> at
> org.eclipse.ltk.core.refactoring.PerformChangeOperation.execut
> eChange(PerformChangeOperation.java:273)
> at
> org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperati
> on.access$4(UIPerformChangeOperation.java:1)
> at
> org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperati
> on$1.run(UIPerformChangeOperation.java:64)
> at
> org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchron
> izer.java:106)
> at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2572)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2301)
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread.bl
ock(ModalContext.java:136)
> at
> org.eclipse.jface.operation.ModalContext.run(ModalContext.java:262)
> at
> org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialo
> g2.run(RefactoringWizardDialog2.java:282)
> at
> org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerfo
> rmFinish(RefactoringWizard.java:539)
> at
> org.eclipse.ltk.internal.ui.refactoring.PreviewWizardPage.perf
> ormFinish(PreviewWizardPage.java:175)
> at
> org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish
> (RefactoringWizard.java:605)
> at
> org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialo
> g2.okPressed(RefactoringWizardDialog2.java:406)
> at
> org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:365)
> at
> org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506)
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListene
r.java:89)
> 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.Display.runDeferredEvents(Display.java:2595)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
> at org.eclipse.jface.window.Window.open(Window.java:648)
> at
> org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$
1.run(RefactoringWizardOpenOperation.java:125)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
> at
> org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.
> run(RefactoringWizardOpenOperation.java:138)
> at
> org.eclipse.jdt.internal.ui.refactoring.actions.RefactoringSta
> rter.activate(RefactoringStarter.java:40)
> at
> org.eclipse.jdt.internal.ui.refactoring.UserInterfaceStarter.a
> ctivate(UserInterfaceStarter.java:54)
> at
> org.eclipse.jdt.internal.ui.refactoring.reorg.RenameUserInterf
> aceStarter.activate(RenameUserInterfaceStarter.java:113)
> at
> org.eclipse.jdt.ui.refactoring.RenameSupport.openDialog(Rename
> Support.java:108)
> at
> org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElem
> entAction.run(RenameJavaElementAction.java:175)
> at
> org.eclipse.jdt.internal.ui.refactoring.actions.RenameJavaElem
> entAction.run(RenameJavaElementAction.java:96)
> at
> org.eclipse.jdt.ui.actions.RenameAction.run(RenameAction.java:116)
> at
> org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun
> (SelectionDispatchAction.java:212)
> at
> org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(Selecti
onDispatchAction.java:188)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSe
> lection(ActionContributionItem.java:915)
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Actio
nContributionItem.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:954)
> at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
> at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
> 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(Workbe
> nch.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(Plat
formActivator.java:335)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseSta
rter.java:273)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseSta
rter.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl.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)
>
>
> >>-----Original Message-----
> >>From: Marcus Rohrmoser [mailto:mrohrmoser@gmx-gmbh.de]
> >>Sent: Wednesday, March 02, 2005 4:34 AM
> >>To: users@subclipse.tigris.org
> >>Subject: Eclipse Refactoring
> >>
> >>Hi List,
> >>I'm evaluating the possibility to migrate from cvs tp svn. Most
> >>critical obstacle is the eclipse integration.
> >>
> >>My question: Is the refactoring (move namely) feature supposed to
> >>work? I get ever repeating preview scrrens with no chance to finish
> >>the rename/move action. Is there any log or the debug output
> >>somewhere?
> >>
> >>Currently I use
> >>Eclipse 3.0.1
> >>Subclipse 0.9.27
> >>JavaSVN 0.8.3
> >>svn 1.1.3
> >>Linux SuSE 9.2
> >>
> >>Greetings,
> >> M
>
Received on Thu Mar 3 01:16:10 2005

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.