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

Re: [Subclipse-users] Cannot view diff in commit dialog

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 9 Jul 2010 07:01:47 -0400

This appears to be a bug in the pydev plugin. It looks like they must
be providing code to provide some python-aware actions to the compare
editor.

On Fri, Jul 9, 2010 at 5:14 AM, Vladimir Eremeev <wl2776_at_gmail.com> wrote:
> Hi all.
> I've recently installed the newest Eclipse (Helios) on my linux box (Ubuntu 10.04).
> It was clean installation, without upgrade.
> Then I've installed Subclipse and co.
>
> My problem is that when I try to commit changes to SVN and try to view the differences by double-clicking on
> changed files in commit dialog, I get NullPointerException error.
>
> Log contains two entries about this.
> The first one:
>
> Error
> Fri Jul 09 13:02:38 MSD 2010
> Problems occurred when invoking code from plug-in: "org.eclipse.jface".
>
> java.lang.NullPointerException
> at org.python.pydev.editor.actions.FirstCharAction.createVerifyKeyListener(FirstCharAction.java:65)
> at org.python.pydev.compare.PyMergeViewer.createSourceViewer(PyMergeViewer.java:129)
> at org.eclipse.compare.contentmergeviewer.TextMergeViewer.createPart(TextMergeViewer.java:2438)
> at org.eclipse.compare.contentmergeviewer.TextMergeViewer.createControls(TextMergeViewer.java:1918)
> at org.eclipse.compare.contentmergeviewer.ContentMergeViewer.buildControl(ContentMergeViewer.java:840)
> at org.eclipse.compare.contentmergeviewer.TextMergeViewer.<init>(TextMergeViewer.java:1488)
> at org.python.pydev.compare.PyMergeViewer.<init>(PyMergeViewer.java:60)
> at org.python.pydev.compare.PyContentViewerCreator.createViewer(PyContentViewerCreator.java:18)
> at org.eclipse.compare.internal.ViewerDescriptor.createViewer(ViewerDescriptor.java:63)
> at org.eclipse.compare.internal.CompareUIPlugin.getViewer(CompareUIPlugin.java:964)
> at org.eclipse.compare.internal.CompareUIPlugin.findContentViewer(CompareUIPlugin.java:959)
> at org.eclipse.compare.CompareUI.findContentViewer(CompareUI.java:354)
> at org.tigris.subversion.subclipse.ui.wizards.dialogs.SvnWizardCommitPage$4.getViewer(SvnWizardCommitPage.java:223)
> at org.eclipse.compare.CompareViewerSwitchingPane.setInput(CompareViewerSwitchingPane.java:265)
> at org.tigris.subversion.subclipse.ui.wizards.dialogs.SvnWizardCommitPage.setCompareInput(SvnWizardCommitPage.java:512)
> at org.tigris.subversion.subclipse.ui.wizards.dialogs.SvnWizardCommitPage.access$17(SvnWizardCommitPage.java:506)
> at org.tigris.subversion.subclipse.ui.wizards.dialogs.SvnWizardCommitPage$14.doubleClick(SvnWizardCommitPage.java:390)
> at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:824)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
> at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:822)
> at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1421)
> at org.eclipse.jface.viewers.CheckboxTreeViewer.handleDoubleSelect(CheckboxTreeViewer.java:283)
> at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1225)
> at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:238)
> at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:235)
> at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:296)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3552)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> at org.eclipse.jface.window.Window.open(Window.java:801)
> at org.tigris.subversion.subclipse.ui.actions.CommitAction.confirmCommit(CommitAction.java:329)
> at org.tigris.subversion.subclipse.ui.actions.CommitAction$1.run(CommitAction.java:114)
> at org.tigris.subversion.subclipse.ui.repository.RepositoryManager.run(RepositoryManager.java:375)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction$1.run(SVNAction.java:231)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction$2.run(SVNAction.java:240)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:237)
> at org.tigris.subversion.subclipse.ui.actions.CommitAction.execute(CommitAction.java:102)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:56)
> at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:70)
> at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3552)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> at org.eclipse.jface.window.Window.open(Window.java:801)
> at org.tigris.subversion.subclipse.ui.actions.CommitAction.confirmCommit(CommitAction.java:329)
> at org.tigris.subversion.subclipse.ui.actions.CommitAction$1.run(CommitAction.java:114)
> at org.tigris.subversion.subclipse.ui.repository.RepositoryManager.run(RepositoryManager.java:375)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction$1.run(SVNAction.java:231)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction$2.run(SVNAction.java:240)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:237)
> at org.tigris.subversion.subclipse.ui.actions.CommitAction.execute(CommitAction.java:102)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:56)
> at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:70)
> at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3552)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> 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:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
>
>
> The second one:
>
> Error
> Fri Jul 09 13:02:41 MSD 2010
> Unhandled event loop exception
>
> java.lang.NullPointerException
> at org.eclipse.compare.contentmergeviewer.TextMergeViewer$ContributorInfo.access$1(TextMergeViewer.java:787)
> at org.eclipse.compare.contentmergeviewer.TextMergeViewer.handleDispose(TextMergeViewer.java:1832)
> at org.python.pydev.compare.PyMergeViewer.handleDispose(PyMergeViewer.java:242)
> at org.eclipse.jface.viewers.ContentViewer$2.widgetDisposed(ContentViewer.java:214)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:123)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263)
> at org.eclipse.swt.widgets.Widget.release(Widget.java:1080)
> at org.eclipse.swt.widgets.Control.release(Control.java:3302)
> at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
> at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
> at org.eclipse.swt.widgets.Control.release(Control.java:3302)
> at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
> at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
> at org.eclipse.swt.widgets.Control.release(Control.java:3302)
> at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
> at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
> at org.eclipse.swt.widgets.Control.release(Control.java:3302)
> at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
> at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
> at org.eclipse.swt.widgets.Control.release(Control.java:3302)
> at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
> at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
> at org.eclipse.swt.widgets.Control.release(Control.java:3302)
> at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
> at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
> at org.eclipse.swt.widgets.Control.release(Control.java:3302)
> at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
> at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
> at org.eclipse.swt.widgets.Control.release(Control.java:3302)
> at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
> at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:208)
> at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:469)
> at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:2303)
> at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
> at org.eclipse.swt.widgets.Control.release(Control.java:3302)
> at org.eclipse.swt.widgets.Widget.dispose(Widget.java:462)
> at org.eclipse.swt.widgets.Shell.dispose(Shell.java:2239)
> at org.eclipse.jface.window.Window.close(Window.java:335)
> at org.eclipse.jface.dialogs.Dialog.close(Dialog.java:979)
> at org.eclipse.jface.dialogs.TrayDialog.close(TrayDialog.java:179)
> at org.eclipse.jface.wizard.WizardDialog.hardClose(WizardDialog.java:871)
> at org.eclipse.jface.wizard.WizardDialog.close(WizardDialog.java:484)
> at org.eclipse.jface.wizard.WizardDialog.cancelPressed(WizardDialog.java:471)
> at org.tigris.subversion.subclipse.ui.wizards.dialogs.SvnWizardDialog.cancelPressed(SvnWizardDialog.java:51)
> at org.eclipse.jface.wizard.WizardDialog$1.widgetSelected(WizardDialog.java:321)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3552)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> at org.eclipse.jface.window.Window.open(Window.java:801)
> at org.tigris.subversion.subclipse.ui.actions.CommitAction.confirmCommit(CommitAction.java:329)
> at org.tigris.subversion.subclipse.ui.actions.CommitAction$1.run(CommitAction.java:114)
> at org.tigris.subversion.subclipse.ui.repository.RepositoryManager.run(RepositoryManager.java:375)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction$1.run(SVNAction.java:231)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction$2.run(SVNAction.java:240)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:237)
> at org.tigris.subversion.subclipse.ui.actions.CommitAction.execute(CommitAction.java:102)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:56)
> at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:70)
> at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3552)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
> at org.eclipse.jface.window.Window.open(Window.java:801)
> at org.tigris.subversion.subclipse.ui.actions.CommitAction.confirmCommit(CommitAction.java:329)
> at org.tigris.subversion.subclipse.ui.actions.CommitAction$1.run(CommitAction.java:114)
> at org.tigris.subversion.subclipse.ui.repository.RepositoryManager.run(RepositoryManager.java:375)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction$1.run(SVNAction.java:231)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction$2.run(SVNAction.java:240)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:237)
> at org.tigris.subversion.subclipse.ui.actions.CommitAction.execute(CommitAction.java:102)
> at org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:56)
> at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:70)
> at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3552)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> 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:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
>
>
> When I try to view the differences in "Compare With" menu, they are shown.
>
> ------------------------------------------------------
> http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2631352
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
>

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2631382
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2010-07-09 13:01:57 CEST

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.