Skip to main content

ClassCastException while adding ContentServerListener to ContentServerNetModuleImpl.

1 reply [Last post]
sivaaathi
Offline
Joined: 2011-11-23
Points: 0

Hi,

I have an application which tries to add a ContentServerListener to ContentServerNetModuleImpl.
But it fails with ClassCastException at ContentServerNetModuleImpl.getData().

The issue is observed when tried to run the app in RI_1.2.2_RelA executable.

This behavior is not observed when tried to run the same app in emulator of trunk.(Built the trunk).

Is there any issue in ContentServerNetModuleImpl.addContentServerListener() API?
Is this issue specific to any version?

Note: My app has implemented ContentServerListener.

Logs
-----
java.lang.ClassCastException at org/cablelabs/impl/ocap/hn/ContentServerNetModuleImpl.getData(Lorg/cablelabs/impl/manager/CallerContext;)Lorg/cablelabs/impl/ocap/hn/ContentServerNetModuleImpl$Data;
org/cablelabs/impl/ocap/hn/ContentServerNetModuleImpl.addContentServerListener(Lorg/ocap/hn/ContentServerListener;)

Thanks,
Ati

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dgalliga
Offline
Joined: 2009-07-25
Points: 0

We are looking into this and will review the testing results for 1.2.2 Rel. A. ContentServerListener is extensively tested, so this comes as a bit of a surprise.