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

[Subclipse-users] NullPointerException during merge with 1.6

From: Benoit Maisonny <benoit_at_synclude.com>
Date: Mon, 7 Dec 2009 06:54:24 -0800 (PST)

Hi,

I have an NPE when trying to list SVN log entries in the merge wizard. In Eclipse, I did:
- Right-clicked on project, Team, Merge
- Selected Merge a range of revisions and perform pre-merge best practice checks, then next
- Chose my project trunk in "Merge from" (the workspace being on a branch) and "select revisions on next page", then next.

The progress bar swings a few seconds, then disappears and nothing happens. The Eclipse Error Log shows the NPE stack trace copied below.

If I repeat the operation, sometimes I get lucky and it works, showing me the log entries and I can perform a merge.

So, I can't repeat the problem every time, but often.

Subclipse version 1.6.6, currently up to date.

Cheers,
Benoit

eclipse.buildId=M20090917-0800
java.version=1.6.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=fr_BE
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

Error
Mon Dec 07 14:37:09 CET 2009
Unhandled event loop exception

java.lang.NullPointerException
        at com.collabnet.subversion.merge.wizards.MergeWizardRevisionsPage$AuthorViewFilter.select(MergeWizardRevisionsPage.java:807)
        at org.eclipse.jface.viewers.ViewerFilter.filter(ViewerFilter.java:51)
        at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:897)
        at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:1016)
        at org.eclipse.jface.viewers.AbstractTableViewer.internalRefreshAll(AbstractTableViewer.java:701)
        at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:649)
        at org.eclipse.jface.viewers.AbstractTableViewer.internalRefresh(AbstractTableViewer.java:636)
        at org.eclipse.jface.viewers.AbstractTableViewer$2.run(AbstractTableViewer.java:592)
        at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1392)
        at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1353)
        at org.eclipse.jface.viewers.AbstractTableViewer.inputChanged(AbstractTableViewer.java:590)
        at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:274)
        at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1634)
        at com.collabnet.subversion.merge.wizards.MergeWizardRevisionsPage.refresh(MergeWizardRevisionsPage.java:394)
        at com.collabnet.subversion.merge.wizards.MergeWizardRevisionsPage.setVisible(MergeWizardRevisionsPage.java:343)
        at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1171)
        at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1149)
        at org.eclipse.jface.wizard.WizardDialog$5.run(WizardDialog.java:1138)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1136)
        at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:830)
        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
        at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
        at org.eclipse.jface.window.Window.open(Window.java:801)
        at com.collabnet.subversion.merge.actions.MergeAction.execute(MergeAction.java:37)
        at org.tigris.subversion.subclipse.ui.actions.ConfigurableMergeAction.execute(ConfigurableMergeAction.java:27)
        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:1176)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        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:368)
        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:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2427840

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2009-12-07 16:01:45 CET

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.