org.jfree.data.general.SeriesException: You are trying to add data where the time period class is org.jfree.data.time.Week, but the TimeSeries is expecting an instance of org.jfree.data.time.Day.

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 Pentaho BI Platform Tracking by Will Gorman, 1 year ago
You are trying to add data where the time period class is org.jfree.data.time.Week, but the TimeSeries is expecting an instance of org.jfree.data.time.Day.
via Pentaho BI Platform Tracking by Will Gorman, 1 year ago
You are trying to add data where the time period class is org.jfree.data.time.Week, but the TimeSeries is expecting an instance of org.jfree.data.time.Day.
via Google Groups by Hugo Baes Jr., 1 year ago
You are attempting to add an > observation for the time period Mon Jun 06 10:35:52 BRT 2016 but the > series already contains an observation for that time period. Duplicates > are not permitted. Try using the addOrUpdate() method.
via GitHub by hguerrero
, 1 year ago
You are attempting to add an observation for the time period Wed Dec 31 18:00:11 CST 1969 but the series already contains an observation for that time period. Duplicates are not permitted. Try using the addOrUpdate() method.
via GitHub by thc202
, 1 year ago
You are attempting to add an observation for the time period Wed Jun 08 12:34:56 WEST 2016 but the series already contains an observation for that time period. Duplicates are not permitted. Try using the addOrUpdate() method.
via Google Groups by NCoder, 11 months ago
You are attempting to add an observation for the time period Sun Nov 13 19:10:44 PST 2016 but the series already contains an observation for that time period. Duplicates are not permitted. Try using the addOrUpdate() method.
org.jfree.data.general.SeriesException: You are trying to add data where the time period class is org.jfree.data.time.Week, but the TimeSeries is expecting an instance of org.jfree.data.time.Day.
at org.jfree.data.time.TimeSeries.add(TimeSeries.java:497)
at org.jfree.data.time.TimeSeries.add(TimeSeries.java:473)
at org.pentaho.plugin.jfreereport.reportcharts.collectors.TimeSeriesCollector.buildDataset(TimeSeriesCollector.java:188)
at org.pentaho.plugin.jfreereport.reportcharts.collectors.AbstractCollectorFunction.itemsAdvanced(AbstractCollectorFunction.java:230)
at org.pentaho.reporting.engine.classic.core.states.datarow.ExpressionDataRow.fireItemsAdvancedEvent(ExpressionDataRow.java:714)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.