]
Fred Bricon commented on JBIDE-18819:
-------------------------------------
The stacktrace shows an error loading the proxywizards in a background job.
The software/update page is loaded in a different job, elsewhere, but the failure
doesn't show up anywhere. So yeah swallowed exception is bad. should at least be
logged.
The page should show up, with an error message if no connectors are found (which is a
different state than all connectors hidden cause installed)
When discovery URL is not set, "Software/Updates" page is
silently hidden
-------------------------------------------------------------------------
Key: JBIDE-18819
URL:
https://issues.jboss.org/browse/JBIDE-18819
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: central
Affects Versions: 4.2.0.Final
Reporter: Mickael Istria
Assignee: Mickael Istria
Fix For: 4.2.1.CR1, 4.3.0.Alpha1
With latest CI build (in
http://www.qa.jboss.com/binaries/RHDS/builds/staging/devstudio.product_8....
), Central editor seems to miss the "Software/Updates" tab.
Log mentions an error, which doesn't seem related at first sight:
{code:none}
!SESSION 2014-11-21 15:51:47.555 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_11
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product com.jboss.devstudio.core.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product
com.jboss.devstudio.core.product
!ENTRY org.jboss.tools.project.examples 4 0 2014-11-21 15:53:24.762
!MESSAGE All attempts to discover connectors have failed
!SUBENTRY 1 org.eclipse.mylyn.discovery.core 4 0 2014-11-21 15:53:24.762
!MESSAGE Failed to get connectors from RemoteProxyWizardDiscoveryStrategy
!STACK 0
java.lang.NullPointerException
at java.net.URI$Parser.parse(URI.java:3042)
at java.net.URI.<init>(URI.java:588)
at
org.jboss.tools.project.examples.internal.discovery.xpl.RemoteExternalBundleDiscoveryStrategy.loadRegistry(RemoteExternalBundleDiscoveryStrategy.java:90)
at
org.jboss.tools.project.examples.internal.discovery.xpl.ExternalBundleDiscoveryStrategy.performDiscovery(ExternalBundleDiscoveryStrategy.java:117)
at
org.jboss.tools.project.examples.internal.discovery.ChainedDiscoveryStrategy.performDiscovery(ChainedDiscoveryStrategy.java:62)
at
org.eclipse.mylyn.internal.discovery.core.model.ConnectorDiscovery.performDiscovery(ConnectorDiscovery.java:114)
at
org.jboss.tools.central.internal.discovery.wizards.ProxyWizardManager.loadWizards(ProxyWizardManager.java:107)
at
org.jboss.tools.central.internal.discovery.wizards.ProxyWizardUpdateJob.run(ProxyWizardUpdateJob.java:45)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
{code}