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

Max Rydahl Andersen (JIRA) issues at jboss.org
Fri Sep 5 07:36:00 EDT 2014


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

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

i think that is about as much as you can do. The other part would be to have a method that check if more than 3 dots and if more than tree cut everything from 4th dot to the end (i.e. 60.0.CR01.1 would become 60.0.0.CR01 when testing instead)

I don't know enough about the code using this to say for sure.[~fbricon] can you take a look ?

What I do wonder though is why does all the examples have to know if they can be fixed at startup ? 



> 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)


More information about the jbosstools-issues mailing list