kodo.persistence.ArgumentException: The specified parameter of type "class java.net.Inet4Address" is not a valid query parameter. [java]

Oracle Community | 666705 | 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

    Exception when querying java.lang.InetAddress

    Oracle Community | 1 decade ago | 666705
    kodo.persistence.ArgumentException: The specified parameter of type "class java.net.Inet4Address" is not a valid query parameter. [java]

    Root Cause Analysis

    1. kodo.persistence.ArgumentException

      The specified parameter of type "class java.net.Inet4Address" is not a valid query parameter. [java]

      at kodo.jdbc.sql.DBDictionary.setUnknown()
    2. kodo.jdbc.sql
      Union.execute
      1. kodo.jdbc.sql.DBDictionary.setUnknown(DBDictionary.java:1347)[java]
      2. kodo.jdbc.sql.SQLBuffer.setParameters(SQLBuffer.java:638)[java]
      3. kodo.jdbc.sql.SQLBuffer.prepareStatement(SQLBuffer.java:539)[java]
      4. kodo.jdbc.sql.SQLBuffer.prepareStatement(SQLBuffer.java:512)[java]
      5. kodo.jdbc.sql.SelectImpl.execute(SelectImpl.java:332)[java]
      6. kodo.jdbc.sql.SelectImpl.execute(SelectImpl.java:301)[java]
      7. kodo.jdbc.sql.Union$UnionSelect.execute(Union.java:642)[java]
      8. kodo.jdbc.sql.Union.execute(Union.java:326)[java]
      9. kodo.jdbc.sql.Union.execute(Union.java:313)[java]
      9 frames
    3. kodo.jdbc.kernel
      SelectResultObjectProvider.open
      1. kodo.jdbc.kernel.SelectResultObjectProvider.open(SelectResultObjectProvider.java:98)[java]
      1 frame
    4. com.solarmetric.rop
      EagerResultList.<init>
      1. com.solarmetric.rop.EagerResultList.<init>(EagerResultList.java:22)[java]
      1 frame
    5. kodo.kernel
      DelegatingQuery.execute
      1. kodo.kernel.QueryImpl.toResult(QueryImpl.java:1445)[java]
      2. kodo.kernel.QueryImpl.execute(QueryImpl.java:1167)[java]
      3. kodo.kernel.QueryImpl.execute(QueryImpl.java:953)[java]
      4. kodo.kernel.QueryImpl.execute(QueryImpl.java:871)[java]
      5. kodo.kernel.DelegatingQuery.execute(DelegatingQuery.java:774)[java]
      5 frames
    6. kodo.persistence
      QueryImpl.getResultList
      1. kodo.persistence.QueryImpl.execute(QueryImpl.java:241)[java]
      2. kodo.persistence.QueryImpl.getResultList(QueryImpl.java:290)[java]
      2 frames
    7. test
      MainLine.main
      1. test.MainLine.main(MainLine.java:196)
      1 frame