Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2007

    Unanswered: (38000) - Unknown throwable: (java.lang.ClassCastException: java.lang.Object).


    Our application is running a function in Informix DB, which calls a jar internally. While running sql query with the UDF, I am getting the following error :

    Select nsid, informix.sortkeyj(PROPNAME,"en") ORDERVAL1 from informix.ICMSTJCRGLBLPROPS ORDER BY ORDERVAL1
    # ^
    #(38000) - Unknown throwable: (java.lang.ClassCastException: java.lang.Object).

    The jar file is working fine and I am able to get the output from the jar successfully (I have put System.out.println in the java file, which is logged in the informix logs). The jar is returning a byte[] as we have binaryvar as the out parameter in UDF.

    I could not find a solution for the above issue. Can you please help us in this issue at the earliest.


  2. #2
    Join Date
    Sep 2009

    Classpath length

    I had the same problem when trying to launching a jar file from Informix and after some investigation I identified that Informix has a limitation of 256 characters in the JVPCLASSPATH property, so not all classes were loaded when starting Informix, so the exception is thrown.

    More details in My Tech Tips and Reviews: [38000] Unknown throwable: (java.lang.ClassCastException)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts