java.lang.String cannot be cast to org.primefaces.extensions

Community Driven Extensions Project
Post Reply
magsam
Posts: 71
Joined: 18 Jun 2012, 17:43
Location: Bavaria, DE
Contact:

17 Aug 2014, 15:00

Hello ,

I have tested the timeline showcase "grouping" . I get this error when merging.

java.lang.String cannot be cast to org.primefaces.extensions.model.timeline.TimelineEvent.

It happens in this code line: GroupingTimelineController

model.merge(event, ordersToMerge, TimelineUpdater.getCurrentInstance(":mainForm:timeline"));

here the class:

at org.primefaces.extensions.model.timeline.TimelineModel.merge(TimelineModel.java:364)

String group = event.getGroup();
for (TimelineEvent e : events) {

regards

Peter
PrimeFaces 6.1, Extensions 6.1.1 , Mojarra 2.3 , GlassFish Server Open Source Edition 4.1 (build 13) , atmosphere-runtime 2.4.9 , Open Source ERP with Primefaces http://osretail.de/osRetail/

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

17 Aug 2014, 20:59

Sorry, but I can not reproduce this. Tested various scenarios with PrimeFaces 5.0 and Mojarra 2.2.8.

Have you tried 2.2.8 and other app servers?

By the way, I updated the timeline script. https://github.com/primefaces-extension ... issues/249
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 22 guests