javax.servlet.ServletException: org.jfree.data.general.SeriesException: X-value already exists.

Atlassian JIRA | Rene Verschoor [Atlassian] | 6 years ago
  1. 0

    When a repository has commits that are more than 10 years in the future, an exception is logged: {code} 2011-02-25 07:24:03,141 DEBUG [btpool0-22 ] fisheye.perf ProfilingServletFilter-logRequest - end request GET / sessionid=149rtlzscccud13z56nupzsnkr 2011-02-25 07:24:03,213 DEBUG [btpool0-22 ] fisheye.perf ProfilingServletFilter-logRequest - start request GET /fe/locChart.do?w=280&markEnd=0&username=ekoc&context=user-sparkline&outputtype=image&markStart=0&imageBackgroundColour=FFFFFF&h=32 sessionid=149rtlzscccud13z56nupzsnkr 2011-02-25 07:24:03,214 DEBUG [btpool0-11 ] fisheye.perf ProfilingServletFilter-logRequest - start request GET /fe/locChart.do?w=276&markEnd=0&username=ekoc&context=user&outputtype=image&markStart=0&imageBackgroundColour=FFFFFF&h=200 sessionid=149rtlzscccud13z56nupzsnkr ... ... 2011-02-25 07:24:03,235 INFO [btpool0-22 ] fisheye.app TotalityFilter-logExceptionDetails - Exception "org.jfree.data.general.SeriesException: X-value already exists." (javax.servlet.ServletException) while processing "/fe/locChart.do" (Referer:"http://reviews:8060/") javax.servlet.ServletException: org.jfree.data.general.SeriesException: X-value already exists. at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:284) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1217) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1209) {code}

    Atlassian JIRA | 6 years ago | Rene Verschoor [Atlassian]
    javax.servlet.ServletException: org.jfree.data.general.SeriesException: X-value already exists.
  2. 0

    When a repository has commits that are more than 10 years in the future, an exception is logged: {code} 2011-02-25 07:24:03,141 DEBUG [btpool0-22 ] fisheye.perf ProfilingServletFilter-logRequest - end request GET / sessionid=149rtlzscccud13z56nupzsnkr 2011-02-25 07:24:03,213 DEBUG [btpool0-22 ] fisheye.perf ProfilingServletFilter-logRequest - start request GET /fe/locChart.do?w=280&markEnd=0&username=ekoc&context=user-sparkline&outputtype=image&markStart=0&imageBackgroundColour=FFFFFF&h=32 sessionid=149rtlzscccud13z56nupzsnkr 2011-02-25 07:24:03,214 DEBUG [btpool0-11 ] fisheye.perf ProfilingServletFilter-logRequest - start request GET /fe/locChart.do?w=276&markEnd=0&username=ekoc&context=user&outputtype=image&markStart=0&imageBackgroundColour=FFFFFF&h=200 sessionid=149rtlzscccud13z56nupzsnkr ... ... 2011-02-25 07:24:03,235 INFO [btpool0-22 ] fisheye.app TotalityFilter-logExceptionDetails - Exception "org.jfree.data.general.SeriesException: X-value already exists." (javax.servlet.ServletException) while processing "/fe/locChart.do" (Referer:"http://reviews:8060/") javax.servlet.ServletException: org.jfree.data.general.SeriesException: X-value already exists. at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:284) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1217) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1209) {code}

    Atlassian JIRA | 6 years ago | Rene Verschoor [Atlassian]
    javax.servlet.ServletException: org.jfree.data.general.SeriesException: X-value already exists.
  3. 0

    [FE-4562] Renaming a user to a deleted user fails - Atlassian JIRA

    atlassian.com | 1 year ago
    javax.servlet.ServletException: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    {code} 2013-08-22 04:28:16,645 ERROR - Exception "org.hibernate.exception.ConstraintViolationException: could not insert: [com.cenqua.crucible.model.ReviewParticipant]" (javax.servlet.ServletException) while processing "/json/cru/CR-1/postDetails" (Referer:"https://acsfisheye.honeywell.com/cru/CR-1") javax.servlet.ServletException: org.hibernate.exception.ConstraintViolationException: could not insert: [com.cenqua.crucible.model.ReviewParticipant] at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:284) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1272) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) … Caused by: org.hibernate.exception.ConstraintViolationException: could not insert: [com.cenqua.crucible.model.ReviewParticipant] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2438) … Caused by: java.sql.SQLException: Violation of UNIQUE KEY constraint 'UQ__cru_revi__5067DE081332DBDC'. Cannot insert duplicate key in object 'dbo.cru_review_participant'. The duplicate key value is (7983, 12). at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368) at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2820) at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2258) at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:632) {code} Seen from support Likely a similar cause to [CRUC-6577|https://jira.atlassian.com/browse/CRUC-6577] but I have not been able to reproduce it

    Atlassian JIRA | 3 years ago | Richard Stephens [Atlassian]
    javax.servlet.ServletException: org.hibernate.exception.ConstraintViolationException: could not insert: [com.cenqua.crucible.model.ReviewParticipant]
  6. 0

    h3.Steps to reproduce # Create users: UserA and UserB # Add UserA to a group 'GroupA' # Delete UserB # Rename UserA to be UserB # It fail with the following errors in {{atlassian-fisheye-<date>.log}}: {noformat} 2013-03-13 21:26:12,605 WARN [btpool0-30 ] org.hibernate.util.JDBCExceptionReporter JDBCExceptionReporter-logExceptions - SQL Error: 0, SQLState: null 2013-03-13 21:26:12,628 ERROR [btpool0-30 ] org.hibernate.util.JDBCExceptionReporter JDBCExceptionReporter-logExceptions - failed batch 2013-03-13 21:26:12,630 ERROR [btpool0-30 ] org.hibernate.event.def.AbstractFlushingEventListener AbstractFlushingEventListener-performExecutions - Could not synchronize database state with session org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:262) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:179) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) ... Caused by: java.sql.BatchUpdateException: failed batch ... 2013-03-13 21:26:12,960 ERROR [btpool0-30 ] fisheye TotalityFilter-logExceptionDetails - Exception "org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update" (javax.servlet.ServletException) while processing "/admin/userRename.do" (Referer:"http://localhost:8060/admin/userRename-default.do") javax.servlet.ServletException: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:284) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1272) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) ... Caused by: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update ... Caused by: java.sql.BatchUpdateException: failed batch ... 2013-03-13 21:26:12,983 ERROR [btpool0-30 ] org.mortbay.log Slf4jLog-warn - /admin/userRename.do org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:262) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:179) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) ... Caused by: java.sql.BatchUpdateException: failed batch {noformat} # Check the group that belongs to UserA

    Atlassian JIRA | 4 years ago | Kah Loun Foong [Atlassian]
    javax.servlet.ServletException: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.servlet.ServletException

      org.jfree.data.general.SeriesException: X-value already exists.

      at com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction()
    2. WebWork
      ServletDispatcher.service
      1. com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:284)
      2. com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:111)
      2 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      1 frame
    4. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      2. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1217)
      2 frames
    5. com.atlassian.plugin
      DelegatingPluginFilter$1.doFilter
      1. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
      2. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
      2 frames
    6. com.atlassian.applinks
      ContextFilter.doFilter
      1. com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25)
      1 frame
    7. com.atlassian.plugin
      ServletFilterModuleContainerFilter.doFilter
      1. com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)
      2. com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)
      3. com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
      4. com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
      4 frames
    8. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1209)
      1 frame