Eclipse 2020-12 hangs forever [message #1837008] |
Wed, 20 January 2021 17:48  |
Eclipse User |
|
|
|
I am a long time Eclipse and Java user, but today is my first attempt to
install and use Eclipse 2020-12 for Java.
The OS is Ubuntu 18.04.4 x64
Step 1: eradicate all previous versions
Step 2: create a new empty workspace directory
Step 3: download the installer and run it
This appears to work. After following the indicated steps the splash screen
appears, followed by the welcome screen. I click the gadget in the upper
right corner, and the workspace view appears. In the left pane I click on
New java project. I give the project the name blah and then click Next>.
Eclipse hangs forever.
After exiting with ^C I tried other actions such as Help. Nothing works.
Until yesterday I was happily using version 2019-06 with no issues
on the same machine.
In the Configure JREs selection I have made sure that eclipse is using
its own JRE.
I depend on eclipse daily, so any help would be most appreciated.
Thank you.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Eclipse 2020-12 hangs forever; 2019-6 works perfectly [message #1837199 is a reply to message #1837193] |
Sun, 24 January 2021 13:47  |
Eclipse User |
|
|
|
I'm sorry that your IDE hangs. If you it would be good to try to provide the information we asked to information about what all the threads are doing...
> I will collect and report this information but frankly I am not hopeful
I would do the following in any case. Look in the eclipse.ini for a line "-vm" followed by a line which specify which JVM is being used. Is this the one you expect? Is this the correct one?
> Yes
Try running 'eclipse -clean -debug consoleLog ' from the command line. That's using these options:
https://help.eclipse.org/2020-12/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html
This should show more information about what's happening in the IDE and if things are logged you should see it right away on the command line.
> This produces the following: " BUG; pixman_region32_init_rect: invalid rectangle passed" This appears 3 times
I would also try a brand new empty workspace , e.g., -data <new-folder>, on the command line.
> No change
Are the problems reproducible in such a clean IDE with a clean workspace?
> Yes
Check the Window -> Preferences -> Java -> Installed JREs (if you're not hung right away). Are the JREs you expect here? Is there at least one good one here?
>Yes
If all that is good, the problem starts when you first create a Java project? I assume so because that's what you said before. At this point it would really be good to be able to use visualvm to get information about what the threads are doing:
> Essentially nothing works. Create java project; IDE hangs; ^C;
> relaunch eclipse - project is present; create new class; IDE hangs; ^C;
> relaunch eclipse - type in HelloWord.java - save file (this works!);
> select Run Configuration or Run; IDE hangs; ^C; relaunch eclipse;
> select Help - IDE hangs
> The ide is so unresponsive that even the Cancel Task button rarely works.
https://docs.oracle.com/javase/8/docs/technotes/guides/visualvm/index.html
A dead lock should be evident from this information, and that will likely be more helpful for finding out how to avoid it...
> I will collect this information.
> Notes: a. completely uninstalling java-11 and then reinstalling it changes
> nothing. Uninstalling 2020-12 and installing 2019-06 works perfectly.
> Also IntelliJ Community Edition works perfectly.
>Perhaps 2021-06 will be less broken. In 5+ years of using eclipse this
>is the first blocker. FWIW this seems more like a display/windowing
> problem than a java config problem.
|
|
|
Powered by
FUDForum. Page generated in 0.14923 seconds