Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Software update doesn't work
Software update doesn't work [message #326192] Tue, 11 March 2008 09:48 Go to next message
simon is currently offline simonFriend
Messages: 10
Registered: July 2009
Junior Member
Hi,

wenn try to start an update via "Help - >Software updates -> Find and
install..", nothing happens

The error log shows: "Unhandled event loop exception"

Stack trace looks like this:

java.lang.NoClassDefFoundError: org/eclipse/update/ui/UpdateManagerUI
at
org.eclipse.ui.internal.ide.update.InstallWizardAction$1.run (InstallWizardAction.java:47)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.ide.update.InstallWizardAction.openI nstaller(InstallWizardAction.java:45)
at
org.eclipse.ui.internal.ide.update.InstallWizardAction.run(I nstallWizardAction.java:41)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:256)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:546)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
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.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
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(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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)


Any hints? Thx.
Re: Software update doesn't work [message #326198 is a reply to message #326192] Tue, 11 March 2008 12:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Simon,

Sounds like a screwed up installation to me. I can't imagine how the
update manager itself would be missing. Maybe if you rerun with
eclipse.exe -clean -debug, the error log might have more detailed
information about what might be missing from your installation...


Simon wrote:
> Hi,
>
> wenn try to start an update via "Help - >Software updates -> Find and
> install..", nothing happens
>
> The error log shows: "Unhandled event loop exception"
>
> Stack trace looks like this:
>
> java.lang.NoClassDefFoundError: org/eclipse/update/ui/UpdateManagerUI
> at
> org.eclipse.ui.internal.ide.update.InstallWizardAction$1.run (InstallWizardAction.java:47)
>
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
> at
> org.eclipse.ui.internal.ide.update.InstallWizardAction.openI nstaller(InstallWizardAction.java:45)
>
> at
> org.eclipse.ui.internal.ide.update.InstallWizardAction.run(I nstallWizardAction.java:41)
>
> at
> org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:256)
> at
> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
>
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:546)
>
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
>
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
>
> 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.ja va:3682)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> 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(Work bench.java:461)
>
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:363)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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)
>
>
> Any hints? Thx.
>
Re: Software update doesn't work [message #326200 is a reply to message #326198] Tue, 11 March 2008 12:53 Go to previous messageGo to next message
simon is currently offline simonFriend
Messages: 10
Registered: July 2009
Junior Member
Hi Ed,

The console output shows (but Eclipse seems to start "normally"):

C:\Programme\Eclipse3.3\eclipse>eclipsec.exe -clean -debug
Start VM: -Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m
-XX:MaxPermSize=256M
-Djava.class.path=C:\Programme\Eclipse3.3\eclipse\plugins\or g.eclipse.equinox.la
uncher_1.0.1.R33x_v20070828.jar
-os win32
-ws win32
-arch x86
-showsplash
C:\Programme\Eclipse3.3\eclipse\\plugins\org.eclipse.platfor m_3.3.2.R33x_v20071022\splash.bmp
-launcher C:\Programme\Eclipse3.3\eclipse\eclipsec.exe
-name Eclipsec
--launcher.library
C:\Programme\Eclipse3.3\eclipse\plugins\org.eclipse.equinox. launcher.win32.win32.x86_1.0.2.R331_v20071019\eclipse_1021.d ll
-startup
C:\Programme\Eclipse3.3\eclipse\plugins\org.eclipse.equinox. launcher_1.0.1.R33x_v20070828.jar
-clean
-debug
-vm C:\Programme\Java\jre1.5.0_14\bin\client\jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m
-XX:MaxPermSize=256M
-Djava.class.path=C:\Programme\Eclipse3.3\eclipse\plugins\or g.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
Install location:
file:/c:/Programme/Eclipse3.3/eclipse/
Configuration file:
file:/c:/Programme/Eclipse3.3/eclipse/configuration/config.i ni loaded
Configuration location:
file:/c:/Programme/Eclipse3.3/eclipse/configuration/
Framework located:

file:/c:/Programme/Eclipse3.3/eclipse/plugins/org.eclipse.os gi_3.3.1.R33x_v2
0070828.jar
Framework classpath:

file:/c:/Programme/Eclipse3.3/eclipse/plugins/org.eclipse.os gi_3.3.1.R33x_v2
0070828.jar
Splash location:

C:\Programme\Eclipse3.3\eclipse\\plugins\org.eclipse.platfor m_3.3.2.R33x_v20
071022\splash.bmp
Debug options:
file:/C:/Programme/Eclipse3.3/eclipse/.options not found
Time to load bundles: 47
Starting application: 3469
Application Started: 18656
[Fatal Error] :-1:-1: Premature end of file.



The .log file shows the following:

!SESSION 2008-03-11 13:41:49.911
-----------------------------------------------
eclipse.buildId=M20070921-1145
java.version=1.5.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -os win32 -ws win32 -arch x86 -clean -debug

!ENTRY org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
!MESSAGE The following is a complete list of bundles which are not
resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
!MESSAGE Bundle
update@plugins /org.eclipse.jdt.apt.pluggable.core_1.0.1.R33x_v20070831-043 5.jar
[96] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11 13:41:53.427
!MESSAGE Missing imported package
org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11 13:41:53.427
!MESSAGE Missing imported package
org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11 13:41:53.427
!MESSAGE Missing imported package
org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11 13:41:53.427
!MESSAGE Missing imported package
org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
!MESSAGE Bundle
update@plugins/org.eclipse.jdt.compiler.apt_1.0.1.R33x_v20070831-0435.jar
[98] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2008-03-11 13:41:53.427
!MESSAGE Missing imported package
org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
!MESSAGE Bundle
update@plugins/org.eclipse.jdt.compiler.tool_1.0.1.v_780_R33x.jar [99] was
not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2008-03-11 13:41:53.427
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment:
JavaSE-1.6

!ENTRY org.eclipse.osgi 4 0 2008-03-11 13:41:59.317
!MESSAGE An error occurred while automatically activating bundle
org.eclipse.update.ui (223).
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.update.internal.ui.UpdateUI.start() of bundle
org.eclipse.update.ui.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
at
org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
at
org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:3563)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.SWT.error(SWT.java:3452)
at org.eclipse.swt.widgets.Display.error(Display.java:1137)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:666 )
at org.eclipse.swt.widgets.Display.getActiveShell(Display.java: 1300)
at
org.eclipse.update.internal.ui.UpdateUI.getActiveWorkbenchSh ell(UpdateUI.java:78)
at org.eclipse.update.internal.ui.UpdateUI.log(UpdateUI.java:17 0)
at org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:163)
at org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:140)
at
org.eclipse.update.internal.ui.model.BookmarkUtil.parse(Book markUtil.java:44)
at
org.eclipse.update.internal.ui.model.UpdateModel.reset(Updat eModel.java:35)
at
org.eclipse.update.internal.ui.model.UpdateModel.<init>(UpdateModel.java:29)
at org.eclipse.update.internal.ui.UpdateUI.start(UpdateUI.java: 100)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
... 26 more
Root exception:
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:3563)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.SWT.error(SWT.java:3452)
at org.eclipse.swt.widgets.Display.error(Display.java:1137)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:666 )
at org.eclipse.swt.widgets.Display.getActiveShell(Display.java: 1300)
at
org.eclipse.update.internal.ui.UpdateUI.getActiveWorkbenchSh ell(UpdateUI.java:78)
at org.eclipse.update.internal.ui.UpdateUI.log(UpdateUI.java:17 0)
at org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:163)
at org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:140)
at
org.eclipse.update.internal.ui.model.BookmarkUtil.parse(Book markUtil.java:44)
at
org.eclipse.update.internal.ui.model.UpdateModel.reset(Updat eModel.java:35)
at
org.eclipse.update.internal.ui.model.UpdateModel.<init>(UpdateModel.java:29)
at org.eclipse.update.internal.ui.UpdateUI.start(UpdateUI.java: 100)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
at
org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
at
org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.eclipse.ui.workbench 4 2 2008-03-11 13:41:59.411
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/update/ui/UpdateJob
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
at
org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!ENTRY org.eclipse.ui 4 4 2008-03-11 13:41:59.442
!MESSAGE Unhandled Exception

!ENTRY org.eclipse.update.scheduler 4 0 2008-03-11 13:41:59.474
!MESSAGE Unable to execute early startup code for an extension
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/update/ui/UpdateJob
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
at
org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
at
org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Re: Software update doesn't work [message #326203 is a reply to message #326200] Tue, 11 March 2008 14:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------000505030004000200000102
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Simon,

It looks like this exception causes the other problems:

org.eclipse.swt.SWTException: Invalid thread access

To me this looks like a error in the code's logic that needs to be
fixed. I.e., it looks like the startup happens on a background thread
which is then trying to work directly with the display on that
background thread.

Probably you should open a bugzilla. The folks will need to be able to
reproduce the problem, so likely they'll need to know exactly what
you've got installed. Is this happening with a "bare version of
Eclipse". I.e., one of the zipped packages with no other plugins added?


Simon wrote:
> Hi Ed,
>
> The console output shows (but Eclipse seems to start "normally"):
>
> C:\Programme\Eclipse3.3\eclipse>eclipsec.exe -clean -debug
> Start VM: -Dosgi.requiredJavaVersion=1.5
> -Xms40m
> -Xmx256m
> -XX:MaxPermSize=256M
> -Djava.class.path=C:\Programme\Eclipse3.3\eclipse\plugins\or g.eclipse.equinox.la
>
> uncher_1.0.1.R33x_v20070828.jar
> -os win32
> -ws win32
> -arch x86
> -showsplash
> C:\Programme\Eclipse3.3\eclipse\\plugins\org.eclipse.platfor m_3.3.2.R33x_v20071022\splash.bmp
>
> -launcher C:\Programme\Eclipse3.3\eclipse\eclipsec.exe
> -name Eclipsec
> --launcher.library
> C:\Programme\Eclipse3.3\eclipse\plugins\org.eclipse.equinox. launcher.win32.win32.x86_1.0.2.R331_v20071019\eclipse_1021.d ll
>
> -startup
> C:\Programme\Eclipse3.3\eclipse\plugins\org.eclipse.equinox. launcher_1.0.1.R33x_v20070828.jar
>
> -clean
> -debug
> -vm C:\Programme\Java\jre1.5.0_14\bin\client\jvm.dll
> -vmargs
> -Dosgi.requiredJavaVersion=1.5
> -Xms40m
> -Xmx256m
> -XX:MaxPermSize=256M
> -Djava.class.path=C:\Programme\Eclipse3.3\eclipse\plugins\or g.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
>
> Install location:
> file:/c:/Programme/Eclipse3.3/eclipse/
> Configuration file:
> file:/c:/Programme/Eclipse3.3/eclipse/configuration/config.i ni loaded
> Configuration location:
> file:/c:/Programme/Eclipse3.3/eclipse/configuration/
> Framework located:
>
> file:/c:/Programme/Eclipse3.3/eclipse/plugins/org.eclipse.os gi_3.3.1.R33x_v2
>
> 0070828.jar
> Framework classpath:
>
> file:/c:/Programme/Eclipse3.3/eclipse/plugins/org.eclipse.os gi_3.3.1.R33x_v2
>
> 0070828.jar
> Splash location:
>
> C:\Programme\Eclipse3.3\eclipse\\plugins\org.eclipse.platfor m_3.3.2.R33x_v20
>
> 071022\splash.bmp
> Debug options:
> file:/C:/Programme/Eclipse3.3/eclipse/.options not found
> Time to load bundles: 47
> Starting application: 3469
> Application Started: 18656
> [Fatal Error] :-1:-1: Premature end of file.
>
>
>
> The .log file shows the following:
>
> !SESSION 2008-03-11 13:41:49.911
> -----------------------------------------------
> eclipse.buildId=M20070921-1145
> java.version=1.5.0_14
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Command-line arguments: -os win32 -ws win32 -arch x86 -clean -debug
>
> !ENTRY org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
> !MESSAGE The following is a complete list of bundles which are not
> resolved, see the prior log entry for the root cause if it exists:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
> !MESSAGE Bundle
> update@plugins /org.eclipse.jdt.apt.pluggable.core_1.0.1.R33x_v20070831-043 5.jar
> [96] was not resolved.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
> 13:41:53.427
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.tool_0.0.0.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
> 13:41:53.427
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
> 13:41:53.427
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
> 13:41:53.427
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
> !MESSAGE Bundle
> update@plugins/org.eclipse.jdt.compiler.apt_1.0.1.R33x_v20070831-0435.jar
> [98] was not resolved.
> !SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2008-03-11 13:41:53.427
> !MESSAGE Missing imported package
> org.eclipse.jdt.internal.compiler.tool_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
> !MESSAGE Bundle
> update@plugins/org.eclipse.jdt.compiler.tool_1.0.1.v_780_R33x.jar [99]
> was not resolved.
> !SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2008-03-11 13:41:53.427
> !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment:
> JavaSE-1.6
>
> !ENTRY org.eclipse.osgi 4 0 2008-03-11 13:41:59.317
> !MESSAGE An error occurred while automatically activating bundle
> org.eclipse.update.ui (223).
> !STACK 0
> org.osgi.framework.BundleException: Exception in
> org.eclipse.update.internal.ui.UpdateUI.start() of bundle
> org.eclipse.update.ui.
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
>
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>
> at
> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>
> at
> org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>
> at
> org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: org.eclipse.swt.SWTException: Invalid thread access
> at org.eclipse.swt.SWT.error(SWT.java:3563)
> at org.eclipse.swt.SWT.error(SWT.java:3481)
> at org.eclipse.swt.SWT.error(SWT.java:3452)
> at org.eclipse.swt.widgets.Display.error(Display.java:1137)
> at org.eclipse.swt.widgets.Display.checkDevice(Display.java:666 )
> at org.eclipse.swt.widgets.Display.getActiveShell(Display.java: 1300)
> at
> org.eclipse.update.internal.ui.UpdateUI.getActiveWorkbenchSh ell(UpdateUI.java:78)
>
> at org.eclipse.update.internal.ui.UpdateUI.log(UpdateUI.java:17 0)
> at
> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:163)
> at
> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:140)
> at
> org.eclipse.update.internal.ui.model.BookmarkUtil.parse(Book markUtil.java:44)
>
> at
> org.eclipse.update.internal.ui.model.UpdateModel.reset(Updat eModel.java:35)
>
> at
> org.eclipse.update.internal.ui.model.UpdateModel.<init>(UpdateModel.java:29)
>
> at org.eclipse.update.internal.ui.UpdateUI.start(UpdateUI.java: 100)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>
> ... 26 more
> Root exception:
> org.eclipse.swt.SWTException: Invalid thread access
> at org.eclipse.swt.SWT.error(SWT.java:3563)
> at org.eclipse.swt.SWT.error(SWT.java:3481)
> at org.eclipse.swt.SWT.error(SWT.java:3452)
> at org.eclipse.swt.widgets.Display.error(Display.java:1137)
> at org.eclipse.swt.widgets.Display.checkDevice(Display.java:666 )
> at org.eclipse.swt.widgets.Display.getActiveShell(Display.java: 1300)
> at
> org.eclipse.update.internal.ui.UpdateUI.getActiveWorkbenchSh ell(UpdateUI.java:78)
>
> at org.eclipse.update.internal.ui.UpdateUI.log(UpdateUI.java:17 0)
> at
> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:163)
> at
> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:140)
> at
> org.eclipse.update.internal.ui.model.BookmarkUtil.parse(Book markUtil.java:44)
>
> at
> org.eclipse.update.internal.ui.model.UpdateModel.reset(Updat eModel.java:35)
>
> at
> org.eclipse.update.internal.ui.model.UpdateModel.<init>(UpdateModel.java:29)
>
> at org.eclipse.update.internal.ui.UpdateUI.start(UpdateUI.java: 100)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
>
> at
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>
> at
> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>
> at
> org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>
> at
> org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> !ENTRY org.eclipse.ui.workbench 4 2 2008-03-11 13:41:59.411
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.ui.workbench".
> !STACK 0
> java.lang.NoClassDefFoundError: org/eclipse/update/ui/UpdateJob
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>
> at
> org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>
> at
> org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> !ENTRY org.eclipse.ui 4 4 2008-03-11 13:41:59.442
> !MESSAGE Unhandled Exception
>
> !ENTRY org.eclipse.update.scheduler 4 0 2008-03-11 13:41:59.474
> !MESSAGE Unable to execute early startup code for an extension
> !STACK 0
> java.lang.NoClassDefFoundError: org/eclipse/update/ui/UpdateJob
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>
> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>
> at
> org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>
> at
> org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
>


--------------000505030004000200000102
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Simon,<br>
<br>
It looks like this exception causes the other problems:<br>
<blockquote>org.eclipse.swt.SWTException: Invalid thread access
<br>
</blockquote>
To me this looks like a error in the code's logic that needs to be
fixed.
Re: Software update doesn't work [message #326204 is a reply to message #326203] Tue, 11 March 2008 15:04 Go to previous messageGo to next message
simon is currently offline simonFriend
Messages: 10
Registered: July 2009
Junior Member
Ed,

unfortunately it's not a "bare" Eclipse as several plugins are installed
(I've worked with this installation for approx. half a year).

As this error did erase recently, maybe a misconfigured plugin causes this
error. Is there a way to uninstall/disable components by hand to isolate
the problem more precisely?



Ed Merks wrote:
> Simon,
> It looks like this exception causes the other problems:
> org.eclipse.swt.SWTException: Invalid thread access
> To me this looks like a error in the code's logic that needs to be
> fixed. I.e., it looks like the startup happens on a background thread
> which is then trying to work directly with the display on that
> background thread.

> Probably you should open a bugzilla. The folks will need to be able to
> reproduce the problem, so likely they'll need to know exactly what
> you've got installed. Is this happening with a "bare version of
> Eclipse". I.e., one of the zipped packages with no other plugins added?


> Simon wrote:
>> Hi Ed,
>>
>> The console output shows (but Eclipse seems to start "normally"):
>>
>> C:ProgrammeEclipse3.3eclipse>eclipsec.exe -clean -debug
>> Start VM: -Dosgi.requiredJavaVersion=1.5
>> -Xms40m
>> -Xmx256m
>> -XX:MaxPermSize=256M
>> -Djava.class.path=C:ProgrammeEclipse3.3eclipsepluginsorg.ecl ipse.equinox.la
>>
>> uncher_1.0.1.R33x_v20070828.jar
>> -os win32
>> -ws win32
>> -arch x86
>> -showsplash
>>
C:ProgrammeEclipse3.3eclipse\pluginsorg.eclipse.platform_3.3 .2.R33x_v20071022splash.bmp
>>
>> -launcher C:ProgrammeEclipse3.3eclipseeclipsec.exe
>> -name Eclipsec
>> --launcher.library
>>
C:ProgrammeEclipse3.3eclipsepluginsorg.eclipse.equinox.launc her.win32.win32.x86_1.0.2.R331_v20071019eclipse_1021.dll
>>
>> -startup
>>
C:ProgrammeEclipse3.3eclipsepluginsorg.eclipse.equinox.launc her_1.0.1.R33x_v20070828.jar
>>
>> -clean
>> -debug
>> -vm C:ProgrammeJavajre1.5.0_14binclientjvm.dll
>> -vmargs
>> -Dosgi.requiredJavaVersion=1.5
>> -Xms40m
>> -Xmx256m
>> -XX:MaxPermSize=256M
>>
-Djava.class.path=C:ProgrammeEclipse3.3eclipsepluginsorg.ecl ipse.equinox.launcher_1.0.1.R33x_v20070828.jar
>>
>> Install location:
>> file:/c:/Programme/Eclipse3.3/eclipse/
>> Configuration file:
>> file:/c:/Programme/Eclipse3.3/eclipse/configuration/config.i ni loaded
>> Configuration location:
>> file:/c:/Programme/Eclipse3.3/eclipse/configuration/
>> Framework located:
>>
>>
file:/c:/Programme/Eclipse3.3/eclipse/plugins/org.eclipse.os gi_3.3.1.R33x_v2
>>
>> 0070828.jar
>> Framework classpath:
>>
>>
file:/c:/Programme/Eclipse3.3/eclipse/plugins/org.eclipse.os gi_3.3.1.R33x_v2
>>
>> 0070828.jar
>> Splash location:
>>
>> C:ProgrammeEclipse3.3eclipse\pluginsorg.eclipse.platform_3.3 .2.R33x_v20
>>
>> 071022splash.bmp
>> Debug options:
>> file:/C:/Programme/Eclipse3.3/eclipse/.options not found
>> Time to load bundles: 47
>> Starting application: 3469
>> Application Started: 18656
>> [Fatal Error] :-1:-1: Premature end of file.
>>
>>
>>
>> The .log file shows the following:
>>
>> !SESSION 2008-03-11 13:41:49.911
>> -----------------------------------------------
>> eclipse.buildId=M20070921-1145
>> java.version=1.5.0_14
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean -debug
>>
>> !ENTRY org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>> !MESSAGE The following is a complete list of bundles which are not
>> resolved, see the prior log entry for the root cause if it exists:
>> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>> !MESSAGE Bundle
>>
update@plugins /org.eclipse.jdt.apt.pluggable.core_1.0.1.R33x_v20070831-043 5.jar
>> [96] was not resolved.
>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>> 13:41:53.427
>> !MESSAGE Missing imported package
>> org.eclipse.jdt.internal.compiler.tool_0.0.0.
>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>> 13:41:53.427
>> !MESSAGE Missing imported package
>> org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>> 13:41:53.427
>> !MESSAGE Missing imported package
>> org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>> 13:41:53.427
>> !MESSAGE Missing imported package
>> org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
>> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>> !MESSAGE Bundle
>> update@plugins/org.eclipse.jdt.compiler.apt_1.0.1.R33x_v20070831-0435.jar
>> [98] was not resolved.
>> !SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2008-03-11 13:41:53.427
>> !MESSAGE Missing imported package
>> org.eclipse.jdt.internal.compiler.tool_0.0.0.
>> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>> !MESSAGE Bundle
>> update@plugins/org.eclipse.jdt.compiler.tool_1.0.1.v_780_R33x.jar [99]
>> was not resolved.
>> !SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2008-03-11 13:41:53.427
>> !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment:
>> JavaSE-1.6
>>
>> !ENTRY org.eclipse.osgi 4 0 2008-03-11 13:41:59.317
>> !MESSAGE An error occurred while automatically activating bundle
>> org.eclipse.update.ui (223).
>> !STACK 0
>> org.osgi.framework.BundleException: Exception in
>> org.eclipse.update.internal.ui.UpdateUI.start() of bundle
>> org.eclipse.update.ui.
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
>>
>> at
>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>
>> at
>>
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
>>
>> at
>>
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>>
>> at
>>
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>>
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Unknown Source)
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>>
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>>
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>>
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>>
>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>>
>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>>
>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>> Caused by: org.eclipse.swt.SWTException: Invalid thread access
>> at org.eclipse.swt.SWT.error(SWT.java:3563)
>> at org.eclipse.swt.SWT.error(SWT.java:3481)
>> at org.eclipse.swt.SWT.error(SWT.java:3452)
>> at org.eclipse.swt.widgets.Display.error(Display.java:1137)
>> at org.eclipse.swt.widgets.Display.checkDevice(Display.java:666 )
>> at org.eclipse.swt.widgets.Display.getActiveShell(Display.java: 1300)
>> at
>>
org.eclipse.update.internal.ui.UpdateUI.getActiveWorkbenchSh ell(UpdateUI.java:78)
>>
>> at org.eclipse.update.internal.ui.UpdateUI.log(UpdateUI.java:17 0)
>> at
>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:163)
>> at
>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:140)
>> at
>>
org.eclipse.update.internal.ui.model.BookmarkUtil.parse(Book markUtil.java:44)
>>
>> at
>> org.eclipse.update.internal.ui.model.UpdateModel.reset(Updat eModel.java:35)
>>
>> at
>>
org.eclipse.update.internal.ui.model.UpdateModel.<init>(UpdateModel.java:29)
>>
>> at org.eclipse.update.internal.ui.UpdateUI.start(UpdateUI.java: 100)
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>
>> ... 26 more
>> Root exception:
>> org.eclipse.swt.SWTException: Invalid thread access
>> at org.eclipse.swt.SWT.error(SWT.java:3563)
>> at org.eclipse.swt.SWT.error(SWT.java:3481)
>> at org.eclipse.swt.SWT.error(SWT.java:3452)
>> at org.eclipse.swt.widgets.Display.error(Display.java:1137)
>> at org.eclipse.swt.widgets.Display.checkDevice(Display.java:666 )
>> at org.eclipse.swt.widgets.Display.getActiveShell(Display.java: 1300)
>> at
>>
org.eclipse.update.internal.ui.UpdateUI.getActiveWorkbenchSh ell(UpdateUI.java:78)
>>
>> at org.eclipse.update.internal.ui.UpdateUI.log(UpdateUI.java:17 0)
>> at
>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:163)
>> at
>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:140)
>> at
>>
org.eclipse.update.internal.ui.model.BookmarkUtil.parse(Book markUtil.java:44)
>>
>> at
>> org.eclipse.update.internal.ui.model.UpdateModel.reset(Updat eModel.java:35)
>>
>> at
>>
org.eclipse.update.internal.ui.model.UpdateModel.<init>(UpdateModel.java:29)
>>
>> at org.eclipse.update.internal.ui.UpdateUI.start(UpdateUI.java: 100)
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
>>
>> at
>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>
>> at
>>
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
>>
>> at
>>
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>>
>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>>
>> at
>>
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>>
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Unknown Source)
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>>
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>>
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>>
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>>
>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>>
>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>>
>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>
>> !ENTRY org.eclipse.ui.workbench 4 2 2008-03-11 13:41:59.411
>> !MESSAGE Problems occurred when invoking code from plug-in:
>> "org.eclipse.ui.workbench".
>> !STACK 0
>> java.lang.NoClassDefFoundError: org/eclipse/update/ui/UpdateJob
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Unknown Source)
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>>
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>>
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>>
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>>
>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>>
>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>>
>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>
>> !ENTRY org.eclipse.ui 4 4 2008-03-11 13:41:59.442
>> !MESSAGE Unhandled Exception
>>
>> !ENTRY org.eclipse.update.scheduler 4 0 2008-03-11 13:41:59.474
>> !MESSAGE Unable to execute early startup code for an extension
>> !STACK 0
>> java.lang.NoClassDefFoundError: org/eclipse/update/ui/UpdateJob
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Unknown Source)
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>>
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>>
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>>
>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>>
>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>>
>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>>
>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>
>>
Re: Software update doesn't work [message #326205 is a reply to message #326204] Tue, 11 March 2008 15:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Simon,

You can use Help->Software Updates->Manage Configuration and use that to
disable features. I've never tried it. I think it's always best to
restart after doing that because many if not most plugins don't handle
other plugins dynamically stopping very well...


Simon wrote:
> Ed,
>
> unfortunately it's not a "bare" Eclipse as several plugins are
> installed (I've worked with this installation for approx. half a year).
>
> As this error did erase recently, maybe a misconfigured plugin causes
> this error. Is there a way to uninstall/disable components by hand to
> isolate the problem more precisely?
>
>
>
> Ed Merks wrote:
>> Simon,
>> It looks like this exception causes the other problems:
>> org.eclipse.swt.SWTException: Invalid thread access
>> To me this looks like a error in the code's logic that needs to be
>> fixed. I.e., it looks like the startup happens on a background
>> thread which is then trying to work directly with the display on that
>> background thread.
>
>> Probably you should open a bugzilla. The folks will need to be able
>> to reproduce the problem, so likely they'll need to know exactly what
>> you've got installed. Is this happening with a "bare version of
>> Eclipse". I.e., one of the zipped packages with no other plugins added?
>
>
>> Simon wrote:
>>> Hi Ed,
>>>
>>> The console output shows (but Eclipse seems to start "normally"):
>>>
>>> C:ProgrammeEclipse3.3eclipse>eclipsec.exe -clean -debug
>>> Start VM: -Dosgi.requiredJavaVersion=1.5
>>> -Xms40m
>>> -Xmx256m
>>> -XX:MaxPermSize=256M
>>> -Djava.class.path=C:ProgrammeEclipse3.3eclipsepluginsorg.ecl ipse.equinox.la
>>>
>>> uncher_1.0.1.R33x_v20070828.jar
>>> -os win32
>>> -ws win32
>>> -arch x86
>>> -showsplash
> C:ProgrammeEclipse3.3eclipse\pluginsorg.eclipse.platform_3.3 .2.R33x_v20071022splash.bmp
>
>>>
>>> -launcher C:ProgrammeEclipse3.3eclipseeclipsec.exe
>>> -name Eclipsec
>>> --launcher.library
> C:ProgrammeEclipse3.3eclipsepluginsorg.eclipse.equinox.launc her.win32.win32.x86_1.0.2.R331_v20071019eclipse_1021.dll
>
>>>
>>> -startup
> C:ProgrammeEclipse3.3eclipsepluginsorg.eclipse.equinox.launc her_1.0.1.R33x_v20070828.jar
>
>>>
>>> -clean
>>> -debug
>>> -vm C:ProgrammeJavajre1.5.0_14binclientjvm.dll
>>> -vmargs
>>> -Dosgi.requiredJavaVersion=1.5
>>> -Xms40m
>>> -Xmx256m
>>> -XX:MaxPermSize=256M
>>>
> -Djava.class.path=C:ProgrammeEclipse3.3eclipsepluginsorg.ecl ipse.equinox.launcher_1.0.1.R33x_v20070828.jar
>
>>>
>>> Install location:
>>> file:/c:/Programme/Eclipse3.3/eclipse/
>>> Configuration file:
>>> file:/c:/Programme/Eclipse3.3/eclipse/configuration/config.i ni
>>> loaded
>>> Configuration location:
>>> file:/c:/Programme/Eclipse3.3/eclipse/configuration/
>>> Framework located:
>>>
> file:/c:/Programme/Eclipse3.3/eclipse/plugins/org.eclipse.os gi_3.3.1.R33x_v2
>
>>>
>>> 0070828.jar
>>> Framework classpath:
>>>
> file:/c:/Programme/Eclipse3.3/eclipse/plugins/org.eclipse.os gi_3.3.1.R33x_v2
>
>>>
>>> 0070828.jar
>>> Splash location:
>>>
>>> C:ProgrammeEclipse3.3eclipse\pluginsorg.eclipse.platform_3.3 .2.R33x_v20
>>> 071022splash.bmp
>>> Debug options:
>>> file:/C:/Programme/Eclipse3.3/eclipse/.options not found
>>> Time to load bundles: 47
>>> Starting application: 3469
>>> Application Started: 18656
>>> [Fatal Error] :-1:-1: Premature end of file.
>>>
>>>
>>>
>>> The .log file shows the following:
>>>
>>> !SESSION 2008-03-11 13:41:49.911
>>> -----------------------------------------------
>>> eclipse.buildId=M20070921-1145
>>> java.version=1.5.0_14
>>> java.vendor=Sun Microsystems Inc.
>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean -debug
>>>
>>> !ENTRY org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>>> !MESSAGE The following is a complete list of bundles which are not
>>> resolved, see the prior log entry for the root cause if it exists:
>>> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>>> !MESSAGE Bundle
> update@plugins /org.eclipse.jdt.apt.pluggable.core_1.0.1.R33x_v20070831-043 5.jar
>
>>> [96] was not resolved.
>>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>>> 13:41:53.427
>>> !MESSAGE Missing imported package
>>> org.eclipse.jdt.internal.compiler.tool_0.0.0.
>>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>>> 13:41:53.427
>>> !MESSAGE Missing imported package
>>> org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
>>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>>> 13:41:53.427
>>> !MESSAGE Missing imported package
>>> org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
>>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>>> 13:41:53.427
>>> !MESSAGE Missing imported package
>>> org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
>>> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>>> !MESSAGE Bundle
>>> update@plugins/org.eclipse.jdt.compiler.apt_1.0.1.R33x_v20070831-0435.jar
>>> [98] was not resolved.
>>> !SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2008-03-11 13:41:53.427
>>> !MESSAGE Missing imported package
>>> org.eclipse.jdt.internal.compiler.tool_0.0.0.
>>> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>>> !MESSAGE Bundle
>>> update@plugins/org.eclipse.jdt.compiler.tool_1.0.1.v_780_R33x.jar
>>> [99] was not resolved.
>>> !SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2008-03-11 13:41:53.427
>>> !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment:
>>> JavaSE-1.6
>>>
>>> !ENTRY org.eclipse.osgi 4 0 2008-03-11 13:41:59.317
>>> !MESSAGE An error occurred while automatically activating bundle
>>> org.eclipse.update.ui (223).
>>> !STACK 0
>>> org.osgi.framework.BundleException: Exception in
>>> org.eclipse.update.internal.ui.UpdateUI.start() of bundle
>>> org.eclipse.update.ui.
>>> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
>
>>>
>>> at
>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>>
>>> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
>>>
>>> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
>
>>>
>>> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>
>>>
>>> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>
>>>
>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Unknown Source)
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>
>>>
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>
>>>
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>
>>>
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>
>>>
>>> at
> org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>
>>>
>>> at
> org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>
>>>
>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>> Caused by: org.eclipse.swt.SWTException: Invalid thread access
>>> at org.eclipse.swt.SWT.error(SWT.java:3563)
>>> at org.eclipse.swt.SWT.error(SWT.java:3481)
>>> at org.eclipse.swt.SWT.error(SWT.java:3452)
>>> at org.eclipse.swt.widgets.Display.error(Display.java:1137)
>>> at org.eclipse.swt.widgets.Display.checkDevice(Display.java:666 )
>>> at
>>> org.eclipse.swt.widgets.Display.getActiveShell(Display.java: 1300)
>>> at
> org.eclipse.update.internal.ui.UpdateUI.getActiveWorkbenchSh ell(UpdateUI.java:78)
>
>>>
>>> at org.eclipse.update.internal.ui.UpdateUI.log(UpdateUI.java:17 0)
>>> at
>>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:163)
>>> at
>>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:140)
>>> at
> org.eclipse.update.internal.ui.model.BookmarkUtil.parse(Book markUtil.java:44)
>
>>>
>>> at
>>> org.eclipse.update.internal.ui.model.UpdateModel.reset(Updat eModel.java:35)
>>>
>>> at
> org.eclipse.update.internal.ui.model.UpdateModel.<init>(UpdateModel.java:29)
>
>>>
>>> at org.eclipse.update.internal.ui.UpdateUI.start(UpdateUI.java: 100)
>>> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>
>>>
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>
>>>
>>> ... 26 more
>>> Root exception:
>>> org.eclipse.swt.SWTException: Invalid thread access
>>> at org.eclipse.swt.SWT.error(SWT.java:3563)
>>> at org.eclipse.swt.SWT.error(SWT.java:3481)
>>> at org.eclipse.swt.SWT.error(SWT.java:3452)
>>> at org.eclipse.swt.widgets.Display.error(Display.java:1137)
>>> at org.eclipse.swt.widgets.Display.checkDevice(Display.java:666 )
>>> at
>>> org.eclipse.swt.widgets.Display.getActiveShell(Display.java: 1300)
>>> at
> org.eclipse.update.internal.ui.UpdateUI.getActiveWorkbenchSh ell(UpdateUI.java:78)
>
>>>
>>> at org.eclipse.update.internal.ui.UpdateUI.log(UpdateUI.java:17 0)
>>> at
>>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:163)
>>> at
>>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:140)
>>> at
> org.eclipse.update.internal.ui.model.BookmarkUtil.parse(Book markUtil.java:44)
>
>>>
>>> at
>>> org.eclipse.update.internal.ui.model.UpdateModel.reset(Updat eModel.java:35)
>>>
>>> at
> org.eclipse.update.internal.ui.model.UpdateModel.<init>(UpdateModel.java:29)
>
>>>
>>> at org.eclipse.update.internal.ui.UpdateUI.start(UpdateUI.java: 100)
>>> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>
>>>
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
>
>>>
>>> at
>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>>
>>> at
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
>>>
>>> at
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
>
>>>
>>> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>
>>>
>>> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>
>>>
>>> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>
>>>
>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Unknown Source)
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>
>>>
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>
>>>
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>
>>>
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>
>>>
>>> at
> org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>
>>>
>>> at
> org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>
>>>
>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>
>>> !ENTRY org.eclipse.ui.workbench 4 2 2008-03-11 13:41:59.411
>>> !MESSAGE Problems occurred when invoking code from plug-in:
>>> "org.eclipse.ui.workbench".
>>> !STACK 0
>>> java.lang.NoClassDefFoundError: org/eclipse/update/ui/UpdateJob
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Unknown Source)
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>
>>>
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>
>>>
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>
>>>
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>
>>>
>>> at
> org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>
>>>
>>> at
> org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>
>>>
>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>
>>> !ENTRY org.eclipse.ui 4 4 2008-03-11 13:41:59.442
>>> !MESSAGE Unhandled Exception
>>>
>>> !ENTRY org.eclipse.update.scheduler 4 0 2008-03-11 13:41:59.474
>>> !MESSAGE Unable to execute early startup code for an extension
>>> !STACK 0
>>> java.lang.NoClassDefFoundError: org/eclipse/update/ui/UpdateJob
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Unknown Source)
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>
>>>
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>
>>>
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>
>>>
>>> at
> org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>
>>>
>>> at
> org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>
>>>
>>> at
> org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>
>>>
>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>
>>>
>
>
Re: Software update doesn't work [message #326219 is a reply to message #326205] Wed, 12 March 2008 07:15 Go to previous messageGo to next message
simon is currently offline simonFriend
Messages: 10
Registered: July 2009
Junior Member
That's part of the problem. "Manage Configuration" doesn't work as well
and raises the same error.


Ed Merks wrote:
> Simon,

> You can use Help->Software Updates->Manage Configuration and use that to
> disable features. I've never tried it. I think it's always best to
> restart after doing that because many if not most plugins don't handle
> other plugins dynamically stopping very well...


> Simon wrote:
>> Ed,
>>
>> unfortunately it's not a "bare" Eclipse as several plugins are
>> installed (I've worked with this installation for approx. half a year).
>>
>> As this error did erase recently, maybe a misconfigured plugin causes
>> this error. Is there a way to uninstall/disable components by hand to
>> isolate the problem more precisely?
>>
>>
>>
>> Ed Merks wrote:
>>> Simon,
>>> It looks like this exception causes the other problems:
>>> org.eclipse.swt.SWTException: Invalid thread access
>>> To me this looks like a error in the code's logic that needs to be
>>> fixed. I.e., it looks like the startup happens on a background
>>> thread which is then trying to work directly with the display on that
>>> background thread.
>>
>>> Probably you should open a bugzilla. The folks will need to be able
>>> to reproduce the problem, so likely they'll need to know exactly what
>>> you've got installed. Is this happening with a "bare version of
>>> Eclipse". I.e., one of the zipped packages with no other plugins added?
>>
>>
>>> Simon wrote:
>>>> Hi Ed,
>>>>
>>>> The console output shows (but Eclipse seems to start "normally"):
>>>>
>>>> C:ProgrammeEclipse3.3eclipse>eclipsec.exe -clean -debug
>>>> Start VM: -Dosgi.requiredJavaVersion=1.5
>>>> -Xms40m
>>>> -Xmx256m
>>>> -XX:MaxPermSize=256M
>>>>
-Djava.class.path=C:ProgrammeEclipse3.3eclipsepluginsorg.ecl ipse.equinox.la
>>>>
>>>> uncher_1.0.1.R33x_v20070828.jar
>>>> -os win32
>>>> -ws win32
>>>> -arch x86
>>>> -showsplash
>>
C:ProgrammeEclipse3.3eclipsepluginsorg.eclipse.platform_3.3. 2.R33x_v20071022splash.bmp
>>
>>>>
>>>> -launcher C:ProgrammeEclipse3.3eclipseeclipsec.exe
>>>> -name Eclipsec
>>>> --launcher.library
>>
C:ProgrammeEclipse3.3eclipsepluginsorg.eclipse.equinox.launc her.win32.win32.x86_1.0.2.R331_v20071019eclipse_1021.dll
>>
>>>>
>>>> -startup
>>
C:ProgrammeEclipse3.3eclipsepluginsorg.eclipse.equinox.launc her_1.0.1.R33x_v20070828.jar
>>
>>>>
>>>> -clean
>>>> -debug
>>>> -vm C:ProgrammeJavajre1.5.0_14binclientjvm.dll
>>>> -vmargs
>>>> -Dosgi.requiredJavaVersion=1.5
>>>> -Xms40m
>>>> -Xmx256m
>>>> -XX:MaxPermSize=256M
>>>>
>>
-Djava.class.path=C:ProgrammeEclipse3.3eclipsepluginsorg.ecl ipse.equinox.launcher_1.0.1.R33x_v20070828.jar
>>
>>>>
>>>> Install location:
>>>> file:/c:/Programme/Eclipse3.3/eclipse/
>>>> Configuration file:
>>>> file:/c:/Programme/Eclipse3.3/eclipse/configuration/config.i ni
>>>> loaded
>>>> Configuration location:
>>>> file:/c:/Programme/Eclipse3.3/eclipse/configuration/
>>>> Framework located:
>>>>
>>
file:/c:/Programme/Eclipse3.3/eclipse/plugins/org.eclipse.os gi_3.3.1.R33x_v2
>>
>>>>
>>>> 0070828.jar
>>>> Framework classpath:
>>>>
>>
file:/c:/Programme/Eclipse3.3/eclipse/plugins/org.eclipse.os gi_3.3.1.R33x_v2
>>
>>>>
>>>> 0070828.jar
>>>> Splash location:
>>>>
>>>> C:ProgrammeEclipse3.3eclipsepluginsorg.eclipse.platform_3.3. 2.R33x_v20
>>>> 071022splash.bmp
>>>> Debug options:
>>>> file:/C:/Programme/Eclipse3.3/eclipse/.options not found
>>>> Time to load bundles: 47
>>>> Starting application: 3469
>>>> Application Started: 18656
>>>> [Fatal Error] :-1:-1: Premature end of file.
>>>>
>>>>
>>>>
>>>> The .log file shows the following:
>>>>
>>>> !SESSION 2008-03-11 13:41:49.911
>>>> -----------------------------------------------
>>>> eclipse.buildId=M20070921-1145
>>>> java.version=1.5.0_14
>>>> java.vendor=Sun Microsystems Inc.
>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean -debug
>>>>
>>>> !ENTRY org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>>>> !MESSAGE The following is a complete list of bundles which are not
>>>> resolved, see the prior log entry for the root cause if it exists:
>>>> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>>>> !MESSAGE Bundle
>>
update@plugins /org.eclipse.jdt.apt.pluggable.core_1.0.1.R33x_v20070831-043 5.jar
>>
>>>> [96] was not resolved.
>>>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>>>> 13:41:53.427
>>>> !MESSAGE Missing imported package
>>>> org.eclipse.jdt.internal.compiler.tool_0.0.0.
>>>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>>>> 13:41:53.427
>>>> !MESSAGE Missing imported package
>>>> org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
>>>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>>>> 13:41:53.427
>>>> !MESSAGE Missing imported package
>>>> org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
>>>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>>>> 13:41:53.427
>>>> !MESSAGE Missing imported package
>>>> org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
>>>> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>>>> !MESSAGE Bundle
>>>> update@plugins/org.eclipse.jdt.compiler.apt_1.0.1.R33x_v20070831-0435.jar
>>>> [98] was not resolved.
>>>> !SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2008-03-11 13:41:53.427
>>>> !MESSAGE Missing imported package
>>>> org.eclipse.jdt.internal.compiler.tool_0.0.0.
>>>> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>>>> !MESSAGE Bundle
>>>> update@plugins/org.eclipse.jdt.compiler.tool_1.0.1.v_780_R33x.jar
>>>> [99] was not resolved.
>>>> !SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2008-03-11 13:41:53.427
>>>> !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment:
>>>> JavaSE-1.6
>>>>
>>>> !ENTRY org.eclipse.osgi 4 0 2008-03-11 13:41:59.317
>>>> !MESSAGE An error occurred while automatically activating bundle
>>>> org.eclipse.update.ui (223).
>>>> !STACK 0
>>>> org.osgi.framework.BundleException: Exception in
>>>> org.eclipse.update.internal.ui.UpdateUI.start() of bundle
>>>> org.eclipse.update.ui.
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
>>
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>>>
>>>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>>
>>>>
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>> at java.lang.Class.forName0(Native Method)
>>>> at java.lang.Class.forName(Unknown Source)
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>>
>>>>
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>>
>>>>
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>>
>>>>
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>>
>>>>
>>>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>>
>>>>
>>>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>>
>>>>
>>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>> Caused by: org.eclipse.swt.SWTException: Invalid thread access
>>>> at org.eclipse.swt.SWT.error(SWT.java:3563)
>>>> at org.eclipse.swt.SWT.error(SWT.java:3481)
>>>> at org.eclipse.swt.SWT.error(SWT.java:3452)
>>>> at org.eclipse.swt.widgets.Display.error(Display.java:1137)
>>>> at org.eclipse.swt.widgets.Display.checkDevice(Display.java:666 )
>>>> at
>>>> org.eclipse.swt.widgets.Display.getActiveShell(Display.java: 1300)
>>>> at
>>
org.eclipse.update.internal.ui.UpdateUI.getActiveWorkbenchSh ell(UpdateUI.java:78)
>>
>>>>
>>>> at org.eclipse.update.internal.ui.UpdateUI.log(UpdateUI.java:17 0)
>>>> at
>>>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:163)
>>>> at
>>>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:140)
>>>> at
>>
org.eclipse.update.internal.ui.model.BookmarkUtil.parse(Book markUtil.java:44)
>>
>>>>
>>>> at
>>>>
org.eclipse.update.internal.ui.model.UpdateModel.reset(Updat eModel.java:35)
>>>>
>>>> at
>>
org.eclipse.update.internal.ui.model.UpdateModel.<init>(UpdateModel.java:29)
>>
>>>>
>>>> at org.eclipse.update.internal.ui.UpdateUI.start(UpdateUI.java: 100)
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>
>>>>
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>
>>>>
>>>> ... 26 more
>>>> Root exception:
>>>> org.eclipse.swt.SWTException: Invalid thread access
>>>> at org.eclipse.swt.SWT.error(SWT.java:3563)
>>>> at org.eclipse.swt.SWT.error(SWT.java:3481)
>>>> at org.eclipse.swt.SWT.error(SWT.java:3452)
>>>> at org.eclipse.swt.widgets.Display.error(Display.java:1137)
>>>> at org.eclipse.swt.widgets.Display.checkDevice(Display.java:666 )
>>>> at
>>>> org.eclipse.swt.widgets.Display.getActiveShell(Display.java: 1300)
>>>> at
>>
org.eclipse.update.internal.ui.UpdateUI.getActiveWorkbenchSh ell(UpdateUI.java:78)
>>
>>>>
>>>> at org.eclipse.update.internal.ui.UpdateUI.log(UpdateUI.java:17 0)
>>>> at
>>>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:163)
>>>> at
>>>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:140)
>>>> at
>>
org.eclipse.update.internal.ui.model.BookmarkUtil.parse(Book markUtil.java:44)
>>
>>>>
>>>> at
>>>>
org.eclipse.update.internal.ui.model.UpdateModel.reset(Updat eModel.java:35)
>>>>
>>>> at
>>
org.eclipse.update.internal.ui.model.UpdateModel.<init>(UpdateModel.java:29)
>>
>>>>
>>>> at org.eclipse.update.internal.ui.UpdateUI.start(UpdateUI.java: 100)
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>>
>>>>
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
>>
>>>>
>>>> at
>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>>>
>>>> at
>>
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>>
>>>>
>>>> at
>>
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>>
>>>>
>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>> at java.lang.Class.forName0(Native Method)
>>>> at java.lang.Class.forName(Unknown Source)
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>>
>>>>
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>>
>>>>
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>>
>>>>
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>>
>>>>
>>>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>>
>>>>
>>>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>>
>>>>
>>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>
>>>> !ENTRY org.eclipse.ui.workbench 4 2 2008-03-11 13:41:59.411
>>>> !MESSAGE Problems occurred when invoking code from plug-in:
>>>> "org.eclipse.ui.workbench".
>>>> !STACK 0
>>>> java.lang.NoClassDefFoundError: org/eclipse/update/ui/UpdateJob
>>>> at java.lang.Class.forName0(Native Method)
>>>> at java.lang.Class.forName(Unknown Source)
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>>
>>>>
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>>
>>>>
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>>
>>>>
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>>
>>>>
>>>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>>
>>>>
>>>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>>
>>>>
>>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>
>>>> !ENTRY org.eclipse.ui 4 4 2008-03-11 13:41:59.442
>>>> !MESSAGE Unhandled Exception
>>>>
>>>> !ENTRY org.eclipse.update.scheduler 4 0 2008-03-11 13:41:59.474
>>>> !MESSAGE Unable to execute early startup code for an extension
>>>> !STACK 0
>>>> java.lang.NoClassDefFoundError: org/eclipse/update/ui/UpdateJob
>>>> at java.lang.Class.forName0(Native Method)
>>>> at java.lang.Class.forName(Unknown Source)
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>>
>>>>
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>>
>>>>
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>>
>>>>
>>>> at
>>
org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>>
>>>>
>>>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>>
>>>>
>>>> at
>>
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>>
>>>>
>>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>
>>>>
>>
>>
Re: Software update doesn't work [message #326224 is a reply to message #326219] Wed, 12 March 2008 12:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Simon,

It sounds like you're kind of hosed by something that's been installed
and misbehaves. :-(

Hopefully the new P2 work will not have these kinds of issues...


Simon wrote:
> That's part of the problem. "Manage Configuration" doesn't work as
> well and raises the same error.
>
>
> Ed Merks wrote:
>> Simon,
>
>> You can use Help->Software Updates->Manage Configuration and use that
>> to disable features. I've never tried it. I think it's always best
>> to restart after doing that because many if not most plugins don't
>> handle other plugins dynamically stopping very well...
>
>
>> Simon wrote:
>>> Ed,
>>>
>>> unfortunately it's not a "bare" Eclipse as several plugins are
>>> installed (I've worked with this installation for approx. half a year).
>>>
>>> As this error did erase recently, maybe a misconfigured plugin
>>> causes this error. Is there a way to uninstall/disable components by
>>> hand to isolate the problem more precisely?
>>>
>>>
>>>
>>> Ed Merks wrote:
>>>> Simon,
>>>> It looks like this exception causes the other problems:
>>>> org.eclipse.swt.SWTException: Invalid thread access
>>>> To me this looks like a error in the code's logic that needs to be
>>>> fixed. I.e., it looks like the startup happens on a background
>>>> thread which is then trying to work directly with the display on
>>>> that background thread.
>>>
>>>> Probably you should open a bugzilla. The folks will need to be
>>>> able to reproduce the problem, so likely they'll need to know
>>>> exactly what you've got installed. Is this happening with a "bare
>>>> version of Eclipse". I.e., one of the zipped packages with no
>>>> other plugins added?
>>>
>>>
>>>> Simon wrote:
>>>>> Hi Ed,
>>>>>
>>>>> The console output shows (but Eclipse seems to start "normally"):
>>>>>
>>>>> C:ProgrammeEclipse3.3eclipse>eclipsec.exe -clean -debug
>>>>> Start VM: -Dosgi.requiredJavaVersion=1.5
>>>>> -Xms40m
>>>>> -Xmx256m
>>>>> -XX:MaxPermSize=256M
>>>>>
> -Djava.class.path=C:ProgrammeEclipse3.3eclipsepluginsorg.ecl ipse.equinox.la
>
>>>>>
>>>>> uncher_1.0.1.R33x_v20070828.jar
>>>>> -os win32
>>>>> -ws win32
>>>>> -arch x86
>>>>> -showsplash
>>>
> C:ProgrammeEclipse3.3eclipsepluginsorg.eclipse.platform_3.3. 2.R33x_v20071022splash.bmp
>
>>>
>>>>>
>>>>> -launcher C:ProgrammeEclipse3.3eclipseeclipsec.exe
>>>>> -name Eclipsec
>>>>> --launcher.library
>>>
> C:ProgrammeEclipse3.3eclipsepluginsorg.eclipse.equinox.launc her.win32.win32.x86_1.0.2.R331_v20071019eclipse_1021.dll
>
>>>
>>>>>
>>>>> -startup
>>>
> C:ProgrammeEclipse3.3eclipsepluginsorg.eclipse.equinox.launc her_1.0.1.R33x_v20070828.jar
>
>>>
>>>>>
>>>>> -clean
>>>>> -debug
>>>>> -vm C:ProgrammeJavajre1.5.0_14binclientjvm.dll
>>>>> -vmargs
>>>>> -Dosgi.requiredJavaVersion=1.5
>>>>> -Xms40m
>>>>> -Xmx256m
>>>>> -XX:MaxPermSize=256M
>>>>>
>>>
> -Djava.class.path=C:ProgrammeEclipse3.3eclipsepluginsorg.ecl ipse.equinox.launcher_1.0.1.R33x_v20070828.jar
>
>>>
>>>>>
>>>>> Install location:
>>>>> file:/c:/Programme/Eclipse3.3/eclipse/
>>>>> Configuration file:
>>>>> file:/c:/Programme/Eclipse3.3/eclipse/configuration/config.i ni
>>>>> loaded
>>>>> Configuration location:
>>>>> file:/c:/Programme/Eclipse3.3/eclipse/configuration/
>>>>> Framework located:
>>>>>
>>>
> file:/c:/Programme/Eclipse3.3/eclipse/plugins/org.eclipse.os gi_3.3.1.R33x_v2
>
>>>
>>>>>
>>>>> 0070828.jar
>>>>> Framework classpath:
>>>>>
>>>
> file:/c:/Programme/Eclipse3.3/eclipse/plugins/org.eclipse.os gi_3.3.1.R33x_v2
>
>>>
>>>>>
>>>>> 0070828.jar
>>>>> Splash location:
>>>>>
>>>>> C:ProgrammeEclipse3.3eclipsepluginsorg.eclipse.platform_3.3. 2.R33x_v20
>>>>>
>>>>> 071022splash.bmp
>>>>> Debug options:
>>>>> file:/C:/Programme/Eclipse3.3/eclipse/.options not found
>>>>> Time to load bundles: 47
>>>>> Starting application: 3469
>>>>> Application Started: 18656
>>>>> [Fatal Error] :-1:-1: Premature end of file.
>>>>>
>>>>>
>>>>>
>>>>> The .log file shows the following:
>>>>>
>>>>> !SESSION 2008-03-11 13:41:49.911
>>>>> -----------------------------------------------
>>>>> eclipse.buildId=M20070921-1145
>>>>> java.version=1.5.0_14
>>>>> java.vendor=Sun Microsystems Inc.
>>>>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
>>>>> Command-line arguments: -os win32 -ws win32 -arch x86 -clean -debug
>>>>>
>>>>> !ENTRY org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>>>>> !MESSAGE The following is a complete list of bundles which are not
>>>>> resolved, see the prior log entry for the root cause if it exists:
>>>>> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>>>>> !MESSAGE Bundle
>>>
> update@plugins /org.eclipse.jdt.apt.pluggable.core_1.0.1.R33x_v20070831-043 5.jar
>
>>>
>>>>> [96] was not resolved.
>>>>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>>>>> 13:41:53.427
>>>>> !MESSAGE Missing imported package
>>>>> org.eclipse.jdt.internal.compiler.tool_0.0.0.
>>>>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>>>>> 13:41:53.427
>>>>> !MESSAGE Missing imported package
>>>>> org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
>>>>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>>>>> 13:41:53.427
>>>>> !MESSAGE Missing imported package
>>>>> org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
>>>>> !SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-03-11
>>>>> 13:41:53.427
>>>>> !MESSAGE Missing imported package
>>>>> org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
>>>>> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>>>>> !MESSAGE Bundle
>>>>> update@plugins/org.eclipse.jdt.compiler.apt_1.0.1.R33x_v20070831-0435.jar
>>>>> [98] was not resolved.
>>>>> !SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2008-03-11 13:41:53.427
>>>>> !MESSAGE Missing imported package
>>>>> org.eclipse.jdt.internal.compiler.tool_0.0.0.
>>>>> !SUBENTRY 1 org.eclipse.osgi 2 0 2008-03-11 13:41:53.427
>>>>> !MESSAGE Bundle
>>>>> update@plugins/org.eclipse.jdt.compiler.tool_1.0.1.v_780_R33x.jar
>>>>> [99] was not resolved.
>>>>> !SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2008-03-11 13:41:53.427
>>>>> !MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment:
>>>>> JavaSE-1.6
>>>>>
>>>>> !ENTRY org.eclipse.osgi 4 0 2008-03-11 13:41:59.317
>>>>> !MESSAGE An error occurred while automatically activating bundle
>>>>> org.eclipse.update.ui (223).
>>>>> !STACK 0
>>>>> org.osgi.framework.BundleException: Exception in
>>>>> org.eclipse.update.internal.ui.UpdateUI.start() of bundle
>>>>> org.eclipse.update.ui.
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
>
>>>
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>>>>
>>>>> at
>>>
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>
>>>
>>>>>
>>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>>> at java.lang.Class.forName0(Native Method)
>>>>> at java.lang.Class.forName(Unknown Source)
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>
>>>
>>>>>
>>>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>>>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>> Caused by: org.eclipse.swt.SWTException: Invalid thread access
>>>>> at org.eclipse.swt.SWT.error(SWT.java:3563)
>>>>> at org.eclipse.swt.SWT.error(SWT.java:3481)
>>>>> at org.eclipse.swt.SWT.error(SWT.java:3452)
>>>>> at org.eclipse.swt.widgets.Display.error(Display.java:1137)
>>>>> at org.eclipse.swt.widgets.Display.checkDevice(Display.java:666 )
>>>>> at
>>>>> org.eclipse.swt.widgets.Display.getActiveShell(Display.java: 1300)
>>>>> at
>>>
> org.eclipse.update.internal.ui.UpdateUI.getActiveWorkbenchSh ell(UpdateUI.java:78)
>
>>>
>>>>>
>>>>> at org.eclipse.update.internal.ui.UpdateUI.log(UpdateUI.java:17 0)
>>>>> at
>>>>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:163)
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:140)
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.ui.model.BookmarkUtil.parse(Book markUtil.java:44)
>
>>>
>>>>>
>>>>> at
> org.eclipse.update.internal.ui.model.UpdateModel.reset(Updat eModel.java:35)
>
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.ui.model.UpdateModel.<init>(UpdateModel.java:29)
>
>>>
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.ui.UpdateUI.start(UpdateUI.java: 100)
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>
>>>
>>>>>
>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>
>>>
>>>>>
>>>>> ... 26 more
>>>>> Root exception:
>>>>> org.eclipse.swt.SWTException: Invalid thread access
>>>>> at org.eclipse.swt.SWT.error(SWT.java:3563)
>>>>> at org.eclipse.swt.SWT.error(SWT.java:3481)
>>>>> at org.eclipse.swt.SWT.error(SWT.java:3452)
>>>>> at org.eclipse.swt.widgets.Display.error(Display.java:1137)
>>>>> at org.eclipse.swt.widgets.Display.checkDevice(Display.java:666 )
>>>>> at
>>>>> org.eclipse.swt.widgets.Display.getActiveShell(Display.java: 1300)
>>>>> at
>>>
> org.eclipse.update.internal.ui.UpdateUI.getActiveWorkbenchSh ell(UpdateUI.java:78)
>
>>>
>>>>>
>>>>> at org.eclipse.update.internal.ui.UpdateUI.log(UpdateUI.java:17 0)
>>>>> at
>>>>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:163)
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.ui.UpdateUI.logException(UpdateU I.java:140)
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.ui.model.BookmarkUtil.parse(Book markUtil.java:44)
>
>>>
>>>>>
>>>>> at
> org.eclipse.update.internal.ui.model.UpdateModel.reset(Updat eModel.java:35)
>
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.ui.model.UpdateModel.<init>(UpdateModel.java:29)
>
>>>
>>>>>
>>>>> at
>>>>> org.eclipse.update.internal.ui.UpdateUI.start(UpdateUI.java: 100)
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:999)
>
>>>
>>>>>
>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:993)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:974)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:260)
>
>>>
>>>>>
>>>>> at
>>>>> org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
>>>>>
>>>>> at
>>>
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.SingleSourcePackage .loadClass(SingleSourcePackage.java:37)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:405)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
>
>>>
>>>>>
>>>>> at java.lang.ClassLoader.loadClass(Unknown Source)
>>>>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>>>> at java.lang.Class.forName0(Native Method)
>>>>> at java.lang.Class.forName(Unknown Source)
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>
>>>
>>>>>
>>>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>>>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>>
>>>>> !ENTRY org.eclipse.ui.workbench 4 2 2008-03-11 13:41:59.411
>>>>> !MESSAGE Problems occurred when invoking code from plug-in:
>>>>> "org.eclipse.ui.workbench".
>>>>> !STACK 0
>>>>> java.lang.NoClassDefFoundError: org/eclipse/update/ui/UpdateJob
>>>>> at java.lang.Class.forName0(Native Method)
>>>>> at java.lang.Class.forName(Unknown Source)
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>
>>>
>>>>>
>>>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>>>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>>
>>>>> !ENTRY org.eclipse.ui 4 4 2008-03-11 13:41:59.442
>>>>> !MESSAGE Unhandled Exception
>>>>>
>>>>> !ENTRY org.eclipse.update.scheduler 4 0 2008-03-11 13:41:59.474
>>>>> !MESSAGE Unable to execute early startup code for an extension
>>>>> !STACK 0
>>>>> java.lang.NoClassDefFoundError: org/eclipse/update/ui/UpdateJob
>>>>> at java.lang.Class.forName0(Native Method)
>>>>> at java.lang.Class.forName(Unknown Source)
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.creat eJobChangeAdapter(SchedulerStartup.java:259)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.start Search(SchedulerStartup.java:218)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.sched uleUpdateJob(SchedulerStartup.java:116)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.update.internal.scheduler.SchedulerStartup.early Startup(SchedulerStartup.java:94)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup (EarlyStartupRunnable.java:87)
>
>>>
>>>>>
>>>>> at
>>>
> org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartu pRunnable.java:66)
>
>>>
>>>>>
>>>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>>>> at org.eclipse.ui.internal.Workbench$54.run(Workbench.java:2190 )
>>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>>
>>>>>
>>>
>>>
>
>
Re: Software update doesn't work [message #326230 is a reply to message #326219] Wed, 12 March 2008 13:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Simon wrote:
> That's part of the problem. "Manage Configuration" doesn't work as well
> and raises the same error.
>
>
> Ed Merks wrote:
>> Simon,
>
>> You can use Help->Software Updates->Manage Configuration and use that
>> to disable features. I've never tried it. I think it's always best
>> to restart after doing that because many if not most plugins don't
>> handle other plugins dynamically stopping very well...
>
>
>> Simon wrote:
>>> Ed,
>>>
>>> unfortunately it's not a "bare" Eclipse as several plugins are
>>> installed (I've worked with this installation for approx. half a year).
>>>
>>> As this error did erase recently, maybe a misconfigured plugin causes
>>> this error. Is there a way to uninstall/disable components by hand to
>>> isolate the problem more precisely?

I would do a search in the plugins directory and sort by date to find
the most recently added plugins. You can then delete it(or move it away)
and restart Eclipse with the -clean command-line argument to see if that
resolves the problem.

Hope this helps,
Eric
Re: Software update doesn't work [message #326234 is a reply to message #326230] Wed, 12 March 2008 14:25 Go to previous messageGo to next message
simon is currently offline simonFriend
Messages: 10
Registered: July 2009
Junior Member
Eric Rizzo wrote:
> I would do a search in the plugins directory and sort by date to find
> the most recently added plugins. You can then delete it(or move it away)
> and restart Eclipse with the -clean command-line argument to see if that
> resolves the problem.

Didn't help yet, but I'm still trying.
Re: Software update doesn't work [message #326251 is a reply to message #326203] Thu, 13 March 2008 07:51 Go to previous messageGo to next message
simon is currently offline simonFriend
Messages: 10
Registered: July 2009
Junior Member
Ed Merks wrote:
> Probably you should open a bugzilla. The folks will need to be able to
> reproduce the problem, so likely they'll need to know exactly what
> you've got installed. Is this happening with a "bare version of
> Eclipse". I.e., one of the zipped packages with no other plugins added?

I opened a ticket and it seems to be a bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=222364
Re: Software update doesn't work [message #326349 is a reply to message #326251] Mon, 17 March 2008 09:59 Go to previous message
simon is currently offline simonFriend
Messages: 10
Registered: July 2009
Junior Member
Simon wrote:
> I opened a ticket and it seems to be a bug:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=222364

Fixed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=222364
Previous Topic:Update editor
Next Topic:Deleting directory fails in the 3.4M5 test suite on Windows Vista ia32.
Goto Forum:
  


Current Time: Thu Dec 26 21:03:31 GMT 2024

Powered by FUDForum. Page generated in 0.05170 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top