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

Radim Hopp (JIRA) issues at jboss.org
Wed Dec 10 03:17:39 EST 2014


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

Radim Hopp commented on JBIDE-18819:
------------------------------------

I'm ok with this solution for 8.0.1, but for other versions (8.1, 9.0) wouldn't be better to leave the null check in place and when getJBossDiscoveryDirectory() returns null prompt some other error message?
Now, the error message suggests user to check internet connection, but as I understand this, getJBossDiscoveryDirectory() could only return null when jboss.discovery.directory.url property is not set (meaning ide-config.properties was loaded, but does not contain jboss.discovery.directory.url for given version of JBT/JBDS). Thus internet is working but something wrong happened on ide-config.propertis side (our side).
[~mickael_istria] wdyt?

> 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
>              Labels: respin-a
>             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.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