| 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)
|
|
Thank you for rating this answer.
|
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
|
| Attachments |
|
No attachments were found.
|