facebook

CodeMix Engine Couldn't Start

  1. CodeMix & Angular IDE
  2.  > 
  3. Getting Help
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #604567 Reply

    y-you
    Participant

    hello all,CodeMix Engine Couldn’t Start. What’s the reason?

    Bundle: org.eclipse.e4.ui.workbench 1.7.0.v20180906-1121
    Message:
    Exception:
    java.lang.IllegalArgumentException: null
    at org.eclipse.core.runtime.ListenerList.remove(ListenerList.java:220)
    at org.eclipse.ui.internal.Workbench.removeWorkbenchListener(Workbench.java:923)
    at com.genuitec.eclipse.code.livechat.ui.views.LiveChatView.dispose(LiveChatView.java:446)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.invalidate(CompatibilityPart.java:264)
    at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.destroy(CompatibilityPart.java:424)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
    at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:1001)
    at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:966)
    at org.eclipse.e4.core.internal.di.InjectorImpl.uninject(InjectorImpl.java:200)
    at org.eclipse.e4.core.internal.di.Requestor.uninject(Requestor.java:175)
    at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:87)
    at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:114)
    at org.eclipse.e4.core.internal.contexts.EclipseContext.removeListenersTo(EclipseContext.java:492)
    at org.eclipse.e4.core.contexts.ContextInjectionFactory.uninject(ContextInjectionFactory.java:175)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:967)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$1(PartRenderingEngine.java:886)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:881)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:865)
    at org.eclipse.e4.ui.workbench.renderers.swt.ElementReferenceRenderer.disposeWidget(ElementReferenceRenderer.java:115)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:958)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$1(PartRenderingEngine.java:886)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:881)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:865)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.subscribeTopicToBeRendered(PartRenderingEngine.java:186)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
    at org.eclipse.e4.core.di.internal.extensions.EventObjectSupplier$DIEventHandler.handleEvent(EventObjectSupplier.java:91)
    at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:204)
    at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:199)
    at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:233)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)
    at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:138)
    at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:81)
    at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:42)
    at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:55)
    at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63)
    at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424)
    at org.eclipse.e4.ui.model.application.ui.impl.UIElementImpl.setToBeRendered(UIElementImpl.java:307)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.hidePart(PartServiceImpl.java:1381)
    at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.hidePart(PartServiceImpl.java:1311)
    at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.closePart(StackRenderer.java:1269)
    at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.access$0(StackRenderer.java:1255)
    at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer$3.close(StackRenderer.java:1123)
    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1961)
    at org.eclipse.swt.custom.CTabFolder.lambda$0(CTabFolder.java:336)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4145)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1055)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3958)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3561)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
    at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:628)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:199)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:391)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:246)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1501)

    ——————-
    Engine process exited with value: -2147483645
    `
    `

    • This topic was modified 5 years, 4 months ago by y-you.
    • This topic was modified 5 years, 4 months ago by y-you.
    #604575 Reply

    support-tony
    Keymaster

    Hi,

    Sorry you’re having trouble with CodeMix.

    The stack trace you sent doesn’t seem to be related to the CodeMix engine process but to the Live Chat session. Could you attach the full eclipse error log, please (note, attach the actual file, rather than paste the contents). The error log can be exported to a text file from the eclipse Error Log view.

    Have you been using CodeMix successfully before seeing this error, or is this a new install? If it’s not a new install, have you just updated the plug-in or made other changes that might have altered how eclipse is running?

    We have seen a few problems in some environments, where the engine has failed to start. Often, this seems to be some corruption with the engine extraction. Please try stopping eclipse then deleting the .codemix\engine folder that should be in your home directory (the .codemix parent folder may not be visible unless you’ve selected Hidden items option in your Windows Explorer’s View menu). On starting eclipse again, the engine will be re-extracted, and this will check whether there was some corruption with that process previously.

    Please let us know if this works. If not, please attach the full eclipse error log file, as mentioned previously.

    #604576 Reply

    y-you
    Participant

    Hello!
    After removing the .codemix folder, restart eclipse with the same error!

    • This reply was modified 5 years, 4 months ago by y-you.
    Attachments:
    You must be logged in to view attached files.
    #604581 Reply

    support-tony
    Keymaster

    That’s not good news. Thanks for the log file; our developers are checking and will get back to you soon.

    Could you please answer the question I asked, to help the investigation:

    Have you been using CodeMix successfully before seeing this error, or is this a new install? If it’s not a new install, have you just updated the plug-in or made other changes that might have altered how eclipse is running?

    Thanks.

    #604582 Reply

    y-you
    Participant

    All right.
    Instead of reinstalling, you install the latest plug-ins through eclipse and copy the entire eclipse folder to run on another computer.
    Codemix works on which computer you installed.

    #604583 Reply

    y-you
    Participant

    One more question:
    Sometimes the vue file editor cannot be found in the codemix plug-in. Why?

    #604584 Reply

    support-tony
    Keymaster

    y-you,

    From your answer, I understand you’ve copied an installation of eclipse with CodeMix from another computer and it is that copied installation which fails. Is that right? Was the original eclipse installed on the same version of Windows?

    Regarding the Vue editor, you may need to install the Vue extensions pack from Help>CodeMix Extensions although this may not be possible until we fix the CodeMix engine problem.

    #604585 Reply

    y-you
    Participant

    I see.
    Which computer system is installed win10, copy the operating system environment is win7. I install a plug-in to try!
    Thank you very much!

    #604592 Reply

    Hello,

    Can you try to reach us again via Live Chat as it would be the fastest and most efficient way to help you? I can see that you tried to contact us earlier on Live Chat but there were no agents available to help you at that time.

    With best regards,
    Bartek

    #604673 Reply

    support-tony
    Keymaster

    Hi,

    After more investigation, we’ve found the problem and will provide a fix in the next update. In the meantime, you can fix this with the following steps:

    1. Close Eclipse with CodeMix.
    2. Download http://downloads.genuitec.com/downloads/partners/misc/win7_engine_fix.zip.
    3. Extract it in <home-folder>/.codemix (we preserve the folder structure). In your case, this is C:\Users\iyunwen-chengyun\.codemix. You will be asked if you want to replace existing folders and files, you should click the Yes button for folders and select the Copy and Replace option for files.
    4. We have two options:
      a. To keep the same workspace – remove <workspace>\.metadata\.plugins\com.genuitec.eclipse.code.core\codeMixUserData folder.
      b. Or just create a new workspace.
    5. Start Eclipse with CodeMix.
    6. An error notification is displayed in the right-hand bottom corner of eclipse: Your CodeMix Engine installation appears to be corrupt. Please reinstall. Choose: Don't Show Again.

    Please let us know how you get on or if you have any questions.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: CodeMix Engine Couldn't Start

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