[
https://issues.jboss.org/browse/JBIDE-17496?page=com.atlassian.jira.plugi...
]
Martin Malina commented on JBIDE-17496:
---------------------------------------
I tried this in master.
Before applying the PR, I couldn't really get the NPEs, but I got all the other
errors.
After applying the PR (using p2 director, on an archived fresh install of JBT), when I
tried to reproduce the issue, I was shown a progress bar and the install dialog only
showed up once it was ready. The delay was quite long, but it might be because of my poor
internet connection. The install then worked fine. On Eclipse restart, this went much
faster.
On another attempt (again, extracted from an archive), I tried waiting for a bit before
installing anything - the status bar didn't show any action anymore. And when I tried
to install FindBugs, it still took perhaps 5 sec waiting, even though I thought it was
already done. I wish it was faster. But anyway, it worked.
So +1 for the PR.
Central installation fails if done right after Eclipse start
------------------------------------------------------------
Key: JBIDE-17496
URL:
https://issues.jboss.org/browse/JBIDE-17496
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: central
Affects Versions: 4.2.0.Beta2
Environment: JBDS 8.0.0.Beta2a B106
Reporter: Martin Malina
Assignee: Mickael Istria
Priority: Critical
Labels: respin-b
Fix For: 4.2.0.Beta2
Attachments: connector-error.png, problems-occurred.png
When you try to install something from Central as soon as JBDS starts for the first time,
you can get errors.
I can reproduce some sort of errors every time (I tried 4 or 5 times), but only on a
completely fresh install of JBDS/JBT (no central repo data cached).
It looks like there is a race condition.
Several times when I tried to install Findbugs, I got:
{quote}
The following connectors are not available: FindBugs
Proceed with the installation anyways?
{quote}
Followed by the Computing connector errors with NPEs familiar from JBIDE-17471
!connector-error.png!
If I proceed anyway, the install dialog is empty.
If I click that I don't want to install, I get this:
{code}
Problems occurred while performing installation: The following connectors are not
available: FindBugs (id=edu.umd.cs.findbugs.plugin.eclipse.feature.group,
site=https://devstudio.jboss.com/updates/8.0-staging/central/core/)
The following connectors are not available: FindBugs
(id=edu.umd.cs.findbugs.plugin.eclipse.feature.group,
site=https://devstudio.jboss.com/updates/8.0-staging/central/core/)
{code}
!problems-occurred.png!
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)