java.lang.IllegalArgumentException: Unsupported model element freemarkerConfig (0) [org.springframework.batch.admin.web.freemarker.HippyFreeMarkerConfigurer]

SpringSource Issue Tracker | David Syer | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    This just started happening after I upgraded for CF release. I can see some other SPring IDE errors in the workspace (probably unrelated since they aren't at the same time). I get no autocompletion on classnames or property names, and the project has Spring nature, and the XML file is in .springBeans. Example earlier error: {noformat} java.lang.IllegalArgumentException: Unsupported model element freemarkerConfig (0) [org.springframework.batch.admin.web.freemarker.HippyFreeMarkerConfigurer] at org.springframework.ide.eclipse.beans.core.internal.model.BeansModelUtils.getProject(BeansModelUtils.java:708) at org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.ValidationRuleUtils.extractBeanClass(ValidationRuleUtils.java:121) at org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.BeanPropertyRule.validate(BeanPropertyRule.java:61) at com.springsource.sts.quickfix.validator.PropertyValidator.validateAttributeWithConfig(PropertyValidator.java:59) at com.springsource.sts.quickfix.validator.BeanValidator.validateAttributeWithConfig(BeanValidator.java:152) at com.springsource.sts.quickfix.QuickfixUtils.validateAttribute(QuickfixUtils.java:519) at com.springsource.sts.quickfix.validator.BeanValidatorVisitor.visitAttributes(BeanValidatorVisitor.java:56) at com.springsource.sts.quickfix.validator.BeanValidatorVisitor.visitNode(BeanValidatorVisitor.java:78) at com.springsource.sts.quickfix.BeansEditorValidator.validateNode(BeansEditorValidator.java:478) at com.springsource.sts.quickfix.BeansEditorValidator.validate(BeansEditorValidator.java:458) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:349) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:255) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:267) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:248) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:667) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat}

    SpringSource Issue Tracker | 6 years ago | David Syer
    java.lang.IllegalArgumentException: Unsupported model element freemarkerConfig (0) [org.springframework.batch.admin.web.freemarker.HippyFreeMarkerConfigurer]
  2. 0

    This just started happening after I upgraded for CF release. I can see some other SPring IDE errors in the workspace (probably unrelated since they aren't at the same time). I get no autocompletion on classnames or property names, and the project has Spring nature, and the XML file is in .springBeans. Example earlier error: {noformat} java.lang.IllegalArgumentException: Unsupported model element freemarkerConfig (0) [org.springframework.batch.admin.web.freemarker.HippyFreeMarkerConfigurer] at org.springframework.ide.eclipse.beans.core.internal.model.BeansModelUtils.getProject(BeansModelUtils.java:708) at org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.ValidationRuleUtils.extractBeanClass(ValidationRuleUtils.java:121) at org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.BeanPropertyRule.validate(BeanPropertyRule.java:61) at com.springsource.sts.quickfix.validator.PropertyValidator.validateAttributeWithConfig(PropertyValidator.java:59) at com.springsource.sts.quickfix.validator.BeanValidator.validateAttributeWithConfig(BeanValidator.java:152) at com.springsource.sts.quickfix.QuickfixUtils.validateAttribute(QuickfixUtils.java:519) at com.springsource.sts.quickfix.validator.BeanValidatorVisitor.visitAttributes(BeanValidatorVisitor.java:56) at com.springsource.sts.quickfix.validator.BeanValidatorVisitor.visitNode(BeanValidatorVisitor.java:78) at com.springsource.sts.quickfix.BeansEditorValidator.validateNode(BeansEditorValidator.java:478) at com.springsource.sts.quickfix.BeansEditorValidator.validate(BeansEditorValidator.java:458) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:349) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:255) at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95) at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:267) at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:303) at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:248) at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:667) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat}

    SpringSource Issue Tracker | 6 years ago | David Syer
    java.lang.IllegalArgumentException: Unsupported model element freemarkerConfig (0) [org.springframework.batch.admin.web.freemarker.HippyFreeMarkerConfigurer]

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unsupported model element freemarkerConfig (0) [org.springframework.batch.admin.web.freemarker.HippyFreeMarkerConfigurer]

      at org.springframework.ide.eclipse.beans.core.internal.model.BeansModelUtils.getProject()
    2. org.springframework.ide
      BeanPropertyRule.validate
      1. org.springframework.ide.eclipse.beans.core.internal.model.BeansModelUtils.getProject(BeansModelUtils.java:708)
      2. org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.ValidationRuleUtils.extractBeanClass(ValidationRuleUtils.java:121)
      3. org.springframework.ide.eclipse.beans.core.internal.model.validation.rules.BeanPropertyRule.validate(BeanPropertyRule.java:61)
      3 frames
    3. com.springsource.sts
      BeansEditorValidator.validate
      1. com.springsource.sts.quickfix.validator.PropertyValidator.validateAttributeWithConfig(PropertyValidator.java:59)
      2. com.springsource.sts.quickfix.validator.BeanValidator.validateAttributeWithConfig(BeanValidator.java:152)
      3. com.springsource.sts.quickfix.QuickfixUtils.validateAttribute(QuickfixUtils.java:519)
      4. com.springsource.sts.quickfix.validator.BeanValidatorVisitor.visitAttributes(BeanValidatorVisitor.java:56)
      5. com.springsource.sts.quickfix.validator.BeanValidatorVisitor.visitNode(BeanValidatorVisitor.java:78)
      6. com.springsource.sts.quickfix.BeansEditorValidator.validateNode(BeansEditorValidator.java:478)
      7. com.springsource.sts.quickfix.BeansEditorValidator.validate(BeansEditorValidator.java:458)
      7 frames
    4. Structured Source Editor
      ReconcileStepForValidator.reconcileModel
      1. org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:349)
      2. org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:255)
      2 frames
    5. JFace Text
      AbstractReconcileStep.reconcile
      1. org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
      1 frame
    6. Structured Source Editor
      DirtyRegionProcessor.run
      1. org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:267)
      2. org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:303)
      3. org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:248)
      4. org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:667)
      4 frames
    7. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame