[
https://issues.jboss.org/browse/JBIDE-18262?page=com.atlassian.jira.plugi...
]
Fred Bricon commented on JBIDE-18262:
-------------------------------------
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-a
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)