- This topic has 8 replies, 2 voices, and was last updated 4 years, 5 months ago by Brian Fernandes.
-
AuthorPosts
-
keithParticipantI have started in the last couple of days getting “ECLIPSE_HOME is undefined” errors whenever I try and do something related to Codemix in Eclipse.
My storage option for CodeMix extensions is set to /users/kp/.codemix – and I do have write access to that directory.
I tried updating to the latest version of Eclipse, but that made no difference.
I am running Codemix version: CI 2019.10.29 and Eclipse 2019-12 (4.14.0)
This is the error generated in the log when I try and start live chat
———
!ENTRY com.genuitec.eclipse.code 1 0 2020-06-18 15:42:55.187
!MESSAGE Trying to get authentication key from the saved credentials for user ‘kp2’!ENTRY com.genuitec.eclipse.code.livechat.ui 4 0 2020-06-18 15:42:55.196
!MESSAGE ECLIPSE_HOME is undefined.
!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.personal.PersonalAuthentication.A(Unknown Source)
at com.genuitec.eclipse.code.personal.AbstractResponse.B(Unknown Source)
at com.genuitec.eclipse.code.personal.PersonalAuthentication.<init>(Unknown Source)
at com.genuitec.eclipse.code.personal.PersonalAuthentication.from(Unknown Source)
at com.genuitec.eclipse.code.personal.PersonalActivationRecord.getStatusOf(Unknown Source)
at com.genuitec.eclipse.code.personal.PhoningHomeJob.C(Unknown Source)
at com.genuitec.eclipse.code.personal.PhoningHomeJob.validateToken(Unknown Source)
at com.genuitec.eclipse.code.vU.rT_tm2n15k3h125251(Unknown Source)
at com.genuitec.eclipse.code.livechat.ui.views.LiveChatView$5.run(LiveChatView.java:530)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
———-
Brian FernandesModeratorKeith,
We’ve made a few fixes to issues like the one you describe over the last few releases. Before we investigate further, could you please update your version of CodeMix (you’re running a release from last year) and let us know if you still run into this?
keithParticipantIn the past Codemix has always applied its own updates.
I did ask Eclipse to “check for updates” and it said none are available, but I got several errors in the log similar to the one below, but with different endpoints to the /updates URL.
—-
!ENTRY org.eclipse.equinox.p2.core 4 0 2020-06-18 17:16:57.150
!MESSAGE Provisioning exception
!STACK 1
org.eclipse.equinox.p2.core.ProvisionException: No repository found at http://downloads.genuitec.com/downloads/products/webclipse/updates/wc2017ci11b2.
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:396)
at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:117)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.fail(CachingRepositoryManager.java:353)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:244)
at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager$Metadata.loadRepository(CachingRepositoryManager.java:476)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:110)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:105)
at org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob.doLoad(LoadMetadataRepositoryJob.java:126)
at org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob.runModal(LoadMetadataRepositoryJob.java:110)
at org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryHandler$1.runModal(PreloadingRepositoryHandler.java:84)
at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:190)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
!SUBENTRY 1 org.eclipse.equinox.p2.metadata.repository 4 1000 2020-06-18 17:16:57.150
!MESSAGE No repository found at http://downloads.genuitec.com/downloads/products/webclipse/updates/wc2017ci11b2.
Brian FernandesModeratorWe discontinued the evergreen updates for CodeMix in that very same release – however, you should still have been notified that an update was available.
http://downloads.genuitec.com/downloads/products/webclipse/updates/wc2017ci11b2
is an old update site for Webclipse that you can ignore.
1) Go to Preferences > Install/Update > Available Software Sites and find an entry for the above site, and remove it.
2) Add the following update site:http://www.genuitec.com/updates/codemix/ci/
(this should already have been present, but do confirm)If you check for updates now, you should see the CodeMix update. If not, install CodeMix again from the Eclipse marketplace – this will not do a re-install, but will update your existing installation.
Do let us know if this works.
keithParticipantThe /updates/codemix/ci/ was not there and I added it. There was a entry for /updates/devstyle/ci/, just not codemix.
I was then able to do an install of newer CodeMix and angular components.
Upon restarting Eclipse it still shows that I’m running CodeMix CI 2019.10.29
When I go to reinstall codemix Eclipse shows that all items are installed under “AngularIDE by CodeMix” and “CodeMix Essentials”.
I installed the “CodeMix Extended Suite” and the PHP “Technology Pack”.Upon restart, the CodeMix preferences screen still shows CI 2019.10.29
Brian FernandesModeratorKeith,
The version displayed on that page comes from some metadata that may have not been updated.
1) If you check for updates again, are you offered any CodeMix updates? If not, you’re probably on the right version. We should be able to confirm this if you send us your
bundles.info
file that you can find in your installation’sconfiguration\org.eclipse.equinox.simpleconfigurator
folder.2) Is your original problem resolved?
3) Can you please send us a copy of your workspace log? That should help us figure out exactly what went wrong with the update processes.
Thanks!
keithParticipantWhen I go back to Eclipse updates it shows that I am up to date. I even tried turning off hiding installed versions and re-downloaded the latest CodeMix, but it would not install , saying that it was already installed.
1) I have 2 bundles.info files:
/Users/kp/jee-latest-released/Eclipse.app/Contents/MacOS/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
/Users/kp/jee-latest-released/Eclipse.app/Contents/Eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info2) I still have the original issue.
3) Files attached.
Attachments:
You must be logged in to view attached files.
keithParticipantPlacing bundle.info files in a zip to see if the forum will allow the upload.
Attachments:
You must be logged in to view attached files.
Brian FernandesModeratorKeith,
I’m sorry we missed your post over the weekend.
The bundles.info file in the MacOS folder does have references to the latest CodeMix version, while the one in the Eclipse folder has references to an older version. The MacOS folder is not even supposed to contain a bundles.info file, and this might explain the issue you’ve been having with the ECLIPSE_HOME undefined error – you have a corrupted base Eclipse installation 🙁
The update process was supposed to be straightforward, but has clearly led to more work and confusion. I’m afraid a better use of your time would be to wipe this Eclipse install, and install a fresh copy of Eclipse – a good time to upgrade to the latest 2020-06 release. You would then need to install CodeMix into that (and any additional plugins) and then open your existing workspace with this.
Sorry we weren’t able to offer an easier solution, I hope this gets you back up and running.
-
AuthorPosts