Audium Knowledge Base

Knowledgebase Home | Contact Knowledgebase Home | Contact
Search the Knowledgebase Jump to ID Browse by Category
An exception is thrown when a Java object is retrieved from session data
Categories: Audium OpenSDK
Article ID: 3
Last updated: November 08, 2007
User Opinions
100% 0% (1 vote)

How would you rate this answer?
Helpful
Not helpful
SUMMARY

Java objects cannot be retrieved from the session because an exception is thrown when this is attempted.

SYMPTOMS

When a Java object is retrieved from session data, and is cast to the proper type, a java.lang.ClassCastException is thrown.

RESOLUTION

This is a known issue; however, there is a workaround:

For each object that will be stored in session data, the associated .class or .jar file for it should be placed in AUDIUM_HOME/common/lib.  If the .class or .jar file is only available from the application's directory tree, this exception will occur.
Visitor Comments
No visitor comments posted. Post a comment
Related Questions
Attachments
No attachments were found.

Copyright (c) 2005 Audium Corporation. All rights reserved.
Audium Home | Audium Support Center Home | Audium Customer Care Home