viadeo / kasper-framework

Kasper is the treasure keeper
http://kasper-doc.viadeo.com/kasper-framework/latest/
GNU Lesser General Public License v3.0
9 stars 6 forks source link

ClassCastException: String cannot be cast to KasperID in EventMessage.getEntityId() #283

Open ncolomer opened 9 years ago

ncolomer commented 9 years ago

This method in EventMessage.java...

com.viadeo.kasper.event.EventMessage
public com.google.common.base.Optional<com.viadeo.kasper.KasperID> getEntityId()

... tries to cast things that could not be a KasperID.

Kibana issues: http://kibana.dc.sf.viadeo.internal/kibana/#/dashboard/temp/AU4dqrUjv6DIHl2_v4VI The fix : https://github.com/viadeo/viadeo-platform/pull/1628

Since the fix, this method remains used in those places in platform:

ncolomer commented 9 years ago

cc @cmurer @ecamper @chenzang