Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via terracotta.org by Unknown author, 2 years ago
[B cannot be cast to org.sharrissf.sample.Person
via Terracotta Project Issue Tracker by David Dai, 2 years ago
[B cannot be cast to org.sharrissf.sample.Person
via Terracotta by dhdai, 9 months ago
[B cannot be cast to org.sharrissf.sample.Person
via Terracotta Project Issue Tracker by David Dai, 1 year ago
[B cannot be cast to org.sharrissf.sample.Person
java.lang.ClassCastException: [B cannot be cast to org.sharrissf.sample.Person	at org.sharrissf.sample.EhcacheSearchPlaying$NameAttributeExtractor.attributeFor(EhcacheSearchPlaying.java:200)	at org.sharrissf.sample.EhcacheSearchPlaying$NameAttributeExtractor.attributeFor(EhcacheSearchPlaying.java:206)	at net.sf.ehcache.search.expression.ILike.execute(ILike.java:145)	at net.sf.ehcache.search.expression.And.execute(And.java:69)	at net.sf.ehcache.store.MemoryOnlyStore$BruteForceSearchManager.executeQuery(MemoryOnlyStore.java:151)	at net.sf.ehcache.store.AbstractStore.executeQuery(AbstractStore.java:174)	at net.sf.ehcache.store.ElementIdAssigningStore.executeQuery(ElementIdAssigningStore.java:449)	at net.sf.ehcache.Cache.executeQuery(Cache.java:4015)	at net.sf.ehcache.CacheQuery.execute(CacheQuery.java:181)	at org.sharrissf.sample.EhcacheSearchPlaying.runTests(EhcacheSearchPlaying.java:109)	at org.sharrissf.sample.EhcacheSearchPlaying.main(EhcacheSearchPlaying.java:188)