[jbosstools-issues] [JBoss JIRA] (JBIDE-18262) exception on startup

Fred Bricon (JIRA) issues at jboss.org
Wed Sep 10 12:30:19 EDT 2014


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

Fred Bricon edited comment on JBIDE-18262 at 9/10/14 12:29 PM:
---------------------------------------------------------------

When opening central, the examples are loaded by that background job. This loading is probably too eager, we actually don't need to know if all the fixes are available at that time.

Looks like the 4th segment of the version crashes everything if it contains a dot. Maybe, for version comparison sakes, we could just replace this 4th segment dots with underscores


was (Author: fbricon):
When opening central, the examples are loaded it that background job. This loading is probably too much eager, we actually don't need to know if all the fixes are available at that time.

Looks like the 4th segment of the version crashes everything if it contains a dot. Maybe, for version comparison sakes, we could just replace this 4th segment dots with underscores

> exception on startup
> --------------------
>
>                 Key: JBIDE-18262
>                 URL: https://issues.jboss.org/browse/JBIDE-18262
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central, runtime-detection
>            Reporter: Max Rydahl Andersen
>            Assignee: Rob Stryker
>            Priority: Critical
>              Labels: respin-b
>             Fix For: 4.2.0.CR1
>
>
> not sure what causes it but I'm getting this:
> java.lang.IllegalArgumentException: invalid version "6.0.0.CR01.1": invalid qualifier "CR01.1"
> 	at org.osgi.framework.Version.validate(Version.java:205)
> 	at org.osgi.framework.Version.<init>(Version.java:156)
> 	at org.jboss.tools.as.runtimes.integration.util.RuntimeMatcher$RuntimeRangeRepresentation.matchesVersion(RuntimeMatcher.java:83)
> 	at org.jboss.tools.as.runtimes.integration.util.RuntimeMatcher.findExistingRuntimes(RuntimeMatcher.java:171)
> 	at org.jboss.tools.as.runtimes.integration.util.RuntimeMatcher.findExistingRuntimes(RuntimeMatcher.java:151)
> 	at org.jboss.tools.project.examples.fixes.WTPRuntimeFix.getRuntimesFromPattern(WTPRuntimeFix.java:102)
> 	at org.jboss.tools.project.examples.fixes.WTPRuntimeFix.getBestRuntime(WTPRuntimeFix.java:249)
> 	at org.jboss.tools.project.examples.fixes.WTPRuntimeFix.canFix(WTPRuntimeFix.java:130)
> 	at org.jboss.tools.project.examples.ProjectExamplesActivator.canFix(ProjectExamplesActivator.java:818)
> 	at org.jboss.tools.central.jobs.RefreshTutorialsJob.run(RefreshTutorialsJob.java:68)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list