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

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Null values in Map

    Oracle Community | 1 decade ago | 3004
    javax.jdo.JDOUserException: The given element does not meet the requirements for this field. The container does not permit null values.

    Root Cause Analysis

    1. 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()
    2. com.solarmetric.kodo
      ProxyHashMap.putAll
      1. com.solarmetric.kodo.util.SecondClassObjects.checkValue(Unknown Source)
      2. com.solarmetric.kodo.util.ProxyHashMap.putAll(Unknown Source)
      2 frames
    3. Java RT
      HashMap.<init>
      1. java.util.HashMap.<init>(Unknown Source)
      1 frame
    4. com.solarmetric.kodo
      MapMapping.load
      1. com.solarmetric.kodo.util.ProxyHashMap.<init>(Unknown Source)
      2. com.solarmetric.kodo.util.ProxyHashMap.newInstance(UnknownSource)
      3. com.solarmetric.kodo.util.SecondClassObjects.getMapProxy(Unknown Source)
      4. com.solarmetric.kodo.runtime.StateManagerImpl.storeObjectField(UnknownSource)
      5. com.solarmetric.kodo.impl.jdbc.ormapping.MapMapping.load(Unknown Source)
      5 frames