| Summary: | Can't install any software--Available Software list is empty; header isn't rendered either | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Scott Van Wart <silvaran> | ||||
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | adietish, arunkumar.thondapu, blake.bond, Brodsky_Boris, chris.feuz, dnadoublehelix-eclipse, dtweed, eclipse.felipe, eclipse.org, eclipse, fippiko, freek_vandeursen, geom2, jamespakele, justflick, kbrowder, kfirufk, lufimtse, mgreer, mira, pascal, rafael, ranixlb, remy.suen, rknall, smathys, spamdaemon, thibault.castel, wadenwickel | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Scott Van Wart
Do any update sites work? Did you try resizing the window? No, none of the update sites work. Resizing the window didn't change anything. I tried switching to a non-compositing window manager and it made no difference. Created attachment 202417 [details]
Screenshot
Arun, please investigate. I have the same problem Scott described back in August. Is there any progress on this bug? Is there a release scheduled that fixes this bug? Thanks! (In reply to comment #4) > Arun, please investigate. I couldn't reproduce this on Ubuntu 11.04 32-bit as well as 64-bit. I tried with Eclipse 3.7.0 Build id: I20110613-1736. Mira, which OS and eclipse versions were you using? Can you please check with the above Eclipse version? I am also having this problem. I am running Eclipse Indigo: Version: Indigo Release Build id: 20110615-0604 I have Ubuntu 10.04 32 bit and 32 bit Eclipse. In addition to not having anything displayed, I try to highlight and copy to a document and nothing displays there either, but if I select all, it will select these non-displayed items and then can proceed with an install. Same issue here! This is really annoying. Version: Indigo Service Release 1 Build id: 20110916-0149 Running on Ubuntu 11.10 32 Bit I'm probably seeing the same issue. But: if I hit Select All, it actually selects the items (the dialogs show how many are selected) and I can install them. Ubuntu 11.10 64-bit fully updated. Eclipse IDE for Java Developers Version: Indigo Service Release 1 Build id: 20110916-0149 *** Bug 362604 has been marked as a duplicate of this bug. *** I had the same problem here with no solution. The treelist in the "Install New Software..." dialog window is hidden but items are selectable. When I select one I can't see anything except description in the "Details" section. I'm on Debian 6.0.1 with kernel 3.1.0-1-686-pae #1 Version : Indigo 3.7.1 Build Identifier : 20110909-1335 Same here, running Build id 20110916-0149 I noticed that it affects some workspaces specifically, and not others. If I'm using workspace A, I can't see the software list. Switching to workspace B, the Install software works as expected. If I switch back to A, the problem is back. Let me know if I can help with any further information. Same issue here, tried the export trick but it made no difference. The software tree remains invisible, but can be selected using the "select all" button and installed successfully. Gentoo Linux Eclipse SDK Version: 3.7.2 eclipse.application=org.eclipse.ui.ide.workbench eclipse.buildId=M20120208-0800 eclipse.commands=-os linux -ws gtk -arch x86_64 -showsplash -launcher /opt/eclipse/eclipse -name Eclipse --launcher.library /opt/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata e8006 -vm /usr/bin/java eclipse.home.location=file:/opt/eclipse/ eclipse.launcher=/opt/eclipse/eclipse eclipse.launcher.name=Eclipse eclipse.p2.data.area=@config.dir/../p2/ eclipse.p2.profile=SDKProfile eclipse.product=org.eclipse.sdk.ide eclipse.startTime=1334621577641 eclipse.vm=/usr/bin/java eclipse.vmargs=-Xms40m -Xmx384m -XX:MaxPermSize=256m -jar /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar equinox.use.ds=true file.encoding=UTF-8 file.encoding.pkg=sun.io file.separator=/ java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment java.awt.printerjob=sun.print.PSPrinterJob java.class.path=/opt/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar java.class.version=50.0 java.endorsed.dirs=/opt/sun-jdk-1.6.0.31/jre/lib/endorsed java.ext.dirs=/opt/sun-jdk-1.6.0.31/jre/lib/ext:/usr/java/packages/lib/ext java.home=/opt/sun-jdk-1.6.0.31/jre java.io.tmpdir=/tmp java.library.path=/opt/sun-jdk-1.6.0.31/jre/lib/amd64/server:/opt/sun-jdk-1.6.0.31/jre/lib/amd64:/opt/sun-jdk-1.6.0.31/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib java.runtime.name=Java(TM) SE Runtime Environment java.runtime.version=1.6.0_31-b04 java.specification.name=Java Platform API Specification java.specification.vendor=Sun Microsystems Inc. java.specification.version=1.6 java.vendor=Sun Microsystems Inc. java.vendor.url=http://java.sun.com/ java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi java.version=1.6.0_31 java.vm.info=mixed mode java.vm.name=Java HotSpot(TM) 64-Bit Server VM java.vm.specification.name=Java Virtual Machine Specification java.vm.specification.vendor=Sun Microsystems Inc. java.vm.specification.version=1.0 java.vm.vendor=Sun Microsystems Inc. java.vm.version=20.6-b01 line.separator= Hi all, This problem looks like an issue with the configuration files because I did a fresh install, wiped the .eclipse dir and the software tree became visible again. Cheers I got around this by deleting the .metadata folder in the workspace... Deleting .metadata or .eclipse folders is unacceptable of course, since it removes all workspace customizations. Removing only the following two invalid settings solved the problem for me. 1.Close Eclipse. 2.Find a file named .metadata/.plugins/org.eclipse.equinox.p2.ui/dialog_settings.xml in your workspace. 3.Open the file with a text editor and find a section named AvailableIUsPage. 4.Remove the following strings: <item value="0" key="AvailableVersionColumnWidth"/> <item value="0" key="AvailableNameColumnWidth"/> 5.Save the file and launch Eclipse. This is what triggers the bug in my case. 1.Help > Install New Software 2.Work with: Indigo 3.Entering any letter in the filter bar makes Eclipse hang with 100% CPU use for a minute or so. 4.If interrupted with ESC, the window simply disappears and there are no columns in available updates view after this anymore. 5.This dialog change is saved upon exit making the problem permanent. *** Bug 385684 has been marked as a duplicate of this bug. *** I started with a fresh install in Juno, the problem started to appear, after a package install went wrong (In reply to comment #16) > Deleting .metadata or .eclipse folders is unacceptable of course, since it > removes all workspace customizations. Removing only the following two > invalid settings solved the problem for me. > > 1.Close Eclipse. > 2.Find a file named > .metadata/.plugins/org.eclipse.equinox.p2.ui/dialog_settings.xml in your > workspace. > 3.Open the file with a text editor and find a section named AvailableIUsPage. > 4.Remove the following strings: > <item value="0" key="AvailableVersionColumnWidth"/> > <item value="0" key="AvailableNameColumnWidth"/> > 5.Save the file and launch Eclipse. This workaround did it for me, it works for Juno. But I cannot reproduce the issue, with the trigger described in above post. System is Ubuntu 12.04 64 bit, running Oracle's java v. 1.7.0_07 I just got a new Mac Pro (OS 10.7.5) and installed Eclipse Juno on it (Build id: 20120614-1722). Again I have the same problem that I cannot use the "Install New Software" feature. I add a URL and specifically "enable" it. When I try and use it I get the error message that the URL cannot be found. I get the URL (cut-and-paste) from the Eclipse Market place. I tried two different URLs. I also tried the solution that Blake Bond described (comment 16). No success. In my case, the two lines looked like this: <item value="240" key="AvailableVersionColumnWidth"/> <item value="450" key="AvailableNameColumnWidth"/> When I open Help->Eclipse Marketplace I get this exception: Unexpected exception java.lang.reflect.InvocationTargetException Is there any way I can get to the plugins I need and simply drop them into the "plugins" and "features" folders in the application? Pleeeeeez! If I can't resolve this problem I need to switch to another IDE :( Thanks! Same here for one of my workspaces. When I create a new workspace I can install plugins to my eclipse without any problems. For the corrupt workspace I started to work with eclipse 3.8.1 and switched the ide for a couple of times (eclipse 3.7.2). +1 for Blake Bond's solution Eclipse Juno build 20120920-0800 Thank you very much for the work-around Blake's solution worked for me too. The bug appeared for me in Kepler, build I20130605-2000 (In reply to Freek Vandeursen from comment #22) > Blake's solution worked for me too. The bug appeared for me in Kepler, build > I20130605-2000 The same here (same Eclipse build on Linux Mint 13 Maya 64-bit). having the same problem on eclipse 4.3.2 64 bit on linux gentoo, could not see anything in the available packages to install. i was able to click 'select all' and to see how many packages are selected. once i created a new workspace i could install packages properly. Blake's workaround also works for me on Kepler SR2 / Linux 64bit. I really think he nailed it because before this bug happened I did interrupt some search. Since this bug is reproducible it should be easy to fix now... (In reply to Blake Bond from comment #16) Same here, in addition to Blake's workaround I did a chattr +i on that file since it seemed to get rewritten on Eclipse restart. I'm using Kepler Service Release 2, Build ID: 20140224-0627 on CentOS 5 (ancient I know). Confirm on Version: Luna Service Release 1 (4.4.1) Build id: 20140925-1800 Workaround works I also have this issue (Indigo, ver: 3.7.2, build: M20120208-0800, Ubuntu 32-bit) Blake Bond's method helped me, but I didn't delete these 2 lines. I only changed values from 0 to 20 for both. Then it became able to see these 2 columns in the form and change theirs width by mouse. Zero-width columns are invisible - that is a problem. To reproduce issue, try to cancel pending state in "Install new software" window when it is looking for software listing (using ESC, Alt+F4, Click-a-Cross, etc.). I guess, mostly old/slow computers are affected with this issue. Software listing update may hang active window for a minute or more with 100% CPU utilization. I have Eclipse Luna ( Version: Luna Service Release 1a (4.4.1) Build id: 20150109-0600 ) and this same problem still exists. Solution of Blake Bond from comment #16 works, but REMEMBER FIRST to CLOSE Eclipse to get Blake's solution working and do the rest of the steps. I commented the two XML lines he talks about. and it works. Same issue here: Eclipse IDE for C/C++ Developers Version: Luna Service Release 2 (4.4.2) Build id: 20150219-0600 java version "1.8.0_40" Java(TM) SE Runtime Environment (build 1.8.0_40-b25) Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode) Kubuntu 14.10 fully updated Blake Bond's workaround worke for me Thank you very much Blake! I'm not sure if this is SWT specific? Looks like an issue with the workspace configuration. If anyone has a snippet to reproduce this, it'd be great. Moving to p2 for investigating why the columns mentioned in comment 16 are getting a zero width in the first place. Can't reproduce. See also bug 475700. |