facebook

ECLIPSE_HOME is undefined

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

    csee
    Participant

    Hi support team,

    when starting eclipse, I get a CodeMix Popup Window stating a NullPointer exception, The eclipse log shows up with:

    !MESSAGE Unable to execute early startup code for the org.eclipse.ui.IStartup extension contributed by the ‘com.genuitec.eclipse.code.ui’ plug-in.
    !STACK 0
    com.genuitec.eclipse.code.common.GenuitecCoreRTException: ECLIPSE_HOME is undefined.
    at com.genuitec.eclipse.code.D.A(Unknown Source)
    at com.genuitec.eclipse.code.D.N(Unknown Source)
    at com.genuitec.eclipse.code.D.J(Unknown Source)
    at com.genuitec.eclipse.code.D.J(Unknown Source)
    at com.genuitec.eclipse.code.D.G(Unknown Source)
    at com.genuitec.eclipse.code.C.getFirstUsage(Unknown Source)
    at com.genuitec.eclipse.code.ViperCore.getFirstUsage(Unknown Source)
    at com.genuitec.eclipse.code.core.survey.SurveyActivityController.getUsageDays(SurveyActivityController.java:384)
    at com.genuitec.eclipse.code.core.survey.SurveyActivityController.startup(SurveyActivityController.java:122)
    at com.genuitec.eclipse.code.ui.EarlyStartup.earlyStartup(EarlyStartup.java:139)
    at org.eclipse.ui.internal.EarlyStartupRunnable.runEarlyStartup(EarlyStartupRunnable.java:79)
    at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:55)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
    at org.eclipse.ui.internal.Workbench$41.run(Workbench.java:2729)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

    !ENTRY org.eclipse.core.jobs 4 2 2020-03-19 13:40:55.869
    !MESSAGE An internal error occurred during: “Initializing CodeMix Engine”.
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.code.core.MigrateExtensionsHelper.removeOldExtensionsIfNeeded(MigrateExtensionsHelper.java:87)
    at com.genuitec.eclipse.code.core.MigrateExtensionsHelper.migrateNow(MigrateExtensionsHelper.java:38)
    at com.genuitec.eclipse.code.core.engine.app.EngineManager.initialize(EngineManager.java:79)
    at com.genuitec.eclipse.code.core.engine.EngineService.start(EngineService.java:193)
    at com.genuitec.eclipse.code.ui.CodeService.start(CodeService.java:373)
    at com.genuitec.eclipse.code.ui.EngineStartupHandler$1.run(EngineStartupHandler.java:124)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

    According to
    https://www.genuitec.com/forums/topic/eclipse-home-is-undefined/
    https://www.genuitec.com/forums/topic/eclipse_home-is-undefined-after-the-update/
    I tried to reenter licensing info via Help -> CodeMix -> Update License -> Login, but the login process stalls (see attached screen shots)

    I deinstalled and reinstalled the codemix plugin, but the error still exists.

    Please help!

    Thanks and kind regards, Christian

    Spring Tool Suite 4

    Version: 4.5.1.RELEASE Build Id: 202001211336
    Eclipse 4.14.0.v201912
    CodeMix 3.6.0.202003031658
    Ubuntu 19.10
    Openjdk version “1.8.0_242”

    Attachments:
    You must be logged in to view attached files.
    #646810 Reply

    support-swapna
    Moderator

    csee,

    Sorry that you are seeing this issue.
    Can you please clarify if there is a folder named extensions in the Eclipse installation directory?
    If the folder is missing, then it could be a permissions issue when trying to create one.

    In case the Eclipse is installed as root and if you are running as non-root user, then please run Eclipse as root and check if it works.
    Alternatively, you can change the location of the extensions directory to the location which you have permissions for. Go to Window > Preferences > CodeMix > Miscellaneous > Storage page. For CodeMix Extensions, uncheck the ‘use default storage location’ and set the location to the folder where you have full permissions including write access, apply the changes and restart the IDE.

    If none of the above suggestions help, then please reach us via Live Chat (Help > CodeMix > Live Chat) to help us quickly diagnose the problem.

    Apologies for inconvenience caused. Please let us know how you get on with this issue.

    –Swapna
    Genuitec Support

    #646836 Reply

    csee
    Participant

    Hi Swapna,
    thanks for the very quick response! It was indeed an issue concerning root installed eclipse and running with non-root user. I gave access to the user and everything works fine now!
    kind regards
    Christian

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: ECLIPSE_HOME is undefined

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