Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Issues updating Eclipse | 2018-12 → 2019-03(Updating Eclipse | 2018-12 → 2019-03)
Issues updating Eclipse | 2018-12 → 2019-03 [message #1804612] Fri, 29 March 2019 13:28 Go to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
This morning I updated to 2019-03 from 2018-12 and it broke my workspace so badly!
I've attached my log dump.

When I went to update this morning, I was under the assumption it was just my plugins, as usual, that needed updating. However, my entire eclipse installation got an upgrade as well. Exciting at first! And then realized I hadn't backed up my workspace in a while (Something CRUCIAL to my day job)

I had auto-building on and when eclipse got around to building my open project, it crashed.
I restarted eclipse, and had just enough time to turn that feature off. That bought me about 5 more minutes, during which time I was able to push a commit to a git repository that had already been committed from yesterday.
Shortly after getting that branch pushed though, Eclipse crashed again.
Now I cannot keep it open for more than 5ish minutes until, I can only imagine, some plugin tried to do something that ends up not working.

It is frustrating that everytime I upgrade my Eclipse IDE, the proper checks aren't performed for me to at least discover what else I need to have downloaded in my workspace in order for it to work. It's just way too complicated to figure out and to navigate. Please help me fix this!

The update process is seriously so debilitating for Eclipse. Speaking as a user for the last 7 years now, I can only say how disappointed I am... I have work to do, please fix this.
  • Attachment: 201903.log
    (Size: 18.90KB, Downloaded 150 times)
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804616 is a reply to message #1804612] Fri, 29 March 2019 15:09 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
Registered: July 2009
Senior Member
I see you posted here as well:

https://www.eclipse.org/forums/index.php/mv/msg/1098147/1804608/#msg_1804608

My best guess is that you updated Xtext as part of your overall update and that this version of Xtext relies on a newer version of org.objectweb.asm but they forgot to change the lower bound on their dependency to ensure that this newer version is installed/updated, not just some older version that would be lacking the some APIs that it uses.

I would suggest asking on the Xtext forum about this issue because it appears to be caused by something that Xtext registers:

https://www.eclipse.org/forums/index.php/f/27/

I know I shouldn't say this out loud, but I personally avoid ever updating an IDE to a new released version. I just create a new IDE. But then I use Oomph which automatically does everything, including installing any additional tools that I always want, cloning the projects on which I want to work, and setting all the preferences the way that I want them. You can see an example of how that works here:

https://wiki.eclipse.org/Eclipse_Platform_SDK_Provisioning

Also for my own Eclipse project I have very simple instructions for creating a specialized installation for working on EMF. It's as simple as launching the installer and dragging the "Configuration" onto it:

https://ci.eclipse.org/emf/

Probably you could create such a thing for your project so you never have to do anything manual again...

I know that's a small consolation and of course you should be able to expect that an update will work and will result in a working IDE, so I'm not trying to make excuses for anyone. Sorry for your bad experience. :-(


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804618 is a reply to message #1804616] Fri, 29 March 2019 15:22 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Ed I appreciate the response. I'm normally very watchful of things like this, but I guess with how stable Eclipse has been I grew to trusting of the updates process.

I have also created this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=545933

The oomph stuff interests me, looks intimidating. I guess I'll have to try it if I can get up and running again soon...

The EMF stuff is also interesting but again... extremely intimidating. I don't know if I need that much control over my IDE and honestly, I don't know why I should need to. My preferences and setup, yes! Plenty of apps are made to just work well, and Eclipse fails at this when you upgrade things.
How many more releases do I need to endure before this becomes true?

More importantly, how do I fix all of this now?
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804624 is a reply to message #1804618] Fri, 29 March 2019 16:47 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7670
Registered: July 2009
Senior Member
Hi

I echo Ed M's recommendation to recreate. I never upgrade, not even for milestones. I have been able to use the same workspace for the last four years. Unfortunately Eclipse has become unstable, because Java has become unstable. If you used the milestone builds you would realize how hard the JDT team have to work to make yet another Java policy change less painful. However Java changes ripple, and in your case ASM versions have also been chasing Java changes, so probably what JDT need from ASM is more precise than what other projects need. Certainly ASM has been changing so much recently that a number of projects just keep increasing the upper bound to avoid fighting each other.

My guess is that JDT has not forced in a new ASM, but there is also a problem with singletons, so it may be that your old ASM is being inflicted on JDT.

Regards

Ed Willink

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804627 is a reply to message #1804624] Fri, 29 March 2019 17:04 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Since this morning, I've decided to start anew with a fresh workspace. I was able to move some preferences and my perspectives over, so it wasn't all bad.
Unfortunately a couple things have occurred: 1) I tried importing my MyLyn tasks in an exported zip into the new workspace and this migration caused eclipse to crash. 2) While doing something in the command line waiting for eclipse to restart, I accidentally typed `..` and enter into the workspace name prompt. This essentially tried taking `/Applications/Eclipse.app/Contents` and making it into my workspace! Yea... great! As eclipse was starting, it crashed again.

I then deleted that .metadata directory and tried opening eclipse. It consistently crashes now with no hope of opening any workspace.

So I threw my hands up in the air and said I'll just install a new eclipse. Downloaded the installer, installed the regular java IDE one, launched it, had it create a brand new workspace, AND... crash. Only seconds after opening the new workspace. Tried running eclipse again several times. Same and different workspaces. They all crash eclipse.
This is a fresh installation and it's bombing.

[Updated on: Fri, 29 March 2019 17:19]

Report message to a moderator

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804631 is a reply to message #1804627] Fri, 29 March 2019 17:14 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
no

My best guess is that you updated Xtext as part of your overall update and that this version of Xtext relies on a newer version of org.objectweb.asm but they forgot to change the lower bound on their dependency to ensure that this newer version is installed/updated, not just some older version that would be lacking the some APIs that it uses.

is 7 to 8 exclusive.
but that is xtext 2.17 not xtext 2.12.
=> where does your xtext 2.12 come from.


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804632 is a reply to message #1804631] Fri, 29 March 2019 17:17 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
=> what happens if you add an update site that still contains the old version
e.g. https://download.eclipse.org/tools/orbit/downloads/drops/R20190226160451/repository/


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804634 is a reply to message #1804632] Fri, 29 March 2019 17:20 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Christian, as noted. I can no longer open eclipse, nor do any logs get updated when I try to run it.
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804637 is a reply to message #1804634] Fri, 29 March 2019 17:29 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
and you dont have any error log for that?
the stacktrace you show should only happen with existing workspaces


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804638 is a reply to message #1804637] Fri, 29 March 2019 17:35 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
I just restarted the mac, and now for some reason it is working again. I am even able to make it to a workspace which is great news. But I still get crashes when I try clicking on GitHub repositories.

I'll attach my new log file for this new workspace. Please let me know if I can provide any other information about my system.
  • Attachment: 20190329.log
    (Size: 556.42KB, Downloaded 128 times)
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804641 is a reply to message #1804638] Fri, 29 March 2019 17:44 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
org.springsource.ide.eclipse.commons.livexp does (as xtext) seem not to be the latest.
thus i still wonder what you mean when you state "update eclipse"


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804643 is a reply to message #1804641] Fri, 29 March 2019 17:50 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
"Update eclipse" means that this morning when I got into work and sat down in front of my perfectly functioning Eclipse 2018-12, I got a little window in the bottom right hand corner of my screen saying "Updates available". I clicked on it, initiated the updates and there you have it. I restart eclipse only to have it use my old workspace, albeit with a warning of course, and Eclipse 2019-03 was born on my box.
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804644 is a reply to message #1804643] Fri, 29 March 2019 17:52 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
hmmm this makes me wonder which combination of plugins in your eclipse leads to parts beeing updated and others not.


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804645 is a reply to message #1804644] Fri, 29 March 2019 17:53 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Does the order that the updates occurred in matter?
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804646 is a reply to message #1804645] Fri, 29 March 2019 17:55 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Also my logs are complaining now about not finding a repository in my downloads folder?
!ENTRY org.eclipse.equinox.p2.core 4 0 2019-03-29 12:32:30.204
!MESSAGE Provisioning exception
!STACK 1
org.eclipse.equinox.p2.core.ProvisionException: No repository found at file:/Users/alex.aiezza/Downloads/.
        at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:398)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        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:121)
        at org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob.runModal(LoadMetadataRepositoryJob.java:106)
        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 2019-03-29 12:32:30.205
!MESSAGE No repository found at file:/Users/alex.aiezza/Downloads/.
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804651 is a reply to message #1804646] Fri, 29 March 2019 18:05 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Also, though I get no output for it, I notice that Eclipse will crash every time I try doing a maven update on a project.
But not if it is the first thing I do when the workspace opens.

[Updated on: Fri, 29 March 2019 18:06]

Report message to a moderator

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804652 is a reply to message #1804651] Fri, 29 March 2019 18:10 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
is file:/Users/alex.aiezza/Downloads/ in your "available update sites list"

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804653 is a reply to message #1804652] Fri, 29 March 2019 18:13 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
You nailed it! I forgot I added that as an "update site"

I've attached new logs while trying to run a Spring Boot project
  • Attachment: 20190329.log
    (Size: 960.22KB, Downloaded 139 times)

[Updated on: Fri, 29 March 2019 18:14]

Report message to a moderator

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804659 is a reply to message #1804653] Fri, 29 March 2019 18:30 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
which versions of
- asm
- xtext
- jdt
- spring
- guava

do you have installed right now


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804661 is a reply to message #1804659] Fri, 29 March 2019 18:36 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Getting that now.
ASM - 7.0.0
(EclipseLink ASM) - 6.2.0

Xtext - 2.12
JDT - There's a variety of tools that come up when I search by it! But the core is 3.17.0

Spring Boot: 3.9.5
Spring Core: 4.3.15
Guava: 13.0.0

Attached are other installation details

[Updated on: Fri, 29 March 2019 18:42]

Report message to a moderator

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804664 is a reply to message #1804661] Fri, 29 March 2019 18:44 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Since migrating to a new workspace, it is "feeling" more stable. However, after about 5 minutes of use it crashes.
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804665 is a reply to message #1804661] Fri, 29 March 2019 18:47 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
xtext Xtext - 2.12 needs asm 5.0.1 that is not there.
i dont know xtext wont get updated in your setup and how your available update sites look like
i dont know if where is anything in spring that needs that.

i assume that additionally installing asm 5.0.1 from the orbit update site could resolve that issue. (it should be in the list if you add the update site and untick categorize plugins and show latest only)
(i recommend you to do a backup before trying)


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804667 is a reply to message #1804665] Fri, 29 March 2019 18:53 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Ok. I'll try installing asm 5.

The problem i, when I go to install software and I have https://download.eclipse.org/tools/orbit/downloads/drops/R20190226160451/repository/
in the "work with:" url, a lot of things come up. I have no idea what to include either.

[Updated on: Fri, 29 March 2019 18:54]

Report message to a moderator

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804668 is a reply to message #1804667] Fri, 29 March 2019 18:56 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
you can untick the "user other update sites option as well"
then the orbit update site should be considered only

index.php/fa/35162/0/


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Fri, 29 March 2019 18:59]

Report message to a moderator

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804669 is a reply to message #1804668] Fri, 29 March 2019 18:59 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Christian Dietrich wrote on Fri, 29 March 2019 18:56
you can untick the "user other update sites option as well"
then the orbit update site should be considered only


I sadly do not have that checkbox.
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804670 is a reply to message #1804669] Fri, 29 March 2019 18:59 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
added a screenshot above

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804671 is a reply to message #1804670] Fri, 29 March 2019 19:01 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Christian Dietrich wrote on Fri, 29 March 2019 18:59
added a screenshot above

I see what you mean now.

So I only want "Eclipse Orbit Recipes Aggregation Feature"?

[Updated on: Fri, 29 March 2019 19:02]

Report message to a moderator

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804672 is a reply to message #1804671] Fri, 29 March 2019 19:05 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
no. you select asm 5.0.1 from the orbit update site

index.php/fa/35163/0/


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Fri, 29 March 2019 19:08]

Report message to a moderator

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804674 is a reply to message #1804672] Fri, 29 March 2019 19:07 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Christian Dietrich wrote on Fri, 29 March 2019 19:05
no. you select asm 5.0.1 from the orbit update site

Found it... I needed "Group items by category" still checked for some reason.

[Updated on: Fri, 29 March 2019 19:09]

Report message to a moderator

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804675 is a reply to message #1804674] Fri, 29 March 2019 19:09 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
they have changed it. you now have to tick group by category

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804676 is a reply to message #1804675] Fri, 29 March 2019 19:10 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Christian Dietrich wrote on Fri, 29 March 2019 19:09
they have changed it. you now have to tick group by category

lol yes!
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804677 is a reply to message #1804676] Fri, 29 March 2019 19:11 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Now if I could only keep Eclipse from crashing long enough to install the asm 5.

UPDATE:
I get this now:
Cannot complete the request. See the error log for details.
"ASM" will be ignored because a newer version is already installed.

[Updated on: Fri, 29 March 2019 19:17]

Report message to a moderator

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804679 is a reply to message #1804677] Fri, 29 March 2019 19:16 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
if you use a fresh workspace with no project and dont do anything java related it should not crash

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804680 is a reply to message #1804679] Fri, 29 March 2019 19:17 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
do you see any reasons in the log regarding the crashes?
i e.g. wonder if this update site is intended
http://download.eclipse.org/mylyn/snapshots/3.24


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804682 is a reply to message #1804680] Fri, 29 March 2019 19:24 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Here's the new log. Nothing in there makes much sense to me though.

Here are my update sites:
https://i.ibb.co/gdZTFDF/eclipse-update-sites.png
  • Attachment: 20190329.log
    (Size: 447.47KB, Downloaded 99 times)

[Updated on: Fri, 29 March 2019 21:19]

Report message to a moderator

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804683 is a reply to message #1804682] Fri, 29 March 2019 19:36 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
the !MESSAGE Artifact not found: http://update.atlassian.com/atlassian-eclipse-plugin/features/ seems to be broken too.
are you sure you unticked the contact all update sites option?


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804684 is a reply to message #1804683] Fri, 29 March 2019 19:37 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Christian Dietrich wrote on Fri, 29 March 2019 14:36
the !MESSAGE Artifact not found: http://update.atlassian.com/atlassian-eclipse-plugin/features/ seems to be broken too.
are you sure you unticked the contact all update sites option?


I am. I actually re-ticked that update site is the problem. It is gone now though.
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804686 is a reply to message #1804684] Fri, 29 March 2019 20:09 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Christian, would you be interested in connecting over google hangouts so I can share my screen with you? I'd really like to get my ide back up and running so I can do work.
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804688 is a reply to message #1804686] Fri, 29 March 2019 20:16 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
sorry i wont find time for that.
so installing asm 5.0.1 did not help?


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804689 is a reply to message #1804688] Fri, 29 March 2019 20:17 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
another question: why do you have xtext/xtend installed and why in that version 2.12

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804690 is a reply to message #1804689] Fri, 29 March 2019 20:22 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Christian Dietrich wrote on Fri, 29 March 2019 15:16
sorry i wont find time for that.
so installing asm 5.0.1 did not help?

I was unable to install it successfully.

Christian Dietrich wrote on Fri, 29 March 2019 15:17
another question: why do you have xtext/xtend installed and why in that version 2.12

No idea... =/

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804691 is a reply to message #1804690] Fri, 29 March 2019 20:25 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
What was the error message for ASM?

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804692 is a reply to message #1804691] Fri, 29 March 2019 20:29 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
That an older version of ASM was already installed. I didn't know how to uninstall the other one.
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804693 is a reply to message #1804692] Fri, 29 March 2019 20:32 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
I guess starting with a clean eclipse and installing the stuff you really need is the better option. You seem to have many plugins with many updates so finding the root cause will take forever

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804695 is a reply to message #1804693] Fri, 29 March 2019 20:37 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
Or you try to install a newer xtext. Then you would see why It is not or cannot be updated

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804696 is a reply to message #1804693] Fri, 29 March 2019 20:44 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
... This is a tough pill to swallow.
How in the world do I at least prevent this from happening again?
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804697 is a reply to message #1804696] Fri, 29 March 2019 20:48 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
Since I don't know how you can in this situation in the first place and what is the root cause

( If you have updated to 201812 and 201809 then xtext should have got updated too and I don't know which additional plugins prevented that and still donprevent it


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804698 is a reply to message #1804695] Fri, 29 March 2019 20:49 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Christian Dietrich wrote on Fri, 29 March 2019 15:37
Or you try to install a newer xtext. Then you would see why It is not or cannot be updated

Actually how do I do this?

[Updated on: Fri, 29 March 2019 20:51]

Report message to a moderator

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804699 is a reply to message #1804698] Fri, 29 March 2019 20:52 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
If you select 2019-03 from the update site list it should contain xtext (and xtend) 2.17

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804700 is a reply to message #1804699] Fri, 29 March 2019 21:06 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Christian Dietrich wrote on Fri, 29 March 2019 15:52
If you select 2019-03 from the update site list it should contain xtext (and xtend) 2.17


Just finished doing this. Trying Eclipse out now.
Side-note: Christian, you've great to stick with me this long. I appreciate your time and feedback immensely.
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804702 is a reply to message #1804700] Fri, 29 March 2019 21:13 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Sadly that workspace still caused me a crash... This is the log directly after it happened. Unfortunately it doesn't even look like it was written to when the crash occurred. So I have no idea what happened still.
  • Attachment: 20190329.log
    (Size: 719.42KB, Downloaded 125 times)
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804703 is a reply to message #1804702] Fri, 29 March 2019 21:18 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
are you sure this is not a jvm crash. in the log i se errors from an outdated spring plugin.
plus egit complaining about some prefs


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804704 is a reply to message #1804703] Fri, 29 March 2019 21:23 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
So eg one question would be if your jdk is up to date
If the memory you give eclipse is sufficient
Do you get a crash dialog
Or if there are any logs written somehere


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804705 is a reply to message #1804704] Fri, 29 March 2019 21:53 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Those are all really good points I hadn't thought of... I went ahead though and took your advice and started building out a brand new workspace. I have a lot of work to do to get back to where I was, but I guess I can work towards using oomph or something.
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804810 is a reply to message #1804705] Mon, 01 April 2019 15:13 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Ok So I've began the process of setting up my workspace again from scratch with the exception of me importing my preferences because I really like my perspectives (which I realize are reproducible with simple screenshots). However, at random points in the use of eclipse, it will crash without warning and nothing pertaining to the crash will be logged.

Here is all I see in the logs before the crash directly after selecting a new workspace.
!SESSION 2019-04-01 10:29:12.305 -----------------------------------------------
eclipse.buildId=4.11.0.I20190307-0500
java.version=1.8.0_192
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product -keyring /Users/alex.aiezza/.eclipse_keyring
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -keyring /Users/alex.aiezza/.eclipse_keyring

!ENTRY org.eclipse.egit.core 1 0 2019-04-01 10:29:22.914
!MESSAGE Using Apache MINA sshd as ssh client.

!ENTRY org.eclipse.jface 2 0 2019-04-01 10:29:23.817
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2019-04-01 10:29:23.817
!MESSAGE A conflict occurred for COMMAND+SHIFT+T:
Binding(COMMAND+SHIFT+T,
        ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type,
                Open a type in a Java editor,
                Category(org.eclipse.ui.category.navigate,Navigate,null,true),
                org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@4dc16fc9,
                ,,true),null),
        org.eclipse.ui.defaultAcceleratorConfiguration,
        org.eclipse.ui.contexts.window,,,system)
Binding(COMMAND+SHIFT+T,
        ParameterizedCommand(Command(org.eclipse.lsp4e.symbolinworkspace,Go to Symbol in Workspace,
                ,
                Category(org.eclipse.lsp4e.category,Language Servers,null,true),
                org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@1028a747,
                ,,true),null),
        org.eclipse.ui.defaultAcceleratorConfiguration,
        org.eclipse.ui.contexts.window,,,system)

!ENTRY org.eclipse.jface.text 2 0 2019-04-01 10:29:26.275
!MESSAGE Duplicate template id: 'org.eclipse.wst.xslt.templates.xpath.boolean'


It seems that since starting a new workspace too that the guice and asm stuff has stopped becoming an issue. I am at a loss for how to proceed.
In fact, since the last crash, I haven't been able to open the same workspace again at all.

 $ eclipse/jee-2019-03/Eclipse.app/Contents/MacOS/eclipse
org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized.  Will retry after the state location is initialized.
org.eclipse.m2e.logback.configuration: Logback config file: /Users/alex.aiezza/workspace/.metadata/.plugins/org.eclipse.m2e.logback.configuration/logback.1.11.0.20190220-2119.xml
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://940.fwk626889335:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://940.fwk626889335:2/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
org.eclipse.m2e.logback.configuration: Initializing logback
Killed: 9


I don't know how silly this is to ask, but should I attach my workspace here so it can be used for debugging?
It feels like to much to ask from a non-paid support team/community. I guess this could be happening to someone else so it [b]may[\b] be worth it. But I also don't know how much PII will be persisted in a typical eclipse workspace metadata directory.
Thoughts?

[Updated on: Mon, 01 April 2019 15:38]

Report message to a moderator

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804811 is a reply to message #1804810] Mon, 01 April 2019 15:25 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Could there be issues related to lombok?
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804819 is a reply to message #1804811] Mon, 01 April 2019 18:29 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
Registered: July 2009
Senior Member
You seem to be using a great many technologies any of which might be buggy, and none of this relates at all to JDT so it's unlikely someone will be able to help you with such problems on this forum.

And what exactly do you mean by a "crash"? The JVM just up and died and did a JVM core dump? That's very rare... Or Eclipse just stopped working without logging anything?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804821 is a reply to message #1804819] Mon, 01 April 2019 18:43 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Ed Merks wrote on Mon, 01 April 2019 13:29
You seem to be using a great many technologies any of which might be buggy, and none of this relates at all to JDT so it's unlikely someone will be able to help you with such problems on this forum.

And what exactly do you mean by a "crash"? The JVM just up and died and did a JVM core dump? That's very rare... Or Eclipse just stopped working without logging anything?


Eclipse starts, I choose a workspace, I watch the splash screen claiming to be loading my workspace, and then the app is killed with 9 code.
It appears that java continues to hang in the background actually after this happens. But I get no logging anywhere that I know of. Particularly in the workspace/.metadata/.log file.

[Updated on: Tue, 02 April 2019 21:03]

Report message to a moderator

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804826 is a reply to message #1804821] Tue, 02 April 2019 05:07 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33218
Registered: July 2009
Senior Member
You could try running it from a console/terminal and use -consolelog -debug to see log messages in the logged messages in the console and to see information about bundle startup behavior which will help you figure out if something (and what) is failing during the startup phase:

https://help.eclipse.org/2019-03/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html

Also, if Eclipse fails to start on a specific workspace, try starting it on a clean empty new workspace; you can always import projects into a new workspace from another one (or other disk location).


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804836 is a reply to message #1804826] Tue, 02 April 2019 07:03 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7670
Registered: July 2009
Senior Member
Hi

If the splash screen is displayed for long enough to connect a debugger ...

Add -Xrunjdwp:server=y,transport=dt_socket,address=14143,suspend=n to your problematic Eclipse startup shortcut / eclipse.ini and from another ok Eclipse version use Debug->Debug Configurations->Remote Java Application to port 14143. Be ready to connect the debug Eclipse as soon as the splash shows. This may well enable you to break at the NPE or whatever that causes the problem and get some insight in to the cause. On one occasion this enabled me to identify and workaround a bad workbench.xmi. Many years ago. It is four years now since I needed a new Workspace.

Regards

Ed Willink
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804894 is a reply to message #1804836] Tue, 02 April 2019 20:32 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
i wonder if you have some hs_err_pid<pid>.log files floating around

and if there is a sigkill i wonder who sends it.
maybe you can try some of the things described here:
https://superuser.com/questions/480259/what-signals-does-os-x-send-for-the-quit-and-force-quit-commands


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1804895 is a reply to message #1804894] Tue, 02 April 2019 20:37 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
i also wonder if you should use java 8 or 11 instead of the EOL java 9

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1805000 is a reply to message #1804895] Thu, 04 April 2019 12:45 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Christian Dietrich wrote on Tue, 02 April 2019 15:37
i also wonder if you should use java 8 or 11 instead of the EOL java 9

I don't recall ever saying I was using java 9. This is all with Java 8.


For anyone that happens upon this post: The result for me was to just reinstall version 2018-12 and use a workspace that I (thankfully) had backed up a few months ago. It was lacking some of my settings, but it's the price I paid for blindly updating things in Eclipse and not backing up my workspace in the first place.

I won't be updating again any time soon. And if/when I do, I will backup everything very carefully and probably just try to create a new workspace for that version and then gradually move things over.

The fact that I can "favorite" plugins will hopefully help this process a bit.

[Updated on: Thu, 04 April 2019 12:48]

Report message to a moderator

Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1805057 is a reply to message #1804612] Fri, 05 April 2019 05:28 Go to previous messageGo to next message
Sebastian Thomas is currently offline Sebastian ThomasFriend
Messages: 2
Registered: April 2019
Junior Member
Hi, I upgraded to 2019-03 mostly without issues but I cannot run JUnit tests anymore after the upgrade. I always get the following error. Any ideas?

java.lang.NoSuchMethodError: org.junit.platform.launcher.Launcher.execute(Lorg/junit/platform/launcher/TestPlan;[Lorg/junit/platform/launcher/TestExecutionListener;)V
	at org.eclipse.jdt.internal.junit5.runner.JUnit5TestReference.run(JUnit5TestReference.java:89)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:541)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:763)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:463)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:209)
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1805508 is a reply to message #1805057] Tue, 16 April 2019 13:24 Go to previous messageGo to next message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Sebastian Thomas wrote on Fri, 05 April 2019 00:28
Hi, I upgraded to 2019-03 mostly without issues but I cannot run JUnit tests anymore after the upgrade. I always get the following error. Any ideas?

java.lang.NoSuchMethodError: org.junit.platform.launcher.Launcher.execute(Lorg/junit/platform/launcher/TestPlan;[Lorg/junit/platform/launcher/TestExecutionListener;)V
	at org.eclipse.jdt.internal.junit5.runner.JUnit5TestReference.run(JUnit5TestReference.java:89)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:541)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:763)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:463)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:209)


My advice would be to just go back. It's not worth it.
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1805872 is a reply to message #1805508] Fri, 26 April 2019 08:03 Go to previous messageGo to next message
Sebastian Thomas is currently offline Sebastian ThomasFriend
Messages: 2
Registered: April 2019
Junior Member
It's actually what I did three weeks ago, and I didn't have any issues downgrading my profile again fortunately. I tried the update to 2019-03 again today and now it works.

I think it's probably related to the JUnit 5 version, which was upgraded to the latest release for our project in the meantime.
Re: Issues updating Eclipse | 2018-12 → 2019-03 [message #1806057 is a reply to message #1805872] Wed, 01 May 2019 21:05 Go to previous message
Alessandro Aiezza is currently offline Alessandro AiezzaFriend
Messages: 38
Registered: February 2017
Location: Nashville, TN
Member
Sebastian Thomas wrote on Fri, 26 April 2019 03:03
It's actually what I did three weeks ago, and I didn't have any issues downgrading my profile again fortunately. I tried the update to 2019-03 again today and now it works.

I think it's probably related to the JUnit 5 version, which was upgraded to the latest release for our project in the meantime.



I'll have to give it another shot then.
Previous Topic:Problem of display Nebula Gantt -> Easy
Next Topic:IOException
Goto Forum:
  


Current Time: Tue Sep 24 16:30:39 GMT 2024

Powered by FUDForum. Page generated in 0.09882 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top