Submit fails in Eclipse 3.0 M8 using p4eclipse 0.6.24:
!ENTRY org.eclipse.ui 4 4 apr 16, 2004 03:22:36.515
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 apr 16, 2004 03:22:36.531
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at
net.sourceforge.perforce.ui.PerforceUIPlugin.computePre
SubmitOperations(PerforceUIPlugin.java:563)
at
net.sourceforge.perforce.ui.PerforceUIPlugin.getPreSubmi
tOperations(PerforceUIPlugin.java:550)
at
net.sourceforge.perforce.ui.action.SubmitAction.preSubm
it(SubmitAction.java:159)
at
net.sourceforge.perforce.ui.action.SubmitAction.run
(SubmitAction.java:59)
at
org.eclipse.ui.actions.ActionDelegate.runWithEvent
(ActionDelegate.java:71)
at
org.eclipse.ui.internal.PluginAction.runWithEvent
(PluginAction.java:259)
at
org.eclipse.jface.action.ActionContributionItem.handleWi
dgetSelection(ActionContributionItem.java:550)
at
org.eclipse.jface.action.ActionContributionItem.access$2
(ActionContributionItem.java:502)
at
org.eclipse.jface.action.ActionContributionItem$5.handle
Event(ActionContributionItem.java:435)
at
org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:769)
at
org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:2578)
at
org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2256)
at
org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:1562)
at org.eclipse.ui.internal.Workbench.runUI
(Workbench.java:1536)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbenc
h(Workbench.java:257)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench
(PlatformUI.java:139)
at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:90)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:277)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:239)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:117)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke
(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown
Source)
at org.eclipse.core.launcher.Main.basicRun
(Main.java:267)
at org.eclipse.core.launcher.Main.run
(Main.java:692)
at org.eclipse.core.launcher.Main.main
(Main.java:676)
Logged In: YES
user_id=221319
I can't duplicate this using the sources from CVS.
Please check your installation. The stack trace indicates
that the "preSubmitOperations" extension is not being found
in the registry.
Logged In: YES
user_id=528396
Well, it seems to work now for me too. Not sure what I did to
make it work - if anything.
Logged In: YES
user_id=188065
I am getting the same error on 3.0RC1:
!SESSION Jun 07, 2004 16:40:47.786 -----------------------
----------------------
eclipse.buildId=I200405290105
java.version=1.4.2_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32,
NL=en_US
!ENTRY org.eclipse.ui 4 4 Jun 07, 2004 16:40:47.786
!MESSAGE Unhandled event loop exception
!ENTRY org.eclipse.ui 4 0 Jun 07, 2004 16:40:47.796
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at
net.sourceforge.perforce.ui.PerforceUIPlugin.computePreSubmi
tOperations(PerforceUIPlugin.java:563)
at
net.sourceforge.perforce.ui.PerforceUIPlugin.getPreSubmitOper
ations(PerforceUIPlugin.java:550)
at
net.sourceforge.perforce.ui.action.SubmitAction.preSubmit
(SubmitAction.java:159)
at
net.sourceforge.perforce.ui.action.SubmitAction.run
(SubmitAction.java:59)
at
org.eclipse.ui.actions.ActionDelegate.runWithEvent
(ActionDelegate.java:71)
at org.eclipse.ui.internal.PluginAction.runWithEvent
(PluginAction.java:266)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetS
election(ActionContributionItem.java:915)
at
org.eclipse.jface.action.ActionContributionItem.access$2
(ActionContributionItem.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:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:2716)
at org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2382)
at org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:1363)
at org.eclipse.ui.internal.Workbench.runUI
(Workbench.java:1334)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:253)
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
(PlatformActivator.java:334)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:128)
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.basicRun
(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:638)
at org.eclipse.core.launcher.Main.main
(Main.java:622)
Logged In: YES
user_id=188065
Just to clarify. I did full cvs checkout on 6/7/2004 and rebuild
p4core.jar, p4ui.jar and p4api.jar and replace them in
appropriate plugins directory, which had p4eclipse 0.62
inmstalled using Eclipse Update Manager
Logged In: YES
user_id=188065
I checked the source code for place of error, and it looks like
it has something to do with Eclipse registry.
I then deleted p4eclipse plugin and Eclipse .registry files. I
reloaded p4eclipse plugin using Update Manager and copied
ui, core, api .jar, and plugin.xml and plugin.properties into
appropriate directories.
And the submit is working!