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

SpringSource Issue Tracker | David Syer | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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]
  3. 0

    Eclipse Community Forums: IMP » Cannot uninstall IMP

    eclipse.org | 2 years ago
    java.lang.IllegalArgumentException: No matching artifact found for: osgi.bundle,org.eclipse.imp.doc,0.1.17.v201001291500. at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.I nstallBundleAction.installBundle(InstallBundleAction.java:62 ) at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.I nstallBundleAction.execute(InstallBundleAction.java:29) at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisio ningAction.execute(ParameterizedProvisioningAction.java:35) at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mai nPerform(Phase.java:129) at org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:72) at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet. perform(PhaseSet.java:44) at org.eclipse.equinox.internal.provisional.p2.engine.Engine.pe rform(Engine.java:54) at org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ovisioningUtil.performProvisioningPlan(ProvisioningUtil.java :389) at org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ofileModificationOperation.doExecute(ProfileModificationOper ation.java:61) at org.eclipse.equinox.internal.provisional.p2.ui.operations.Pr ovisioningOperation.execute(ProvisioningOperation.java:37) at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningO perationRunner$1.run(ProvisioningOperationRunner.java:94)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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