Project: SWT
Bug 21695 Crash when starting eclipse on Solaris8 with java 1.4
Reported: 2002-07-18 11:04:19 | Status: resolved fixed

Platform: SunOS guava 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-80 Java: java version "1.4.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92) Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode) Trace: java.lang.ArrayIndexOutOfBoundsException at org.eclipse.swt.graphics.ImageData.blit(ImageData.java:2318) at org.eclipse.swt.graphics.Image.putImage(Image.java:1200) at org.eclipse.swt.graphics.Image.init(Image.java:988) at org.eclipse.swt.graphics.Image.<init>(Image.java:446) at org.eclipse.jface.action.ActionContributionItem$ImageCache.getGrayImage (ActionContributionItem.java:105) at org.eclipse.jface.action.ActionContributionItem.updateImages (ActionContributionItem.java:602) at org.eclipse.jface.action.ActionContributionItem.update (ActionContributionItem.java:468) at org.eclipse.jface.action.ActionContributionItem.fill (ActionContributionItem.java:287) at org.eclipse.jface.action.ToolBarManager.update (ToolBarManager.java:230) at org.eclipse.ui.internal.WorkbenchWindow.addPerspectiveShortcut (WorkbenchWindow.java:294) at org.eclipse.ui.internal.WorkbenchPage.onActivate (WorkbenchPage.java:1516) at org.eclipse.ui.internal.WorkbenchWindow$7.run (WorkbenchWindow.java:1209) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66) at org.eclipse.ui.internal.WorkbenchWindow.setActivePage (WorkbenchWindow.java:1196) at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage (WorkbenchWindow.java:344) at org.eclipse.ui.internal.WorkbenchWindow$6.run (WorkbenchWindow.java:931) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66) at org.eclipse.ui.internal.WorkbenchWindow.openPage (WorkbenchWindow.java:928) at org.eclipse.ui.internal.Workbench.openFirstTimeWindow (Workbench.java:730) at org.eclipse.ui.internal.Workbench.init(Workbench.java:566) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1153) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:775) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:248) at org.eclipse.core.launcher.Main.run(Main.java:698) at org.eclipse.core.launcher.Main.main(Main.java:534)

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Image.java