Uploaded image for project: 'Spring IDE'
  1. Spring IDE
  2. IDE-80

IllegalArgumentException during validation

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2.1
    • Component/s: beans.core
    • Labels:
      None

      Description

      I get a popup containing:

      Errors during build. 
      Errors running builder "Spring Project Builder" on project bbt.liquidityarbitrage. 
      An error occurred while traversing resources. 
      

      The entry in the log contains:

      java.lang.IllegalArgumentException: Path for project must have only one segment. 
         at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:60) 
         at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:134) 
         at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getProject(BeansModel.java:125) 
         at org.springframework.ide.eclipse.beans.core.internal.model.BeansModelUtils.getConfig(BeansModelUtils.java:55) 
         at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validate(BeansConfigValidator.java:96) 
         at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectValidator.build(BeansProjectValidator.java:69)
         at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.build(SpringProjectBuilder.java:154) 
         at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.access####0(SpringProjectBuilder.java:150) 
         at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder####Visitor.visit(SpringProjectBuilder.java:109) 
         at org.eclipse.core.internal.resources.Resource####2.visit(Resource.java:103) 
         at org.eclipse.core.internal.resources.Resource####1.visitElement(Resource.java:50) 
         at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81) 
         at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) 
         at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) 
         at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126) 
         at org.eclipse.core.internal.resources.Resource.accept(Resource.java:60) 
         at org.eclipse.core.internal.resources.Resource.accept(Resource.java:101) 
         at org.eclipse.core.internal.resources.Resource.accept(Resource.java:80) 
         at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.build(SpringProjectBuilder.java:91) 
         at org.eclipse.core.internal.events.BuildManager####2.run(BuildManager.java:585) 
         at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029) 
         at org.eclipse.core.runtime.Platform.run(Platform.java:775) 
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168) 
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202) 
         at org.eclipse.core.internal.events.BuildManager####1.run(BuildManager.java:231) 
         at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029) 
         at org.eclipse.core.runtime.Platform.run(Platform.java:775) 
         at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234) 
         at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253) 
         at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282) 
         at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139) 
         at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200) 
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67) 
      

      The error only occurs with spring-nature enabled – remove the spring-nature and the error is not issued.

      Barry Kaplan

        Attachments

          Activity

            People

            • Assignee:
              cdupuis Christian Dupuis
              Reporter:
              import Imported
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: