2k13smita / spelstegen

Automatically exported from code.google.com/p/spelstegen
0 stars 0 forks source link

Error in statistics #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When running the application I get this error in the log and the statistics
don't work.

SEVERE: Exception while dispatching incoming RPC call               
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
abstract java.lang.String
spelstegen.client.ChartGenerator.generateScoreHistoryChart(spelstegen.clien
exception: org.jfree.data.general.SeriesException: You are attempting to
add an observation for the time period 25-November-2008 but the series
already contains an observation for that time period. Duplicates are not
permitted.  Try using the addOrUpdate() method.                  
        at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)       

        at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)        

        at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServi
        at
com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceSer
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)                                                              
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)                                                              
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)     

        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)      

        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Htt
        at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:636)
Caused by: org.jfree.data.general.SeriesException: You are attempting to
add an observation for the time period 25-November-2008 butthe series
already contains an observation for that time period. Duplicates are not
permitted.  Try using the addOrUpdate() method.
        at org.jfree.data.time.TimeSeries.add(TimeSeries.java:529)
        at org.jfree.data.time.TimeSeries.add(TimeSeries.java:572)
        at org.jfree.data.time.TimeSeries.add(TimeSeries.java:558)
        at
spelstegen.server.chart.ScoreHistoryChart.getDataset(ScoreHistoryChart.java
        at
spelstegen.server.chart.ScoreHistoryChart.<init>(ScoreHistoryChart.java:40)
        at
spelstegen.server.ChartGeneratorImpl.generateScoreHistoryChart(ChartGenerat
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
        at java.lang.reflect.Method.invoke(Method.java:616)
        at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
        ... 16 more

Original issue reported on code.google.com by hnordin@gmail.com on 1 Dec 2008 at 1:28

GoogleCodeExporter commented 8 years ago
Is this still an issue? I can't recreate this one.

Original comment by per1978 on 26 Dec 2008 at 11:13

GoogleCodeExporter commented 8 years ago
Yes I get it all the time.

Original comment by hnordin@gmail.com on 10 Jan 2009 at 4:13

GoogleCodeExporter commented 8 years ago

Original comment by per1978 on 11 Jan 2009 at 2:29