Bug 745815 (EDG-90)

Summary: HotRod server module ClassCastException when accessing value put via InVM method
Product: [JBoss] JBoss Data Grid 5 Reporter: Michal Linhard <mlinhard>
Component: InfinispanAssignee: Default User <jbpapp-maint>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: nobody
Target Milestone: ---   
Target Release: EAP 5.1.0 EDG TP   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/EDG-90
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-25 13:41:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
testbean1.zip none

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.