java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • On Spring 1.2 spring builder is failing with the following error: Errors during build. Errors running builder "Spring Project Builder" on project otis-dasl-ejb. An error occurred while traversing resources. Here is the log: {code} java.lang.IllegalStateException: Bean can only have a parent of type IBeansConfig, IBean or (in case of an inner bean) IBeanProperty at org.springframework.ide.eclipse.beans.core.internal.model.Bean.getConfig(Bean.java:118) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateBean(BeansConfigValidator.java:198) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateBean(BeansConfigValidator.java:223) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateConfig(BeansConfigValidator.java:151) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validate(BeansConfigValidator.java:119) 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.doIteration(ElementTreeIterator.java:85) 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.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:259) 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) {code}
    via by Imported,
  • On Spring 1.2 spring builder is failing with the following error: Errors during build. Errors running builder "Spring Project Builder" on project otis-dasl-ejb. An error occurred while traversing resources. Here is the log: {code} java.lang.IllegalStateException: Bean can only have a parent of type IBeansConfig, IBean or (in case of an inner bean) IBeanProperty at org.springframework.ide.eclipse.beans.core.internal.model.Bean.getConfig(Bean.java:118) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateBean(BeansConfigValidator.java:198) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateBean(BeansConfigValidator.java:223) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateConfig(BeansConfigValidator.java:151) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validate(BeansConfigValidator.java:119) 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.doIteration(ElementTreeIterator.java:85) 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.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:259) 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) {code}
    via by Imported,
    • java.lang.IllegalStateException: Bean can only have a parent of type IBeansConfig, IBean or (in case of an inner bean) IBeanProperty at org.springframework.ide.eclipse.beans.core.internal.model.Bean.getConfig(Bean.java:118) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateBean(BeansConfigValidator.java:198) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validateBean(BeansConfigValidator.java:223)
    No Bugmate found.