Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2658

Could not parse "2.18.1.redhat-000012" with org.eclipse.wst.common.project.facet.core.DefaultVersionComparator.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.2.0
    • 10.1.0
    • Fuse Projects
    • None

      Installed 4.5.1 on latest Eclipse editor.

      When I import existing maven project from CiA2 source code
      https://github.com/camelinaction/camelinaction2/tree/master/chapter19/eclipse-camel-editor

      I get this error in the error log

      org.eclipse.wst.common.project.facet.core.VersionFormatException: Could not parse "2.18.1.redhat-000012" with org.eclipse.wst.common.project.facet.core.DefaultVersionComparator.
      	at org.eclipse.wst.common.project.facet.core.DefaultVersionComparator.parse(DefaultVersionComparator.java:110)
      	at org.eclipse.wst.common.project.facet.core.DefaultVersionComparator.parse(DefaultVersionComparator.java:136)
      	at org.eclipse.wst.common.project.facet.core.DefaultVersionComparator.compare(DefaultVersionComparator.java:40)
      	at org.eclipse.wst.common.project.facet.core.DefaultVersionComparator.compare(DefaultVersionComparator.java:1)
      	at org.eclipse.wst.common.project.facet.core.internal.ProjectFacetVersion.compareTo(ProjectFacetVersion.java:520)
      	at java.util.TreeMap.put(TreeMap.java:568)
      	at java.util.TreeSet.add(TreeSet.java:255)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.refreshAvailableFacets(FacetedProjectWorkingCopy.java:658)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProjectWorkingCopy.<init>(FacetedProjectWorkingCopy.java:177)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.createWorkingCopy(FacetedProject.java:1076)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject$1.run(FacetedProject.java:290)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2240)
      	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2267)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.modify(FacetedProject.java:339)
      	at org.eclipse.wst.common.project.facet.core.internal.FacetedProject.uninstallProjectFacet(FacetedProject.java:268)
      	at org.fusesource.ide.projecttemplates.maven.CamelProjectConfigurator.repairCamelFacet(CamelProjectConfigurator.java:192)
      	at org.fusesource.ide.projecttemplates.maven.CamelProjectConfigurator.configure(CamelProjectConfigurator.java:102)
      	at org.eclipse.m2e.core.project.configurator.AbstractLifecycleMapping.configure(AbstractLifecycleMapping.java:120)
      	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:508)
      	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$3.call(ProjectConfigurationManager.java:1)
      	at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)
      	at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)
      	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:501)
      	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.configureNewMavenProjects(ProjectConfigurationManager.java:288)
      	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$1.call(ProjectConfigurationManager.java:175)
      	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$1.call(ProjectConfigurationManager.java:1)
      	at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)
      	at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)
      	at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)
      	at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1355)
      	at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.importProjects(ProjectConfigurationManager.java:143)
      	at org.eclipse.m2e.core.ui.internal.wizards.ImportMavenProjectsJob$1.doCreateMavenProjects(ImportMavenProjectsJob.java:68)
      	at org.eclipse.m2e.core.ui.internal.wizards.AbstractCreateMavenProjectsOperation.run(AbstractCreateMavenProjectsOperation.java:73)
      	at org.eclipse.m2e.core.ui.internal.wizards.ImportMavenProjectsJob.runInWorkspace(ImportMavenProjectsJob.java:77)
      	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
      

              apupier@redhat.com Aurélien Pupier
              cibsen@redhat.com Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: