Bug 745815 (EDG-90) - HotRod server module ClassCastException when accessing value put via InVM method
Summary: HotRod server module ClassCastException when accessing value put via InVM method
Keywords:
Status: CLOSED NOTABUG
Alias: EDG-90
Product: JBoss Data Grid 5
Classification: JBoss
Component: Infinispan
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: EAP 5.1.0 EDG TP
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/EDG-90
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-21 15:01 UTC by Michal Linhard
Modified: 2014-03-17 04:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-25 13:41:08 UTC
Type: Bug


Attachments (Terms of Use)
testbean1.zip (5.24 KB, application/zip)
2010-10-21 15:01 UTC, Michal Linhard
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker EDG-90 0 Major Closed HotRod server module ClassCastException when accessing value put via InVM method 2016-06-07 10:51:06 UTC

Description Michal Linhard 2010-10-21 15:01:18 UTC
project_key: EDG

This is very same thing as JBPAPP-5279 but in HotRod Server module

simple get throws java.lang.ClassCastException: java.lang.String cannot be cast to org.infinispan.server.core.CacheValue
when trying to access forged value put by invm access method.

this is of course very improbable scenario, this is just to demonstrate the possibility...

problem is again that on the line 101 in:
http://anonsvn.jboss.org/repos/infinispan/tags/4.1.0.FINAL/server/hotrod/src/main/scala/org/infinispan/server/hotrod/HotRodDecoder.scala
we expect the returned value be always CacheValue

run EAP datagrid profile
unzip testbean1.zip
mvn install

Comment 1 Michal Linhard 2010-10-21 15:01:51 UTC
Attachment: Added: testbean1.zip


Comment 2 Galder Zamarreño 2010-10-25 13:41:08 UTC
Rejected for the same reason as JBPAPP-5279.


Note You need to log in before you can comment on or make changes to this bug.