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

Re: [ANN] JavaSVN v0.8.4

From: Bill Wohler <wohler_at_newt.com>
Date: 2005-03-02 19:50:45 CET

Alexander,

I installed your plugin for the first time (0.8.4 with Subclipse
0.9.28). However, I'm getting a NullPointerException on a Refactor >
Move. I've appended the log file. Is this user error, or a a known
problem? Can you suggest any workarounds?

When I click on OK in the move dialog, the console shows the
following:

  move /old/path/to/File.java /new/path/to/File.java

But the dialog doesn't go away and the move doesn't occur. The
appropriate changes to the file have taken place, however.

-- 
Bill Wohler <wohler_at_newt.com>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.
!SESSION 2005-03-02 10:44:50.805 -----------------------------------------------
eclipse.buildId=I20050219-1500
java.version=1.4.2_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86
!ENTRY org.eclipse.ui 4 4 2005-03-02 10:44:50.806
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 2005-03-02 10:44:50.806
!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:2839)
	at org.eclipse.swt.SWT.error(SWT.java:2762)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:121)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2705)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2430)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:151)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:301)
	at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:282)
	at org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(RefactoringWizard.java:544)
	at org.eclipse.ltk.ui.refactoring.UserInputWizardPage.performFinish(UserInputWizardPage.java:153)
	at org.eclipse.jdt.internal.ui.refactoring.reorg.ReorgMoveWizard$MoveInputPage.performFinish(ReorgMoveWizard.java:106)
	at org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(RefactoringWizard.java:610)
	at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPressed(RefactoringWizardDialog2.java:406)
	at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:396)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:543)
	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:1009)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2728)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2427)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:718)
	at org.eclipse.jface.window.Window.open(Window.java:696)
	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.RefactoringStarter.activate(RefactoringStarter.java:40)
	at org.eclipse.jdt.internal.ui.refactoring.reorg.ReorgMoveAction.startRefactoring(ReorgMoveAction.java:139)
	at org.eclipse.jdt.internal.ui.refactoring.reorg.ReorgMoveAction.run(ReorgMoveAction.java:121)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:212)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188)
	at org.eclipse.jdt.ui.actions.MoveAction.run(MoveAction.java:130)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:212)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:1003)
	at org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetAction.java:215)
	at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:225)
	at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:182)
	at org.eclipse.ui.internal.commands.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:107)
	at org.eclipse.core.commands.Command.execute(Command.java:260)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:418)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:698)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:741)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:510)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$2(WorkbenchKeyboard.java:453)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$1.handleEvent(WorkbenchKeyboard.java:229)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1090)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1033)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1018)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1045)
	at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:609)
	at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:1940)
	at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:542)
	at org.eclipse.swt.widgets.Tree.gtk_key_press_event(Tree.java:1277)
	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1345)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:3271)
	at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
	at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:4666)
	at org.eclipse.swt.widgets.Display.eventProc(Display.java:926)
	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1110)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2425)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293)
	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:228)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150)
	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.invokeFramework(Main.java:268)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
	at org.eclipse.core.launcher.Main.run(Main.java:887)
	at org.eclipse.core.launcher.Main.main(Main.java:871)
Caused by: 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:859)
	at org.tigris.subversion.javahl.SVNClientSynchronized.move(SVNClientSynchronized.java:365)
	at org.tigris.subversion.svnclientadapter.javahl.JhlClientAdapter.move(JhlClientAdapter.java:575)
	at org.tigris.subversion.subclipse.core.resources.SVNMoveDeleteHook.moveFile(SVNMoveDeleteHook.java:138)
	at org.eclipse.team.internal.core.MoveDeleteManager.moveFile(MoveDeleteManager.java:87)
	at org.eclipse.core.internal.resources.Resource.unprotectedMove(Resource.java:1589)
	at org.eclipse.core.internal.resources.Resource.move(Resource.java:1216)
	at org.eclipse.jdt.internal.core.CopyResourceElementsOperation.processCompilationUnitResource(CopyResourceElementsOperation.java:264)
	at org.eclipse.jdt.internal.core.CopyResourceElementsOperation.processElement(CopyResourceElementsOperation.java:336)
	at org.eclipse.jdt.internal.core.MultiOperation.processElements(MultiOperation.java:162)
	at org.eclipse.jdt.internal.core.CopyResourceElementsOperation.processElements(CopyResourceElementsOperation.java:354)
	at org.eclipse.jdt.internal.core.MultiOperation.executeOperation(MultiOperation.java:90)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:710)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1702)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:766)
	at org.eclipse.jdt.internal.core.JavaModel.runOperation(JavaModel.java:315)
	at org.eclipse.jdt.internal.core.JavaModel.move(JavaModel.java:276)
	at org.eclipse.jdt.internal.core.CompilationUnit.move(CompilationUnit.java:975)
	at org.eclipse.jdt.internal.corext.refactoring.changes.MoveCompilationUnitChange.doPerformReorg(MoveCompilationUnitChange.java:54)
	at org.eclipse.jdt.internal.corext.refactoring.changes.CompilationUnitReorgChange.perform(CompilationUnitReorgChange.java:62)
	at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:270)
	at org.eclipse.jdt.internal.corext.refactoring.changes.DynamicValidationStateChange.access$0(DynamicValidationStateChange.java:1)
	at org.eclipse.jdt.internal.corext.refactoring.changes.DynamicValidationStateChange$1.run(DynamicValidationStateChange.java:76)
	at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:34)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:710)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1702)
	at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3588)
	at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:3545)
	at org.eclipse.jdt.internal.corext.refactoring.changes.DynamicValidationStateChange.perform(DynamicValidationStateChange.java:79)
	at org.eclipse.jdt.internal.corext.refactoring.reorg.JavaMoveProcessor$1.perform(JavaMoveProcessor.java:199)
	at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:270)
	at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:231)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1702)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1722)
	at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:279)
	at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.access$1(UIPerformChangeOperation.java:1)
	at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation$1.run(UIPerformChangeOperation.java:60)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
	... 76 more
Received on Thu Mar 3 05:50:45 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.