java.lang.IllegalArgumentException

Map key 'propertyDefinition' has value [null] that is not of expected type [class com.company.product.MyFormBean], instead it is of type [null]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web29868

  • Map key 'propertyDefinition' has value [null] that is not of expected type [class com.company.product.MyFormBean], instead it is of type [null]
  • Map key 'propertyDefinition' has value [null] that is not of expected type [class com.company.product.MyFormBean], instead it is of type [null]
  • via GitHub by sheshmantha
    , 1 year ago
    Property value [Map(key1 -> value1, key2 -> value2)] is of type class scala.collection.immutable.Map$Map2 is not supported
  • Stack trace

    • java.lang.IllegalArgumentException: Map key 'propertyDefinition' has value [null] that is not of expected type [class com.company.product.MyFormBean], instead it is of type [null] at org.springframework.binding.util.MapAccessor.assertKeyValueInstanceOf(MapAccessor.java:455) at org.springframework.binding.util.MapAccessor.assertKeyValueOfType(MapAccessor.java:442) at org.springframework.binding.util.MapAccessor.get(MapAccessor.java:95) at org.springframework.binding.util.MapAccessor.get(MapAccessor.java:78) at org.springframework.webflow.AbstractAttributeMap.get(AbstractAttributeMap.java:113) at org.springframework.webflow.action.FormObjectAccessor.getFormObject(FormObjectAccessor.java:148) at org.springframework.webflow.action.FormAction.getFormObject(FormAction.java:700) at org.springframework.webflow.action.FormAction.setupForm(FormAction.java:481)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.