MyEclipse: Error when Eclipse go Up - SWTException

franzvino - Jul 20, 2007 - 03:07 PM
Post subject: Error when Eclipse go Up - SWTException
Hi,
I have installe eclipse 3.3.0, MyEclipse 6.0.0, jre 6, jee 5, when eclipse start up make thousand of this error:

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalArgumentException: Argument cannot be null)
at org.eclipse.swt.SWT.error(SWT.java:3563)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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.equinox.launcher.Main.invokeFramework(Main.java:504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
Caused by: java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:3547)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.SWT.error(SWT.java:3452)
at org.eclipse.swt.widgets.Widget.error(Widget.java:432)
at org.eclipse.swt.widgets.Link.setText(Link.java:571)
at org.eclipse.ui.internal.progress.ProgressInfoItem.updateText(ProgressInfoItem.java:773)
at org.eclipse.ui.internal.progress.ProgressInfoItem.setLinkText(ProgressInfoItem.java:759)
at org.eclipse.ui.internal.progress.ProgressInfoItem.refresh(ProgressInfoItem.java:530)
at org.eclipse.ui.internal.progress.ProgressInfoItem.setDisplayed(ProgressInfoItem.java:902)
at org.eclipse.ui.internal.progress.ProgressInfoItem.setDisplayed(ProgressInfoItem.java:888)
at org.eclipse.ui.internal.progress.DetailedProgressViewer.updateVisibleItems(DetailedProgressViewer.java:503)
at org.eclipse.ui.internal.progress.DetailedProgressViewer.access$0(DetailedProgressViewer.java:497)
at org.eclipse.ui.internal.progress.DetailedProgressViewer$2.controlMoved(DetailedProgressViewer.java:99)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:210)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:943)
at org.eclipse.swt.widgets.Control.WM_MOVE(Control.java:4186)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3718)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2259)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351)
at org.eclipse.swt.internal.win32.OS.SetWindowPos(Native Method)
at org.eclipse.swt.widgets.Widget.SetWindowPos(Widget.java:1235)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:2521)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:2503)
at org.eclipse.swt.widgets.Control.setLocation(Control.java:2829)
at org.eclipse.swt.custom.ScrolledComposite.setContent(ScrolledComposite.java:438)
at org.eclipse.ui.internal.progress.DetailedProgressViewer.updateForShowingProgress(DetailedProgressViewer.java:180)
at org.eclipse.ui.internal.progress.DetailedProgressViewer.remove(DetailedProgressViewer.java:424)
at org.eclipse.ui.internal.progress.ProgressViewerContentProvider.remove(ProgressViewerContentProvider.java:218)
at org.eclipse.ui.internal.progress.ProgressViewUpdater$1.runInUIThread(ProgressViewUpdater.java:280)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
... 22 more

Tnx a lot for your Help!!
franz
support-nipun - Jul 30, 2007 - 05:49 PM
Post subject: RE: Error when Eclipse go Up - SWTException
Can you download the fullstack installer and use that to setup MyEclipse to a brand new location. Does MyEclipse start without errors now ?
trekmbikes - Sep 11, 2007 - 08:43 AM
Post subject: same
I'm getting the same error, and so are a lot of other people. I installed the bundle pack from the MyEclipse website, and started eclipse with the -clean option. The only other plugin I have is the latest Subclipse plugin. When I disabled either the MyEclipse plugins, or the SubClipse plugin, the problem goes away. I'm not sure which side of the fence the problem lies on.
trekmbikes - Sep 11, 2007 - 05:30 PM
Post subject: RE: same
I was wrong when I thought disabling Subclipse fixed the problem - it turns out this error starts only after I try to run Tomcat 6 from within MyEclipse. After Tomcat begins (and any time after that, including after you've stopped it), this annoying window pops up which totally prevents you from using Eclipse, and the same stack trace as above appears.
vict0r - Sep 29, 2007 - 12:05 AM
Post subject: Very annoying
I had this error too, very, very annoying. Not only when running Tomcat 6, but also Tomcat 5, MyEclipse Tomcat 6, and Jetty 6. I have disabled all plugins and reactivated them one by one. Deactivation of the TestNG plugin seemed to help, but, sporadically (once every 1-2 days) these dialog boxes still pop up and repeatedly clutter the screen. This goes away with Eclipse restart.

I suspect it has something to do with deployment or validation of applications on the application Servers, because it appears only when or after starting/restarting a (app) server with MyEclipse.

To be clear: Eclipse starts up very fine ,without the error. The error comes later.

PS
While this NOW occurs only sporadically on my machine, a colleague of mine reported me that he updated today to Eclipse 3.3 and ME 6, and is receiving the absolutely same error dialog under same circumstances. He hasn't ever installed TestNG plugin.

PPS
Here the screenshots I made two weeks ago, when it was really show stopping for me:
Image
Image

The message "Update Progress" is very strange and might be the hint.
support-nipun - Oct 01, 2007 - 06:41 PM
Post subject: RE: Very annoying
vict0r,
This usually happens when the workspace gets corrupted. Can you switch to a workspace, create a new project and try working with it. Do you still run into this error ? If not, then you can import your projects from the old workspace into this new workspace and continue working.
vict0r - Oct 08, 2007 - 05:26 PM
Post subject:
Nipun,

I appreciate very much your support. Nevertheless, I'm not going to create a new workspace for this issue. I find it strange that everything worked fine until upgrading to E 3.3 and ME 6. And this happened not only to me, but also to my colleagues. Please note that we never share workspaces, only projects.
Maybe your standard answer is "workspace is corrupted, create a new one", but sorry, I did this often enough to know how tedious this is, and now I have so many projects and workspaces, that I'm not going to do this again without a clear and _simple_ path to copy most settings (Editor_s, Templates, Compiler, JDK's, Servers, etc) from one workspace to another.
support-rkalla - Oct 08, 2007 - 06:38 PM
Post subject:
vict0r,
Sorry about that, you are right that if -clean doesn't do the trick then normally a clean workspace atleast for testing a reproducible problem is a good next step.

Guys looking at the behaviors here alone:
1. Each user has a different plugin that "causes the problem", but disables it doesn't get rid of the problem completely.
2. Problem is somewhat random.
3. Complaints started with Eclipse 3.3

seems to suggest that this is a platform issue. You guys reported TestNG plugin, Subclipse and App server connectors all as causes in this thread... I'm really thinking this might be a platform snaffu.


Out of curiosity does *Everyone* get the incredible amount of
Quote:

Caused by: java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:3547)


exceptions in their log? I want to try and search against the Eclipse bug database and see if we can uncover what is going on.
vict0r - Oct 08, 2007 - 07:18 PM
Post subject:
Quote:
Caused by: java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:3547)


YES, this is the error in background while at "surface" the error messages shown in the screenshots appear.
j_smitley - Oct 08, 2007 - 07:39 PM
Post subject: Update Progress error
I get this error as well, I have rebuild my workspace, installed the regular installer and the full stack installer, rebuild my workspaces. All to no avail. See the same stack trace in my logs at time of occurence, all the exact same symptoms as vict0r.
support-rkalla - Oct 09, 2007 - 05:40 PM
Post subject: RE: Update Progress error
Thanks guys for the clarification.

I've been digging through the eclipse bugs and I can't find anything definitive BUT errors like this have been reported since version 2.0 and it seems certain behaviors can trigger it (like clicking package explorer/etc.)

Could you guys go to Window > Show View > Other... and open the Error Log view, then clear it, and as you work see if you can find a reproducable set of actions (like focusing a project, autocomplete in the editor, etc.) that causes this exception to get logged?

BTW I can't reproduce this on my end, so it's not like I'm just trying to keep you busy, I need a way to reproduce this.
j_smitley - Oct 09, 2007 - 05:45 PM
Post subject:
OK, will do...thanks for all of your diligence looking into this!
support-rkalla - Oct 12, 2007 - 06:27 PM
Post subject:
Guys any luck tracking the creation of the error in the log as you watch it?
j_smitley - Oct 12, 2007 - 06:50 PM
Post subject:
I haven't seen it in awhile, I'll keep looking tho...my latest rebuild ;)
support-rkalla - Oct 12, 2007 - 07:10 PM
Post subject:
Hmm... so things improved?

Out of curiosity, is everyone seeing this *after* an upgrade using the update manager?

We are trying to dig out details that might allow us to pin point what is going on.
bassualdo16 - Oct 15, 2007 - 04:33 PM
Post subject:
I also have this exception.
The error in error log says:
Message : Unhandled event loop exception
Exception Stack Trace :
Code:
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
   at org.eclipse.swt.SWT.error(SWT.java:3563)
   at org.eclipse.swt.SWT.error(SWT.java:3481)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
   at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
   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.equinox.launcher.Main.invokeFramework(Main.java:508)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Caused by: java.lang.NullPointerException
   at org.eclipse.ui.internal.progress.JobTreeElement.compareTo(JobTreeElement.java:82)
   at org.eclipse.ui.internal.progress.JobInfo.compareTo(JobInfo.java:167)
   at org.eclipse.ui.internal.progress.ProgressManagerUtil$1.compare(ProgressManagerUtil.java:107)
   at org.eclipse.jface.viewers.ViewerComparator$1.compare(ViewerComparator.java:187)
   at java.util.Arrays.mergeSort(Unknown Source)
   at java.util.Arrays.sort(Unknown Source)
   at org.eclipse.jface.viewers.ViewerComparator.sort(ViewerComparator.java:185)
   at org.eclipse.ui.internal.progress.DetailedProgressViewer.add(DetailedProgressViewer.java:158)
   at org.eclipse.ui.internal.progress.ProgressViewerContentProvider.add(ProgressViewerContentProvider.java:213)
   at org.eclipse.ui.internal.progress.ProgressViewUpdater$1.runInUIThread(ProgressViewUpdater.java:277)
   at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
   ... 22 more

I have Eclipse IDE for Java EE Developers installed.
support-rkalla - Oct 15, 2007 - 05:57 PM
Post subject:
Quote:

I have Eclipse IDE for Java EE Developers installed.


We have had reports of incompatabilities with that version of Eclipse, as opposed to using the Eclipse "Classic" download. You might try reinstalling with that *or* just using the MyEclipse All in One installer which will install everything for you right out of the box.

Sorry for the trouble.
phillroberts - Oct 15, 2007 - 07:25 PM
Post subject:
I have the 'Classic' version installed and still have the same problem...
When I installed the FullStack install of ME6, it was extremely memory hungry...not sure what that was about though.

I'm going to uninstall ME6 and go back to 5 and see what happens....
(err...I should be able to use eclipse 3.3 with ME5 right?)


support-rkalla wrote:
Quote:

I have Eclipse IDE for Java EE Developers installed.


We have had reports of incompatabilities with that version of Eclipse, as opposed to using the Eclipse "Classic" download. You might try reinstalling with that *or* just using the MyEclipse All in One installer which will install everything for you right out of the box.

Sorry for the trouble.

phillroberts - Oct 15, 2007 - 07:32 PM
Post subject:
Ouch... Component XXX requires YYY 3.2 or equivalent...I guess that's a NO!!!
Oh well...somebody tell me when this is over...back to eclipse 3.2 and me5 for me...

phillroberts wrote:

I'm going to uninstall ME6 and go back to 5 and see what happens....
(err...I should be able to use eclipse 3.3 with ME5 right?)


support-rkalla - Oct 15, 2007 - 08:27 PM
Post subject:
Quote:

When I installed the FullStack install of ME6, it was extremely memory hungry...not sure what that was about though.

It might have just "looked" that way because the default memory args allow a heap of 512mb before GC sets in. You can trim that down if you want.

Quote:

(err...I should be able to use eclipse 3.3 with ME5 right?)

No actually:
Eclipse 3.2.2 = MyEclipse 5.5.1
Eclipse 3.3 = MyEclipse 6.0
Eclipse 3.3.1 = MyEclipse 6.0.1 (coming out soon)

Quote:

Oh well...somebody tell me when this is over...back to eclipse 3.2 and me5 for me...

Were you able to find a case that reproduced the issue ever time? We are tracking it but so far do not have a reproducable test case and in *most* of our log files don't even get this exception. There seems to be some issue with certain setups that make the exception occur like crazy, but we haven't gotten much progress in the way of finding what it is.

Which platform are you on and which plugins do you add to your MyEclipse install?
vict0r - Oct 15, 2007 - 09:48 PM
Post subject:
I had freshly installed Eclipse 3.3 classic (the 140 MB package, see http://www.eclipse.org/downloads/moreinfo/compare.php) with ME 6.

Three weeks ago I thought it was TestNG's fault, because after uninstalling it the errors became only sporadic. Last week I reinstalled the TestNG plugin without additional side effects. But today afternoon I had again to restart Eclipse. The issues started when I shut down a Jetty engine. This mostly occured when shutting down/restarting/killing a app server / engine.

Another feeling I have: it might be related to network/proxy issues. Tree weeks ago I acted in a corporate LAN (with HTTP-only proxy), but the past two weeks I was only in my home office with transparent NAT. Today afternoon I had switched from WLAN to LAN some couples of minutes before the dialog boxes started to pop up. After Eclipse restart every thing went fine.

Summary:
- Eclipse started, running ok for some hours; Jetty engine running with ME;
- Switched on LAN interface and switched off WLAN interface;
- some couples of minutes later: shutdown Jetty;
- more and more error dialog boxes appeared => I restarted Eclipse
Quote:
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalArgumentException: Argument cannot be null)
at org.eclipse.swt.SWT.error(SWT.java:3563)

support-rkalla - Oct 15, 2007 - 11:04 PM
Post subject:
Quote:

The issues started when I shut down a Jetty engine. This mostly occured when shutting down/restarting/killing a app server / engine.

Using the MyEclipse Jetty Connector? If so, which version? 5/6?


Also very interesting find with respect to the network settings... it's possible that could be effecting it.

Are there certain network-enabled features that when used with the new network setup cause the exceptions? Like the Ajax Web Browser?
vict0r - Oct 15, 2007 - 11:24 PM
Post subject:
Jetty 6, and Tomcat 6.0.14. ME connector
No Ajax Web Browser. Just plain Java/Servlet/JSP/HTML stuff (ok, wingsframework, but this is pure Java, and not browsing from within Eclipse).
livewire114 - Oct 24, 2007 - 05:07 PM
Post subject:
I have the same thing. Here's my stack trace:

Quote:

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3563)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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.equinox.launcher.Main.invokeFramework(Main.java:504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
Caused by: java.lang.NullPointerException
at org.eclipse.ui.internal.progress.JobTreeElement.compareTo(JobTreeElement.java:82)
at org.eclipse.ui.internal.progress.JobInfo.compareTo(JobInfo.java:167)
at org.eclipse.ui.internal.progress.ProgressManagerUtil$1.compare(ProgressManagerUtil.java:107)
at org.eclipse.jface.viewers.ViewerComparator$1.compare(ViewerComparator.java:187)
at java.util.Arrays.mergeSort(Unknown Source)
at java.util.Arrays.sort(Unknown Source)
at org.eclipse.jface.viewers.ViewerComparator.sort(ViewerComparator.java:185)
at org.eclipse.ui.internal.progress.DetailedProgressViewer.add(DetailedProgressViewer.java:158)
at org.eclipse.ui.internal.progress.DetailedProgressViewer.internalRefresh(DetailedProgressViewer.java:378)
at org.eclipse.jface.viewers.StructuredViewer.internalRefresh(StructuredViewer.java:1226)
at org.eclipse.jface.viewers.StructuredViewer$8.run(StructuredViewer.java:1460)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1368)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1330)
at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1458)
at org.eclipse.ui.internal.progress.ProgressViewerContentProvider.refresh(ProgressViewerContentProvider.java:137)
at org.eclipse.ui.internal.progress.ProgressViewUpdater$1.runInUIThread(ProgressViewUpdater.java:274)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
... 22 more


I'm running the full stack MyEclipse 6.0, with M2 (Maven) and Subversive plugins installed. I'm going to try and install 6.0.1 and hope this goes away, but in the meantime, is there any more info that would help fix this now that I have my workspace in a state where it's happening like crazy meaning I can reproduce it easily?
support-rkalla - Oct 24, 2007 - 08:13 PM
Post subject:
livewire114,
Is there a certain set of behaviors that reproduce it every time for you from a cold start? I might be able to use that to reproduce it here...
henk - Nov 01, 2007 - 09:57 PM
Post subject:
Hi,

I just would like to report a "me too" here. I'm using Windows XP with the latest version of MyEclipse and Eclipse. I originally installed MyEclipse 6M1 and later on upgraded to MyEclipse 6GA and 6.0.1.The impression I get is that this particular error occurs whenever I do too many things at the same time; e.g. like updating a project from the SVN repository (using subversive) and while this update is taking place I start or restart Tomcat and before MyEclipse has really shown anything in the console I already that switching editors.

Normally I'm an easy going and thoughtful person ( :P), so the user interaction I sketched above does not happen very often. However, occasionally I'm into that behavior and it feels like the error happens then (although I can not reproduce it). A simple restart of Eclipse fixes the problem.

In my log I found a lot of these:

Code:

!ENTRY org.eclipse.ui 4 0 2007-10-28 23:03:07.828
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalArgumentException: Argument cannot be null)
   at org.eclipse.swt.SWT.error(SWT.java:3563)
   at org.eclipse.swt.SWT.error(SWT.java:3481)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
   at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
   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:508)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Caused by: java.lang.IllegalArgumentException: Argument cannot be null
   at org.eclipse.swt.SWT.error(SWT.java:3547)
   at org.eclipse.swt.SWT.error(SWT.java:3481)
   at org.eclipse.swt.SWT.error(SWT.java:3452)
   at org.eclipse.swt.widgets.Widget.error(Widget.java:432)
   at org.eclipse.swt.widgets.Link.setText(Link.java:571)
   at org.eclipse.ui.internal.progress.ProgressInfoItem.updateText(ProgressInfoItem.java:773)
   at org.eclipse.ui.internal.progress.ProgressInfoItem.setLinkText(ProgressInfoItem.java:759)
   at org.eclipse.ui.internal.progress.ProgressInfoItem.refresh(ProgressInfoItem.java:530)
   at org.eclipse.ui.internal.progress.ProgressInfoItem.setDisplayed(ProgressInfoItem.java:902)
   at org.eclipse.ui.internal.progress.ProgressInfoItem.setDisplayed(ProgressInfoItem.java:888)
   at org.eclipse.ui.internal.progress.DetailedProgressViewer.updateVisibleItems(DetailedProgressViewer.java:503)
   at org.eclipse.ui.internal.progress.DetailedProgressViewer.access$0(DetailedProgressViewer.java:497)
   at org.eclipse.ui.internal.progress.DetailedProgressViewer$2.controlMoved(DetailedProgressViewer.java:99)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:210)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:943)
   at org.eclipse.swt.widgets.Control.WM_MOVE(Control.java:4186)
   at org.eclipse.swt.widgets.Control.windowProc(Control.java:3718)
   at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351)
   at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
   at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2260)
   at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
   at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
   at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351)
   at org.eclipse.swt.internal.win32.OS.SetWindowPos(Native Method)
   at org.eclipse.swt.widgets.Widget.SetWindowPos(Widget.java:1235)
   at org.eclipse.swt.widgets.Control.setBounds(Control.java:2521)
   at org.eclipse.swt.widgets.Control.setBounds(Control.java:2503)
   at org.eclipse.swt.widgets.Control.setLocation(Control.java:2829)
   at org.eclipse.swt.custom.ScrolledComposite.setContent(ScrolledComposite.java:438)
   at org.eclipse.ui.internal.progress.DetailedProgressViewer.updateForShowingProgress(DetailedProgressViewer.java:180)
   at org.eclipse.ui.internal.progress.DetailedProgressViewer.remove(DetailedProgressViewer.java:424)
   at org.eclipse.ui.internal.progress.ProgressViewerContentProvider.remove(ProgressViewerContentProvider.java:218)
   at org.eclipse.ui.internal.progress.ProgressViewUpdater$1.runInUIThread(ProgressViewUpdater.java:280)
   at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
   ... 22 more


And also a lot of these:

Code:

!ENTRY org.eclipse.ui 4 0 2007-10-28 23:03:21.078
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
   at org.eclipse.swt.SWT.error(SWT.java:3563)
   at org.eclipse.swt.SWT.error(SWT.java:3481)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
   at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
   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:508)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Caused by: java.lang.NullPointerException
   at org.eclipse.ui.internal.progress.JobTreeElement.compareTo(JobTreeElement.java:82)
   at org.eclipse.ui.internal.progress.JobInfo.compareTo(JobInfo.java:167)
   at org.eclipse.ui.internal.progress.ProgressManagerUtil$1.compare(ProgressManagerUtil.java:107)
   at org.eclipse.jface.viewers.ViewerComparator$1.compare(ViewerComparator.java:187)
   at java.util.Arrays.mergeSort(Arrays.java:1270)
   at java.util.Arrays.sort(Arrays.java:1210)
   at org.eclipse.jface.viewers.ViewerComparator.sort(ViewerComparator.java:185)
   at org.eclipse.ui.internal.progress.DetailedProgressViewer.add(DetailedProgressViewer.java:158)
   at org.eclipse.ui.internal.progress.ProgressViewerContentProvider.add(ProgressViewerContentProvider.java:213)
   at org.eclipse.ui.internal.progress.ProgressViewUpdater$1.runInUIThread(ProgressViewUpdater.java:277)
   at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
   ... 22 more


These are some of the settings that are printed in my log for the day the exceptions occured:

Code:

eclipse.buildId=I20070625-1500
java.version=1.6.0_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -showsplash com.genuitec.myeclipse.product --launcher.XXMaxPermSize 256m -product com.genuitec.myeclipse.product.ide
Command-line arguments:  -os win32 -ws win32 -arch x86 -showsplash com.genuitec.myeclipse.product --launcher.XXMaxPermSize 256m -clean -product com.genuitec.myeclipse.product.ide


(the -clean apparently didn't help)

Till now the problem manifests itself only occasionally for me and I'm not *really* bothered by it. Nevertheless I hope this "me too" information is in someway helpful to you for solving the problem.
support-rkalla - Nov 05, 2007 - 02:40 PM
Post subject:
Henk, it does give us more data points. Thank you.
j_smitley - Nov 07, 2007 - 05:23 PM
Post subject:
I have finally received this error again after being gone a long time, happened while shutting down Tomcat from the Servers view...retrieved from the Error Log:

!ENTRY org.eclipse.ui 4 0 2007-11-07 11:16:55.604
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalArgumentException: Argument cannot be null)
at org.eclipse.swt.SWT.error(SWT.java:3563)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
Caused by: java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:3547)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.SWT.error(SWT.java:3452)
at org.eclipse.swt.widgets.Widget.error(Widget.java:432)
at org.eclipse.swt.widgets.Link.setText(Link.java:571)
at org.eclipse.ui.internal.progress.ProgressInfoItem.updateText(ProgressInfoItem.java:773)
at org.eclipse.ui.internal.progress.ProgressInfoItem.setLinkText(ProgressInfoItem.java:759)
at org.eclipse.ui.internal.progress.ProgressInfoItem.refresh(ProgressInfoItem.java:530)
at org.eclipse.ui.internal.progress.ProgressInfoItem.setDisplayed(ProgressInfoItem.java:902)
at org.eclipse.ui.internal.progress.ProgressInfoItem.setDisplayed(ProgressInfoItem.java:888)
at org.eclipse.ui.internal.progress.DetailedProgressViewer.updateVisibleItems(DetailedProgressViewer.java:503)
at org.eclipse.ui.internal.progress.DetailedProgressViewer.access$0(DetailedProgressViewer.java:497)
at org.eclipse.ui.internal.progress.DetailedProgressViewer$2.controlMoved(DetailedProgressViewer.java:99)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:210)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:943)
at org.eclipse.swt.widgets.Control.WM_MOVE(Control.java:4186)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3718)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2260)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351)
at org.eclipse.swt.internal.win32.OS.SetWindowPos(Native Method)
at org.eclipse.swt.widgets.Widget.SetWindowPos(Widget.java:1235)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:2521)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:2503)
at org.eclipse.swt.widgets.Control.setLocation(Control.java:2829)
at org.eclipse.swt.custom.ScrolledComposite.setContent(ScrolledComposite.java:438)
at org.eclipse.ui.internal.progress.DetailedProgressViewer.updateForShowingProgress(DetailedProgressViewer.java:180)
at org.eclipse.ui.internal.progress.DetailedProgressViewer.remove(DetailedProgressViewer.java:424)
at org.eclipse.ui.internal.progress.ProgressViewerContentProvider.remove(ProgressViewerContentProvider.java:218)
at org.eclipse.ui.internal.progress.ProgressViewUpdater$1.runInUIThread(ProgressViewUpdater.java:280)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
... 23 more

Hope this helps!
support-rkalla - Nov 09, 2007 - 03:56 AM
Post subject:
It does, it looks like it might just be a goofy UI call with relation to the progress dialog. Hopefully nothing too bad.
der_didi - Nov 14, 2007 - 09:50 AM
Post subject:
I faced the same problems in the last days. My feeling is similar, this only happens while running several tasks at the same time, and it seems to be related to the "progress" view which did not show running and waiting tasks properly. Today I imported a general eclipse configuration which is used on our project by many others, and this seems to fix the problem. I exported my configuration before, unfortunately I was not able to compare both configuration files.

If it is of interest, I can send those configuration files, if so please send a pm.
support-rkalla - Nov 14, 2007 - 03:11 PM
Post subject:
der,
Thank you for the heads up, we are going to do a bit more investigation on our part first.
vict0r - Dec 05, 2007 - 06:55 PM
Post subject: Crosslink to a possible reason
Crosslink to a possible reason(?): 6.0.0 hotfix not uninstalled by 6.0.1 update .
Dsleeper - Dec 11, 2007 - 09:09 AM
Post subject: RE: Crosslink to a possible reason
I'm running full stack install Build id: 6.0.1-GA-200710 on Vista Business and I also get this error once in a while, but lately it has been happening more and more.

Stacktrace is:
eclipse.buildId=M20070921-1145
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_NO
Command-line arguments: -os win32 -ws win32 -arch x86
This is a continuation of log file C:\Users\sigurd.UP\workspace\.metadata\.bak_0.log
Created Time: 2007-12-11 09:40:55.804

Error
Tue Dec 11 10:04:31 CET 2007
Unhandled event loop exception

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalArgumentException: Argument cannot be null)
at org.eclipse.swt.SWT.error(SWT.java:3563)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at org.eclipse.pde.internal.runtime.logview.EventDetailsDialog.open(EventDetailsDialog.java:184)
at org.eclipse.pde.internal.runtime.logview.EventDetailsDialogAction.run(EventDetailsDialogAction.java:91)
at org.eclipse.pde.internal.runtime.logview.LogView$12.doubleClick(LogView.java:394)
at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:799)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:857)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:797)
at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1387)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1173)
at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:237)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:234)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:295)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
Caused by: java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:3547)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.SWT.error(SWT.java:3452)
at org.eclipse.swt.widgets.Widget.error(Widget.java:432)
at org.eclipse.swt.widgets.Link.setText(Link.java:571)
at org.eclipse.ui.internal.progress.ProgressInfoItem.updateText(ProgressInfoItem.java:773)
at org.eclipse.ui.internal.progress.ProgressInfoItem.setLinkText(ProgressInfoItem.java:759)
at org.eclipse.ui.internal.progress.ProgressInfoItem.refresh(ProgressInfoItem.java:530)
at org.eclipse.ui.internal.progress.ProgressInfoItem.setDisplayed(ProgressInfoItem.java:902)
at org.eclipse.ui.internal.progress.ProgressInfoItem.setDisplayed(ProgressInfoItem.java:888)
at org.eclipse.ui.internal.progress.DetailedProgressViewer.updateVisibleItems(DetailedProgressViewer.java:503)
at org.eclipse.ui.internal.progress.DetailedProgressViewer.access$0(DetailedProgressViewer.java:497)
at org.eclipse.ui.internal.progress.DetailedProgressViewer$2.controlMoved(DetailedProgressViewer.java:99)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:210)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:943)
at org.eclipse.swt.widgets.Control.WM_MOVE(Control.java:4186)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3718)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2260)
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351)
at org.eclipse.swt.internal.win32.OS.SetWindowPos(Native Method)
at org.eclipse.swt.widgets.Widget.SetWindowPos(Widget.java:1235)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:2521)
at org.eclipse.swt.widgets.Control.setBounds(Control.java:2503)
at org.eclipse.swt.widgets.Control.setLocation(Control.java:2829)
at org.eclipse.swt.custom.ScrolledComposite.setContent(ScrolledComposite.java:438)
at org.eclipse.ui.internal.progress.DetailedProgressViewer.updateForShowingProgress(DetailedProgressViewer.java:180)
at org.eclipse.ui.internal.progress.DetailedProgressViewer.remove(DetailedProgressViewer.java:424)
at org.eclipse.ui.internal.progress.ProgressViewerContentProvider.remove(ProgressViewerContentProvider.java:218)
at org.eclipse.ui.internal.progress.ProgressViewUpdater$1.runInUIThread(ProgressViewUpdater.java:280)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
... 43 more
support-rkalla - Dec 11, 2007 - 03:35 PM
Post subject:
Guys, for the folks running into this issue, do you have the pre-6.0.1 hotfix installed? You can check by going to Help > Software Updates > Manage Configuration, and expanding the MyEclipse node and looking for it, it looks like this:
j_smitley - Dec 18, 2007 - 05:24 PM
Post subject:
I do have that hotfix installed, and still have the problem as well.
support-rkalla - Dec 18, 2007 - 09:07 PM
Post subject:
Can you try disabling the hotfix and restarting? It should have been integrated into 6.0.1 anyway. This may correct the issue.
jjgould - Dec 20, 2007 - 07:13 PM
Post subject:
Another "me too" post on this.

I'll chime in with my observations... The first time I saw SWT-related problems seemed to correspond with problems synchronizing tasks from a remote Mylyn repository. Those errors immediately forced me to restart my workspace.

The "update progress" are no different than already described in this thread. The one difference is that it seems to happen shortly after I get a WOWEXEC error that the Windows 16-bit subsystem has run out of memory and I should reboot. Needless to say, I ignore their advice.

Anyone else seeing the WOWEXEC error before this problem begins?

- Jack
support-rkalla - Dec 20, 2007 - 10:58 PM
Post subject:
Jack,
I haven't seen that issue before... but did disabling the hot fix help get rid of the SWTExceptions?
michael.nguyen.wk - Feb 05, 2008 - 06:30 PM
Post subject:
support-rkalla wrote:
Hmm... so things improved?

Out of curiosity, is everyone seeing this *after* an upgrade using the update manager?

We are trying to dig out details that might allow us to pin point what is going on.
I've gotten the same error message in the past. Each time I had to start a new workspace. What a nuisance. I'm now getting the error message again. From all the posts, it seems we all have in common the subclipse plugin. Apart from the base installation of 6.01, I've installed the Mylyn, Jetty Launcher and Maven2 plugins. It seems to crop up after a few months of development. I do not want to have to recreate my workspace again if I can avoid it. Has a solution to this issue been found?


btw, I've tried starting up eclipse with "-clean" several times now and no help. It may have made it worse as I'm getting errors more frequently now.

Thanks,
Michael Nguyen

Here is my error log output of the last error message I just received:
Code:

!ENTRY org.eclipse.ui 4 0 2008-02-05 10:36:37.900
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalArgumentException: Argument cannot be null)
   at org.eclipse.swt.SWT.error(SWT.java:3563)
   at org.eclipse.swt.SWT.error(SWT.java:3481)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
   at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
   at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
   at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
   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.equinox.launcher.Main.invokeFramework(Main.java:508)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Caused by: java.lang.IllegalArgumentException: Argument cannot be null
   at org.eclipse.swt.SWT.error(SWT.java:3547)
   at org.eclipse.swt.SWT.error(SWT.java:3481)
   at org.eclipse.swt.SWT.error(SWT.java:3452)
   at org.eclipse.swt.widgets.Widget.error(Widget.java:432)
   at org.eclipse.swt.widgets.Link.setText(Link.java:571)
   at org.eclipse.ui.internal.progress.ProgressInfoItem.updateText(ProgressInfoItem.java:773)
   at org.eclipse.ui.internal.progress.ProgressInfoItem.setLinkText(ProgressInfoItem.java:759)
   at org.eclipse.ui.internal.progress.ProgressInfoItem.refresh(ProgressInfoItem.java:530)
   at org.eclipse.ui.internal.progress.ProgressInfoItem.setDisplayed(ProgressInfoItem.java:902)
   at org.eclipse.ui.internal.progress.ProgressInfoItem.setDisplayed(ProgressInfoItem.java:888)
   at org.eclipse.ui.internal.progress.DetailedProgressViewer.updateVisibleItems(DetailedProgressViewer.java:503)
   at org.eclipse.ui.internal.progress.DetailedProgressViewer.access$0(DetailedProgressViewer.java:497)
   at org.eclipse.ui.internal.progress.DetailedProgressViewer$2.controlMoved(DetailedProgressViewer.java:99)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:210)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:943)
   at org.eclipse.swt.widgets.Control.WM_MOVE(Control.java:4186)
   at org.eclipse.swt.widgets.Control.windowProc(Control.java:3718)
   at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351)
   at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
   at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2260)
   at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
   at org.eclipse.swt.widgets.Control.windowProc(Control.java:3760)
   at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351)
   at org.eclipse.swt.internal.win32.OS.SetWindowPos(Native Method)
   at org.eclipse.swt.widgets.Widget.SetWindowPos(Widget.java:1235)
   at org.eclipse.swt.widgets.Control.setBounds(Control.java:2521)
   at org.eclipse.swt.widgets.Control.setBounds(Control.java:2503)
   at org.eclipse.swt.widgets.Control.setLocation(Control.java:2829)
   at org.eclipse.swt.custom.ScrolledComposite.setContent(ScrolledComposite.java:438)
   at org.eclipse.ui.internal.progress.DetailedProgressViewer.updateForShowingProgress(DetailedProgressViewer.java:180)
   at org.eclipse.ui.internal.progress.DetailedProgressViewer.remove(DetailedProgressViewer.java:424)
   at org.eclipse.ui.internal.progress.ProgressViewerContentProvider.remove(ProgressViewerContentProvider.java:218)
   at org.eclipse.ui.internal.progress.ProgressViewUpdater$1.runInUIThread(ProgressViewUpdater.java:280)
   at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
   ... 22 more

michael.nguyen.wk - Feb 05, 2008 - 06:55 PM
Post subject:
I ran the update manager and found that during the entire process I received errors. When the process finished I received this display when selecting the only update required.

I installed myEclipse using the FullStack Installer. How could I be missing files if I have all the updates minus this one?

Here is the screenshot of the message
Image
support-rkalla - Feb 05, 2008 - 09:03 PM
Post subject:
Michael,
If you go to Help > Software Update > Manage Configuration, and expand the node for MyEclipse, do you see the "Hotfix" installed?
engchina - Jul 27, 2008 - 06:00 PM
Post subject:
I had met the same error.I think I solved the problem by below method.
a)close myeclipse
b)delete "last.config.stamp" which is in "%MYECLIPSE_HOME%eclipse\configuration\org.eclipse.update"
c)restart myeclipse ("last.config.stamp" will be recreated)
then there are no error again.
If the issue happen again, just redo that.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits