[jbosstools-issues] [JBoss JIRA] (JBIDE-18806) When discovery URL is not set, "Software/Updates" page is silently hidden

Max Rydahl Andersen (JIRA) issues at jboss.org
Fri Nov 21 11:39:39 EST 2014


    [ https://issues.jboss.org/browse/JBIDE-18806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022013#comment-13022013 ] 

Max Rydahl Andersen commented on JBIDE-18806:
---------------------------------------------

https://github.com/jbosstools/jbosstools-download.jboss.org/pull/461/files mentions that there seem to be an assumption that 8.0.1.CR1 would fall back on 8.0.0 it won't. The lookup sequence is as follows:

8.0.1.CR1
8.0.1
8.0
8

So two things are discovered in this:

1) that central is not failing gracefully when can't find a match - that should be fixed.
2) that it might make sense to have 8.0 (and 4.2) defined in the properties for development settings instead of 8.0.0 (and 4.2.0) then only for actual releases you go and set the values.

But #2 does really seem tedious. [~fbricon] is there a way to avoid these constant updates to ide.properties, it kinda defeats the purpose if we keep having to do this at *every* milestone.

> When discovery URL is not set, "Software/Updates" page is silently hidden
> -------------------------------------------------------------------------
>
>                 Key: JBIDE-18806
>                 URL: https://issues.jboss.org/browse/JBIDE-18806
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: central
>    Affects Versions: 4.2.0.Final
>            Reporter: Mickael Istria
>
> With latest CI build (in http://www.qa.jboss.com/binaries/RHDS/builds/staging/devstudio.product_8.0.luna/installer/ ), 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}



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jbosstools-issues mailing list