Bug 19891 - Exception opening update manager
Summary: Exception opening update manager
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: 2.0 F3   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 16539 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-11 08:51 EDT by Kevin Haaland CLA
Modified: 2002-06-12 09:12 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Haaland CLA 2002-06-11 08:51:18 EDT
On Windows 98 with 24 or 32 bit color you can not open the Update Manager. The 
following error is logged:

!SESSION Jun 11, 2002 08:47:31.140 ---------------------------------------------
java.version=1.3.1_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install 
file:C:/0610/eclipse/
!ENTRY org.eclipse.ui 4 4 Jun 11, 2002 08:47:31.140
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Jun 11, 2002 08:47:31.140
!MESSAGE No more handles
!STACK 0
org.eclipse.swt.SWTError: No more handles
	at org.eclipse.swt.SWT.error(SWT.java:2083)
	at org.eclipse.swt.SWT.error(SWT.java:1990)
	at org.eclipse.swt.graphics.Image.init(Image.java:1778)
	at org.eclipse.swt.graphics.Image.init(Image.java:1807)
	at org.eclipse.swt.graphics.Image.<init>(Image.java:696)
	at org.eclipse.jface.resource.ImageDescriptor.createImage
(ImageDescriptor.java:128)
	at org.eclipse.jface.resource.ImageDescriptor.createImage
(ImageDescriptor.java:87)
	at org.eclipse.jface.resource.ImageDescriptor.createImage
(ImageDescriptor.java:76)
	at org.eclipse.update.internal.ui.forms.DetailsForm.<init>
(DetailsForm.java:208)
	at org.eclipse.update.internal.ui.pages.DetailsPage.createForm
(DetailsPage.java:19)
	at org.eclipse.update.internal.ui.pages.UpdateFormPage.<init>
(UpdateFormPage.java:20)
	at org.eclipse.update.internal.ui.pages.DetailsPage.<init>
(DetailsPage.java:15)
	at org.eclipse.update.internal.ui.views.DetailsView.createPages
(DetailsView.java:81)
	at org.eclipse.update.internal.ui.views.MultiPageView.<init>
(MultiPageView.java:30)
	at org.eclipse.update.internal.ui.views.DetailsView.<init>
(DetailsView.java:72)
	at java.lang.Class.newInstance0(Native Method)
	at java.lang.Class.newInstance(Class.java:237)
	at 
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension
(PluginDescriptor.java:138)
	at 
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension
(PluginDescriptor.java:167)
	at 
org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension
(ConfigurationElement.java:102)
	at org.eclipse.ui.internal.WorkbenchPlugin.createExtension
(WorkbenchPlugin.java:109)
	at org.eclipse.ui.internal.registry.ViewDescriptor.createView
(ViewDescriptor.java:45)
	at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:93)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:802)
	at org.eclipse.core.runtime.Platform.run(Platform.java:416)
	at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:79)
	at org.eclipse.ui.internal.ViewFactory.access$0(ViewFactory.java:71)
	at org.eclipse.ui.internal.ViewFactory$ViewReference.getPart
(ViewFactory.java:262)
	at org.eclipse.ui.internal.FolderLayout.addView(FolderLayout.java:69)
	at org.eclipse.update.internal.ui.UpdatePerspective.createInitialLayout
(UpdatePerspective.java:32)
	at org.eclipse.ui.internal.Perspective.loadPredefinedPersp
(Perspective.java:606)
	at org.eclipse.ui.internal.Perspective.createPresentation
(Perspective.java:231)
	at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:131)
	at org.eclipse.ui.internal.WorkbenchPage.createPerspective
(WorkbenchPage.java:842)
	at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective
(WorkbenchPage.java:529)
	at org.eclipse.ui.internal.WorkbenchPage.access$6
(WorkbenchPage.java:524)
	at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2174)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:64)
	at org.eclipse.ui.internal.WorkbenchPage.setPerspective
(WorkbenchPage.java:2172)
	at org.eclipse.ui.internal.Workbench.showPerspective
(Workbench.java:1316)
	at org.eclipse.update.internal.ui.UpdateManagerAction.run
(UpdateManagerAction.java:39)
	at org.eclipse.ui.internal.PluginAction.runWithEvent
(PluginAction.java:210)
	at org.eclipse.ui.internal.WWinPluginAction.runWithEvent
(WWinPluginAction.java:172)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:407)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent
(ActionContributionItem.java:361)
	at org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:352)
	at 
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent
(ActionContributionItem.java:47)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1527)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1289)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1177)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1160)
	at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:739)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:248)
	at org.eclipse.core.launcher.Main.run(Main.java:697)
	at org.eclipse.core.launcher.Main.main(Main.java:530)
Comment 1 Dejan Glozic CLA 2002-06-11 09:58:47 EDT
I suspect this is related to the fact that GIF files are converted to ICON 
objects and there is a limit on icon sizes. 

I converted all large GIF images in Update to JPEG. Please test with 20020611 
build to see if that helps.
Comment 2 Vlad Klicnik CLA 2002-06-12 09:10:45 EDT
*** Bug 16539 has been marked as a duplicate of this bug. ***
Comment 3 Vlad Klicnik CLA 2002-06-12 09:12:09 EDT
Verified on Win 98 set to 32-bit color.
Fails with "out of handles" using build 0610.
Works with build 0611.
Closing.