| Summary: | memcached server module ClassCastException when accessing value put by InVM method | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Data Grid 5 | Reporter: | Michal Linhard <mlinhard> | ||||
| Component: | Infinispan | Assignee: | Default User <jbpapp-maint> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | unspecified | CC: | nobody | ||||
| Target Milestone: | --- | ||||||
| Target Release: | EAP 5.1.0 EDG TP | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://jira.jboss.org/jira/browse/EDG-65 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-10-25 13:40:26 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
Michal Linhard
2010-10-21 12:40:45 UTC
Attachment: Added: testbean1.zip You can always get a CCE if you try to access contents in a way that it's not designed to do so and we can't control the casting that it's done on the client side. We can't help either if a client passes a key of a different type and it's not in the cache. Only generics, can help here but it's down to the client. Currently Memcached or Hot Rod servers are not designed to be sharing contents with in-VM code, although this is actually workable if clients are smart enough, see what in-VM client could do to check Hot Rod contents: http://community.jboss.org/docs/DOC-15985. However, even if we implement ISPN-706, all we'd be doing would be to hide internal details and do the marshalling/unmarshalling for the client. |