facebook

MyEclipse stopped working

đź’ˇ
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #313400 Reply

    jglozman
    Member

    It worked fine yesterday and I can still start it, but now:

    – it hangs, if I am trying to create a new class
    – it throws following exception, if I am trying to open any existing class

    org.eclipse.swt.SWTException: Invalid thread access
    at org.eclipse.swt.SWT.error(SWT.java:3884)
    at org.eclipse.swt.SWT.error(SWT.java:3799)
    at org.eclipse.swt.SWT.error(SWT.java:3770)
    at org.eclipse.swt.widgets.Display.error(Display.java:1204)
    at org.eclipse.swt.widgets.Display.checkDevice(Display.java:710)
    at org.eclipse.swt.widgets.Display.getDoubleClickTime(Display.java:1703)
    at org.eclipse.ui.texteditor.AbstractTextEditor$14.<init>(AbstractTextEditor.java:2972)
    at org.eclipse.ui.texteditor.AbstractTextEditor.getRulerMouseListener(AbstractTextEditor.java:2969)
    at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3437)
    at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
    at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:427)
    at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.createPartControl(JavaEditor.java:3078)
    at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.createPartControl(CompilationUnitEditor.java:1475)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
    at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
    at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
    at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
    at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
    at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
    at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
    at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
    at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
    at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
    at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2854)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2676)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:374)
    at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:178)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:229)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:208)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274)
    at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:250)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:373)
    at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:526)
    at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
    at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:842)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.runtime.Platform.run(Platform.java:888)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:840)
    at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1101)
    at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1205)
    at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)
    at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    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:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    I can not track the cause precisely, but, after browsing for several hours the Internet, I think it happened because I have imported and/or created Java Maven projects.

    I have the following version of MyEclipse

    Version: 8.5 Blue
    Build id: 8.5-Blue-20100319

    Is that a known issue? Is there a solution for it? I have tried to put “-clean” in myeclipse-blue.ini located in C:\Program Files\Genuitec\MyEclipse Blue Edition 8.5 without much success.

    Thanks,
    Jacob

    #313409

    support-swapna
    Moderator

    jglozman,

    Can you please start MyEclipse from command with -clean as argument? Here is how it can be done:
    https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/

    Also open the Pulse Explorer, right click on MyEclipse Blue Edition 8.5 from My Profiles and select ‘Reinstall then Run’.

    Let us know how this works for you.

    #313418

    jglozman
    Member

    It helped, but may be not in the way you expected. Here is what happened:
    – I have run “myeclipse-blue.exe -start”. MyEclipse started much better.
    – I have restarted MyEclipse, without “-start”, and … it started reinstallation
    – After reinstallation it started fine, but it complains now about absence of setting.xml, although file is there. Here is the proof:

    C:\Program Files\Apache Software Foundation\apache-maven-2.2.1\conf>echo %M2_HOME%
    C:\Program Files\Apache Software Foundation\apache-maven-2.2.1

    C:\Program Files\Apache Software Foundation\apache-maven-2.2.1\conf>dir
    Volume in drive C has no label.
    Volume Serial Number is 74FA-88EC

    Directory of C:\Program Files\Apache Software Foundation\apache-maven-2.2.1\conf

    05/14/2010 01:42 PM <DIR> .
    05/14/2010 01:42 PM <DIR> ..
    08/06/2009 02:11 PM 10,205 settings.xml
    1 File(s) 10,205 bytes
    2 Dir(s) 102,721,187,840 bytes free

    Where is MyEclipse looking for settings.xml?

    #313424

    support-swapna
    Moderator

    jglozman,

    Can you clear the .log file which is located at <workspace dir>/.metadata folder and try starting the MyEclipse IDE?.
    Once the IDE starts, check the .log file for the errors. Please paste them here for us to get a clear understanding of the issue.
    Also make sure all the Maven jars and dependent files are in place.

    #313440

    pchan19
    Member

    Hello,

    I’m getting PermGen space error , java.lang.OutOfMemoryError. please advise me

    #313445

    support-swapna
    Moderator

    pchan19,

    Can you try the following?

    1. Can you switch to a new workspace and check if the issue persits?
    2. Can you try running the garbage collector MyEclipse > Utilities > Run Garbage Collection?
    3.Can you tell us how many projects do you have in your current workspace?
    4.Can you edit your myeclipse.ini and set the memory arguments?
    Here is the information on how it can be done:
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087.html

    Let us know how it works for you.

    #313454

    jglozman
    Member

    Here is new log

    !SESSION 2010-12-28 09:33:19.088 ———————————————–
    eclipse.buildId=unknown
    java.version=1.6.0_13
    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

    !ENTRY org.eclipse.jface 2 0 2010-12-28 09:34:28.655
    !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
    !SUBENTRY 1 org.eclipse.jface 2 0 2010-12-28 09:34:28.655
    !MESSAGE A conflict occurred for CTRL+F9:
    Binding(CTRL+F9,
    ParameterizedCommand(Command(org.eclipse.mylyn.tasks.ui.command.activateTask,Activate Task,
    ,
    Category(org.eclipse.ui.category.navigate,Navigate,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    Binding(CTRL+F9,
    ParameterizedCommand(Command(RunSQLAction,Run SQL,
    Run SQL,
    Category(org.eclipse.ui.category.edit,Edit,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    !SUBENTRY 1 org.eclipse.jface 2 0 2010-12-28 09:34:28.655
    !MESSAGE A conflict occurred for SHIFT+DEL:
    Binding(SHIFT+DEL,
    ParameterizedCommand(Command(org.eclipse.datatools.sqltools.result.removeAllInstances,Remove All Visible Results,
    ,
    Category(org.eclipse.datatools.sqltools.result.category,SQL Results View,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    Binding(SHIFT+DEL,
    ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
    Cut the selection to the clipboard,
    Category(org.eclipse.ui.category.edit,Edit,null,true),
    org.eclipse.ui.internal.handlers.WidgetMethodHandler@1331ce6,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.dialogAndWindow,,,system)
    Binding(SHIFT+DEL,
    ParameterizedCommand(Command(org.topcased.modeler.deleteModelObject,Delete From Model,
    Allows the user to delete the selected graph element and its associated model element in a Topcased editor.,
    Category(org.eclipse.ui.category.edit,Edit,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)

    What do you want me to check about “make sure all the Maven jars and dependent files are in place”?

    #313463

    support-swapna
    Moderator

    jglozman,

    Did you try any of the suggestions I gave? If yes please let me know how it works.
    Are you still getting the Perm gen space issue?
    Are you able to start the MyEclipse and create a new project?

    By the Maven dependent jars I meant .jar files if any,specific for Maven which have to be included in the project.

    #313491

    jglozman
    Member

    Swapna,

    pchan19 has nothing to do with my problems. I do not know why he/she decided to enter this thread. Please ignore his/her postings.

    I have done whatever you suggested in the posting as of Dec 24, 2010 – 12:08 AM . My posting as of Dec 28, 2010 – 09:38 AM is result of doing whatever you asked for.

    In addition, I can again state that MyEclipse is working, I can create/delete/etc. projects and the only problem I have currently is it not finding settings.xml file. Here is exact message:

    Could not read settings.xml, assuming default values

    However, I do have M2_HOME defined and settings.xml file is there, as you can see from my posting as of Dec 23, 2010 – 11:04 AM

    #313498

    support-swapna
    Moderator

    jglozman,

    Can you tell us in details when you are getting this error? Please list out the steps.
    Is the issue only with maven projects?

    Can you switch to a new workspace, create/import a new maven project and check if the issue persists?

    Let us know how it works for you.

    #313571

    jglozman
    Member

    Thanks. I have resolved all my issues. The last one was although existing, but bad settings.xml file. The message was misleading though and you may want to change it in future releases

    #313580

    support-swapna
    Moderator

    jglozman,

    Glad that it works for you.
    I will let the dev team know about the message.
    Do let us know if you have any other issues.

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: MyEclipse stopped working

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