javax.jdo.JDOUserException

The given element does not meet the requirements for this field. The container does not permit null values.

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 web89

  • via Oracle Community by 3004, 1 year ago
    The given element does not meet the requirements for this field. The container does not permit null values.
  • via Oracle Community by 3004, 1 year ago
    The given element does not meet the requirements for this field. The container requires that all non-null objects are of the type declared in the XML metadata for this container. "class dk.pine.mosaic.meta.asset.RoleDef.isAssignableFrom (class dk.pine.mosaic.meta.asset.ContainerRoleDef)" failed.
  • via Oracle Community by 3004, 1 year ago
    The given element " =======Person======= First Name: Brian Last Name: Agricola Phone: null Email: null ====================" does not meet the requirements for the container.
  • Stack trace

    • javax.jdo.JDOUserException: The given element does not meet the requirements for this field. The container does not permit null values. at com.solarmetric.kodo.util.SecondClassObjects.checkValue(Unknown Source) at com.solarmetric.kodo.util.ProxyHashMap.putAll(Unknown Source) at java.util.HashMap.<init>(Unknown Source) at com.solarmetric.kodo.util.ProxyHashMap.<init>(Unknown Source) at com.solarmetric.kodo.util.ProxyHashMap.newInstance(UnknownSource) at com.solarmetric.kodo.util.SecondClassObjects.getMapProxy(Unknown Source) at com.solarmetric.kodo.runtime.StateManagerImpl.storeObjectField(UnknownSource) at com.solarmetric.kodo.impl.jdbc.ormapping.MapMapping.load(Unknown Source)

    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.