If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > (38000) - Unknown throwable: (java.lang.ClassCastException: java.lang.Object).

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-06-07, 12:15
malark79 malark79 is offline
Registered User
 
Join Date: Jan 2007
Posts: 3
(38000) - Unknown throwable: (java.lang.ClassCastException: java.lang.Object).

Hi,

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.

Thanks
Malar
Reply With Quote
  #2 (permalink)  
Old 09-17-09, 07:12
shazzannn shazzannn is offline
Registered User
 
Join Date: Sep 2009
Posts: 1
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)

Regards
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On