java.lang.ClassCastException: [B

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

    Blob mapping problem

    Oracle Community | 1 decade ago | 3004
    java.lang.ClassCastException: [B

    Root Cause Analysis

    1. java.lang.ClassCastException

      [B

      at kodo.runtime.StateManagerImpl.loadFields()
    2. kodo.runtime
      StateManagerImpl.isLoaded
      1. kodo.runtime.StateManagerImpl.loadFields(StateManagerImpl.java:3155)
      2. kodo.runtime.StateManagerImpl.loadField(StateManagerImpl.java:3227)
      3. kodo.runtime.StateManagerImpl.isLoaded(StateManagerImpl.java:1368)
      3 frames
    3. be.banksys.tams
      Essai.main
      1. be.banksys.tams.model.base.AttributeType.jdoGetmetadata(AttributeType.java)
      2. be.banksys.tams.model.base.AttributeType.getMetadata(AttributeType.java:50)
      3. be.banksys.tams.model.base.Essai.main(Essai.java:55)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    5. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
      1 frame