facebook

Could not initialize class com.genuitec.eclipse.code.ui.themes.ThemeMappings

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

    jmichaelt
    Participant

    I get a slew of errors when I install CodeMix into Eclipse PHP IDE
    Version: Neon.3 Release (4.6.3)
    Build id: 20170314-1500

    But this is the one that comes up specifically when I click on Syntax Coloring in Window > Preferences > CodeMix
    An error has occurred. See error log for more details.
    Could not initialize class com.genuitec.eclipse.code.ui.themes.ThemeMappings

    Can anyone assist? Thanks in advance

    #649981 Reply

    support-swapna
    Moderator

    Hi,

    Sorry that you are seeing this issue.
    It looks like an issue with incomplete or corrupt install.

    1. Can you please let us know how you installed CodeMix and what features you selected for installation?
    2. Try starting Eclipse with -clean command args and check if the issue persists. You can run : eclipse.exe -clean from command prompt or add -clean as first line to the eclipse.ini file and restart. Once restarted, you can remove the entry.
    3. If the issue persists, please uninstall and reinstall CodeMix and check if it installs fine.
    4. Please share with us the workspace log file which is located at workspace dir/.metadata/.log (change the extension to .txt and attach it here)

    Apologies for inconvenience caused.

    –Swapna
    Genuitec Support

    #649986 Reply

    jmichaelt
    Participant

    Thanks for your quick reply!
    I installed from the Eclipse Marketplace option
    This is my 2nd attempt. The first time I installed only the pre-checked options. When I received all the errors, I uninstalled CodeMix.
    This 2nd time I checked all the options.

    I am also receiving the following error when Eclipse opens:
    An internal error occurred during: “Initialize Filters”.
    Could not initialize class com.genuitec.eclipse.code.core.engine.JsonUtil

    I will try #2 tomorrow and let you know what happens. It’s doubtful that it’s an incomplete or corrupt install, since it’s failed 2x now.

    #649987 Reply

    support-swapna
    Moderator

    I just installed CodeMix to Neon 3 PHP package and see no errors.

    1. Did you try -clean?
    2. Are you behind any firewall or proxy?
    3. Can you please share the .log file as I requested above?

    –Swapna
    Genuitec Support

    #649988 Reply

    jmichaelt
    Participant

    Thank you for reminder on #2 and 4. As stated, I will let you know how that works out. It’s late here, headed to sleep. Thank you. And no: no firewall or proxy.

    • This reply was modified 4 years, 7 months ago by jmichaelt.
    #649992 Reply

    jmichaelt
    Participant

    I can’t sleep, virus crisis has me up at strange hours : )
    So the -clean option did not work. Attached is the workspace log file. I believe it shows everything back from when I made my first attempt, to now.

    Thank you in advance for your assistance.

    • This reply was modified 4 years, 7 months ago by jmichaelt.
    Attachments:
    You must be logged in to view attached files.
    #650008 Reply

    support-swapna
    Moderator

    Hi,

    Thank you for the log file.
    Looks like the problem is with the Java version used to start Eclipse Neon. I see Java 10 being used to start Neon. Neon package by default works with Java 8 and lower versions.

    Can you please point to an older version of Java i.e Java 1.8 and check? You can edit the eclipse.ini file (located in the Eclipse installation directory) and add -vm arg to point to JDK 1.8 installation. Once done, restart Eclipse and check.
    Example :

    -vm
    C:\jdk1.8.0_144\bin\javaw.exe

    –Swapna
    Genuitec Support

    #650111 Reply

    jmichaelt
    Participant

    Hi Swapna,

    Turns out I had a slew of Eclipse updates that I hadn’t installed, and those updates resolved the errors that popup when working with CodeMix.
    Thank you for your assistance and keep up the fantastic work!

    #650202 Reply

    support-swapna
    Moderator

    Glad that it works now. Thank you for getting back to us.
    Please let us know if you see any issues with CodeMix.

    Stay safe !

    –Swapna
    Genuitec Support

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Could not initialize class com.genuitec.eclipse.code.ui.themes.ThemeMappings

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