- This topic has 5 replies, 3 voices, and was last updated 12 years, 9 months ago by support-tony.
-
AuthorPosts
-
Erling MoldeMemberMy details:
*** Date: 1. februar 2012 kl 13.55 CET ** System properties: OS=WindowsVista OS version=6.1.0 Java version=1.6.0_13 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 10.0 Build id: 10.0-20111028 *** Eclipse details: MyEclipse Enterprise Workbench Version: 10.0 Build id: 10.0-20111028 Eclipse startup command=-os win32 -ws win32 -arch x86_64 -showsplash -launcher C:\Users\ermo0633\Genuitec\Profiles\MyEclipse 10\myeclipse.exe -name Myeclipse --launcher.library C:\Users\ermo0633\Genuitec\Profiles\MyEclipse 10\../../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_3.2.0.v201103301700\eclipse_3215.dll -startup C:\Users\ermo0633\Genuitec\Profiles\MyEclipse 10\../../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -exitdata 22a8_5c -install C:\Users\ermo0633\Genuitec\Profiles\MyEclipse 10 -configuration C:\Users\ermo0633\Genuitec\Profiles\MyEclipse 10\configuration -vm C:\Users\ermo0633\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin\javaw.exe
I get the following error when I try to preview a jpg-image, selected in Package Explorer.
eclipse.buildId=unknown java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=no_NO Command-line arguments: -os win32 -ws win32 -arch x86_64 Error Wed Feb 01 13:36:03 CET 2012 Unhandled event loop exception org.eclipse.swt.SWTError: No more handles at org.eclipse.swt.SWT.error(SWT.java:4308) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.SWT.error(SWT.java:4168) at org.eclipse.swt.graphics.Image.initNative(Image.java:749) at org.eclipse.swt.graphics.Image.<init>(Image.java:579) at uky.article.imageviewer.views.SWTImageCanvas.loadImage(SWTImageCanvas.java:253) at com.genuitec.eclipse.web.imagepreviewer.ImagePreview.updatePreviewImage(ImagePreview.java:171) at com.genuitec.eclipse.web.imagepreviewer.ImagePreview.selectionChanged(ImagePreview.java:143) at org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156) at org.eclipse.ui.internal.AbstractSelectionService$1.selectionChanged(AbstractSelectionService.java:62) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162) at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188) at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1211) at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1241) at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:239) at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:233) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.genuitec.pulse.eclipse.launcher.Main.main(Main.java:110)
support-swapnaModeratorinforedno ,
Sorry that you are seeing this issue. I could not replicate the issue at my end.
Can you answer some more questions for us?
1) How big is your JPEG image ?
2) Are you able to open the image in the MyEclipse Image Editor ?
3) Can you switch to a new workspace and check if the issue persists ? Can you also check if you see the same issue for relatively smaller images ?
4) Please attach a screenshot for us to help get a visual of the issue.
Erling MoldeMemberI have tried the same on a different computer with the same version of MyEclipse (10.0.1 – Milestone Stream). It seems my problem is related to the image size, as suggested in 3).
I tried viewing several jpg-images, relatively small ones first, and had no problems with thiese, as before.
Then I tried viewing the problematic file, and got the “Unhandled event loop” exception.
The file in question has the following characteristics:
– filesize: 2Â 547Â 082 bytes
– image size: 4643 x 2362 px
support-swapnaModeratorinforedno ,
Can you please update the memory settings as suggested in this FAQ and check if the issue persists ? Please make the changes to the myeclipse.ini as suggested here :
https://www.genuitec.com/forums/topic/troubleshooting-memory-amp-performance-issues/Let us know how it works for you.
Erling MoldeMemberI have not changed my memory settings as you suggested, as I have set them higher long ago. The suggestions I get from MyEclipse on occasion are consistently lower than what I am using (why can’t the popup suggestion be dynamic?).
My myeclipse.ini contains this:
#utf8 (do not remove) -startup ../../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.library ../../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_3.2.0.v201103301700 -install C:\Users\ermo0633\Genuitec\Profiles\MyEclipse 10 -vm C:\Users\ermo0633\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin\javaw.exe -configuration C:\Users\ermo0633\Genuitec\Profiles\MyEclipse 10\configuration -vmargs -Xmx1536m -XX:MaxPermSize=512m -XX:ReservedCodeCacheSize=64m -Dosgi.nls.warnings=ignore
support-tonyKeymasterErling,
Can you confirm that you got the same problem on a different computer using a different release of MyEclipse (the milestone release)?
I couldn’t replicate the error with an image of a similar number of pixels (3,069×3,006). The error you got indicates that there was a shortage of system resources (handles) rather than memory, as such. Do you have a lot of applications, windows, tabs, controls, open at the same time, when the problem occurs? Can you try opening MyEclipse, with few other applications running and with no editors open, then immediately try to preview the image?
-
AuthorPosts