[jbosstools-issues] [JBoss JIRA] (JBIDE-17412) An internal error occurred during: "Refreshing JBoss Tutorials...".

Alexey Kazakov (JIRA) issues at jboss.org
Fri May 23 20:01:57 EDT 2014


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

Alexey Kazakov edited comment on JBIDE-17412 at 5/23/14 7:59 PM:
-----------------------------------------------------------------

Yes, I have updated the examples plugin.
I get the following url in the line #141: http://download.jboss.org/jbosstools/examples/project-examples-jbds71.xml
Looking at https://github.com/jbosstools/jbosstools-central/blob/master/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/model/ProjectExampleUtil.java#L141
I see that urlKey is always null for that configurationElements (I have two elements there: "url" and "experimental"). So it fails with NPE in VersionPropertiesProvider.


was (Author: akazakov):
Yes, I have updated the examples plugin.
I get the following url in the line #147: http://download.jboss.org/jbosstools/examples/project-examples-jbds71.xml
Looking at https://github.com/jbosstools/jbosstools-central/blob/master/examples/plugins/org.jboss.tools.project.examples/src/org/jboss/tools/project/examples/model/ProjectExampleUtil.java#L141
I see that urlKey is always null for that configurationElements (I have two elements there: "url" and "experimental"). So it fails with NPE in VersionPropertiesProvider.

> An internal error occurred during: "Refreshing JBoss Tutorials...".
> -------------------------------------------------------------------
>
>                 Key: JBIDE-17412
>                 URL: https://issues.jboss.org/browse/JBIDE-17412
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central
>    Affects Versions: 4.2.0.Beta3
>            Reporter: Alexey Kazakov
>
> I get the following error when opening JBT with Central enabled:
> {code}
> java.lang.NullPointerException
> 	at java.lang.StringBuilder.<init>(StringBuilder.java:109)
> 	at org.jboss.tools.foundation.core.properties.internal.VersionPropertiesProvider.getFullKey(VersionPropertiesProvider.java:232)
> 	at org.jboss.tools.foundation.core.properties.internal.VersionPropertiesProvider.lookupValue(VersionPropertiesProvider.java:202)
> 	at org.jboss.tools.foundation.core.properties.internal.VersionPropertiesProvider.getValue(VersionPropertiesProvider.java:154)
> 	at org.jboss.tools.project.examples.model.ProjectExampleUtil.getPluginSites(ProjectExampleUtil.java:147)
> 	at org.jboss.tools.project.examples.model.ProjectExampleUtil.getSites(ProjectExampleUtil.java:282)
> 	at org.jboss.tools.project.examples.model.ProjectExampleUtil.getProjects(ProjectExampleUtil.java:319)
> 	at org.jboss.tools.central.jobs.RefreshTutorialsJob.run(RefreshTutorialsJob.java:53)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbosstools-issues mailing list