facebook

MyEclipse 6.5.1 – org.eclipse.swt.SWTException Graphic issue

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #289202 Reply

    sukshma
    Member

    Hi,
    I have installed MyEclipse 6.5.1 on Windows XP.
    I created a simple java project with a HelloWorld class
    And when I right click on HelloWorld.java in the package explorer and select Run As/Debug As –> Java Application, a window pops with following error message

    Problem Occurred
    Open Progress monitor

    Your help is deeply appreciated.

    Dump of Error log:
    ===================
    !SESSION 2008-09-19 10:47:21.515 ———————————————–
    eclipse.buildId=M20080221-1800
    java.version=1.5.0_11
    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 -clean

    !ENTRY org.eclipse.update.configurator 2008-09-19 10:48:02.953
    !MESSAGE Could not install bundle ../myeclipse/eclipse/plugins/com.ibm.icu_3.6.1.v20070906.jar Bundle “com.ibm.icu” version “3.6.1.v20070906” has already been installed from: update@plugins/com.ibm.icu_3.6.1.v20070906.jar

    !ENTRY org.eclipse.update.configurator 2008-09-19 10:48:03.234
    !MESSAGE Could not install bundle ../myeclipse/eclipse/plugins/javax.servlet.jsp_2.0.0.v200706191603.jar Bundle “javax.servlet.jsp” version “2.0.0.v200706191603” has already been installed from: update@plugins/javax.servlet.jsp_2.0.0.v200706191603.jar

    !ENTRY org.eclipse.update.configurator 2008-09-19 10:48:03.250
    !MESSAGE Could not install bundle ../myeclipse/eclipse/plugins/javax.servlet_2.4.0.v200706111738.jar Bundle “javax.servlet” version “2.4.0.v200706111738” has already been installed from: update@plugins/javax.servlet_2.4.0.v200706111738.jar

    !ENTRY org.eclipse.update.configurator 2008-09-19 10:48:03.484
    !MESSAGE Could not install bundle ../myeclipse/eclipse/plugins/org.apache.commons.el_1.0.0.v200706111724.jar Bundle “org.apache.commons.el” version “1.0.0.v200706111724” has already been installed from: update@plugins/org.apache.commons.el_1.0.0.v200706111724.jar

    !ENTRY com.genuitec.eclipse.core 1 0 2008-09-19 10:49:32.859
    !MESSAGE Unable to locate .myeclipse.properties file

    !ENTRY com.genuitec.eclipse.wizards 1 0 2008-09-19 10:49:45.625
    !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 6.5\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.5.0.zmyeclipse650200806\snippets\html\css_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2008-09-19 10:49:45.890
    !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 6.5\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.5.0.zmyeclipse650200806\snippets\html\forms_lists_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2008-09-19 10:49:46.062
    !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 6.5\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.5.0.zmyeclipse650200806\snippets\html\htmlform_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2008-09-19 10:49:46.218
    !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 6.5\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.5.0.zmyeclipse650200806\snippets\html\html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2008-09-19 10:49:46.421
    !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 6.5\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.5.0.zmyeclipse650200806\snippets\html\javascript_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2008-09-19 10:49:46.562
    !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 6.5\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.5.0.zmyeclipse650200806\snippets\jsp\jsf_f_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2008-09-19 10:49:46.781
    !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 6.5\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.5.0.zmyeclipse650200806\snippets\jsp\jsf_h_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2008-09-19 10:49:46.921
    !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 6.5\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.5.0.zmyeclipse650200806\snippets\jsp\struts_bean_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2008-09-19 10:49:47.156
    !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 6.5\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.5.0.zmyeclipse650200806\snippets\jsp\struts_html_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2008-09-19 10:49:47.390
    !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 6.5\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.5.0.zmyeclipse650200806\snippets\jsp\struts_logic_snippets.xml

    !ENTRY com.genuitec.eclipse.wizards 1 0 2008-09-19 10:49:47.531
    !MESSAGE Installed snippet library: C:\Program Files\MyEclipse 6.5\myeclipse\eclipse\plugins\com.genuitec.eclipse.wizards_6.5.0.zmyeclipse650200806\snippets\jsp\struts_tiles_snippets.xml

    !ENTRY org.eclipse.ui 4 0 2008-09-19 10:52:23.281
    !MESSAGE Unhandled event loop exception
    !STACK 0
    org.eclipse.swt.SWTException: Graphic is disposed
    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.graphics.Image.setBackground(Image.java:2057)
    at org.eclipse.jface.dialogs.IconAndMessageDialog.createMessageArea(IconAndMessageDialog.java:79)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.createDialogArea(ProgressMonitorDialog.java:431)
    at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.createDialogArea(ProgressMonitorJobsDialog.java:80)
    at org.eclipse.jface.dialogs.IconAndMessageDialog.createDialogAndButtonArea(IconAndMessageDialog.java:213)
    at org.eclipse.jface.dialogs.IconAndMessageDialog.createContents(IconAndMessageDialog.java:192)
    at org.eclipse.jface.window.Window.create(Window.java:426)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1083)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.aboutToRun(ProgressMonitorDialog.java:569)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:492)
    at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:268)
    at org.eclipse.ui.internal.progress.ProgressManager$3.run(ProgressManager.java:909)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:944)
    at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:919)
    at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1127)
    at org.eclipse.jdt.internal.debug.ui.launcher.MainMethodSearchEngine.searchMainMethods(MainMethodSearchEngine.java:163)
    at org.eclipse.jdt.internal.debug.ui.launcher.JavaApplicationLaunchShortcut.findTypes(JavaApplicationLaunchShortcut.java:110)
    at org.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchShortcut.searchAndLaunch(JavaLaunchShortcut.java:56)
    at org.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchShortcut.launch(JavaLaunchShortcut.java:227)
    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:429)
    at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:66)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(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.java:3682)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1148)

    !ENTRY org.eclipse.ui 4 0 2008-09-19 10:52:24.078
    !MESSAGE Unhandled event loop exception
    !STACK 0
    org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Graphic is disposed)
    at org.eclipse.swt.SWT.error(SWT.java:3563)
    at org.eclipse.swt.SWT.error(SWT.java:3481)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
    Caused by: org.eclipse.swt.SWTException: Graphic is disposed
    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.graphics.Image.setBackground(Image.java:2057)
    at org.eclipse.jface.dialogs.IconAndMessageDialog.createMessageArea(IconAndMessageDialog.java:79)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.createDialogArea(ProgressMonitorDialog.java:431)
    at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.createDialogArea(ProgressMonitorJobsDialog.java:80)
    at org.eclipse.jface.dialogs.IconAndMessageDialog.createDialogAndButtonArea(IconAndMessageDialog.java:213)
    at org.eclipse.jface.dialogs.IconAndMessageDialog.createContents(IconAndMessageDialog.java:192)
    at org.eclipse.jface.window.Window.create(Window.java:426)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1083)
    at org.eclipse.jface.window.Window.open(Window.java:785)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.open(ProgressMonitorDialog.java:664)
    at org.eclipse.ui.internal.progress.ProgressManager$4.runInUIThread(ProgressManager.java:966)
    at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:129)
    … 23 more

    ===================

    #289203 Reply

    sukshma
    Member

    Hi,
    I also get similar errors when I tried to create a folder under the HelloWorld project/ Delete an existing folder.

    Thanks,

    #289239 Reply

    Loyal Water
    Member

    Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    #289249 Reply

    sukshma
    Member

    Hi,
    Thanks for your response.
    Following is from Installation Details
    Thanks,
    ====================
    *** Date:
    Monday, September 22, 2008 12:04:26 PM EDT

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_11

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.5.1 GA
    Build id: 6.5.1-GA-20080715

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.5.1 GA
    Build id: 6.5.1-GA-20080715

    Eclipse Platform

    Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
    Build id: M20080221-1800

    Eclipse RCP

    Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
    Build id: M20080221-1800

    Eclipse Java Development Tools

    Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
    Build id: M20080221-1800

    Eclipse Plug-in Development Environment

    Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
    Build id: M20080221-1800

    Eclipse Project SDK

    Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
    Build id: M20080221-1800

    Eclipse Graphical Editing Framework

    Version: 3.3.2.v20080129
    Build id: 20080221-1602

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\MyEclipse 6.5\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\Program Files\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
    -startup
    C:\Program Files\MyEclipse 6.5\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
    -exitdata
    1480_90
    -clean
    -vm
    C:\Program Files\MyEclipse 6.5\jre\bin\javaw.exe

    ====================

    #289255 Reply

    Loyal Water
    Member

    The error message suggests this is an installation related issue. Can you please switch to a new workspace (File > New Workspace > Temp) and check if you can reproduce this issue. Does the problem persist?

    #289266 Reply

    sukshma
    Member

    I could not find the File>New Workspace option.
    But, I used ‘Switch WorkSpace’ and created new workspace.
    But, the problem still persisted.

    Thanks,

    #289278 Reply

    Loyal Water
    Member

    Switch Workspace was what the option I was referring to. Sorry for the typo. I hope your tried this with a brand new project in the new workspace.

    The only other thing that I can think of is to reinstall MyEclipse to a brand new location and test this again. I guess you are using the All in One installer to setup MyEclipse.

    Let me know if this works after reinstalling to a brand new location. That would help us determine whether this is an installation issue.

    #289283 Reply

    sukshma
    Member

    I tried with a brand new project in the newly created workspace. That didn’t work.
    You are correct, I am using All-in-one installer.
    I installed it to a new location, but got the same error.

    Thanks,

    #289399 Reply

    Brian Fernandes
    Moderator

    sukshma,

    When you start MyEclipse, can you open the Progress view? Are there any jobs running when you attempt to Debug / create folders?

    #289428 Reply

    sukshma
    Member

    Brian,
    Thanks for your response.
    As soon as I start MyEclipse and Workspace, I was able to open Window->View->Progress
    In the Progress view, message was ‘No Operations to display at this time’.
    And the message remained same even when I debug/create folders.
    I have taken a screenshot, but not sure how to attach.

    thanks,

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: MyEclipse 6.5.1 – org.eclipse.swt.SWTException Graphic issue

You must be logged in to post in the forum log in