java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date

  1. 0

    kundera-cassandra criteriaquery with timestamp

    Stack Overflow | 12 months ago | K.E.
    java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
  2. 0

    Patron search for patron publication date range throws error

    GitHub | 6 years ago | StevensBrian
    java.lang.ClassCastException: java.util.Date cannot be cast to java.lang.String
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Searching by Publication date

    GitHub | 6 years ago | mhudspeth
    java.lang.ClassCastException: java.util.Date cannot be cast to java.lang.String
  5. 0

    groovy date-format error within Jenkins CI

    Stack Overflow | 2 years ago
    java.lang.ClassCastException: java.util.Date cannot be cast to java.lang.String

    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. java.lang.ClassCastException

      java.lang.String cannot be cast to java.util.Date

      at net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.setDate()
    2. JasperReports
      JRJdbcQueryExecuter.createDatasource
      1. net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.setDate(JRJdbcQueryExecuter.java:649)
      2. net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.setStatementParameter(JRJdbcQueryExecuter.java:577)
      3. net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.setStatementParameter(JRJdbcQueryExecuter.java:399)
      4. net.sf.jasperreports.engine.query.JRJdbcQueryExecuter$1.visit(JRJdbcQueryExecuter.java:332)
      5. net.sf.jasperreports.engine.query.JRAbstractQueryExecuter$QueryParameter.accept(JRAbstractQueryExecuter.java:157)
      6. net.sf.jasperreports.engine.query.JRAbstractQueryExecuter.visitQueryParameters(JRAbstractQueryExecuter.java:646)
      7. net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createStatement(JRJdbcQueryExecuter.java:317)
      8. net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createDatasource(JRJdbcQueryExecuter.java:196)
      8 frames
    3. com.jaspersoft.jasperserver
      JRTimezoneJdbcQueryExecuter.createDatasource
      1. com.jaspersoft.jasperserver.api.engine.jasperreports.util.JRTimezoneJdbcQueryExecuter.createDatasource(JRTimezoneJdbcQueryExecuter.java:168)
      1 frame
    4. JasperReports
      BaseFillHandle$ReportFiller.run
      1. net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:1087)
      2. net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:668)
      3. net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1258)
      4. net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:877)
      5. net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFiller.run(BaseFillHandle.java:120)
      5 frames
    5. com.jaspersoft.jasperserver
      EngineServiceImpl$SynchronousExecutor.execute
      1. com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$SynchronousExecutor.execute(EngineServiceImpl.java:875)
      1 frame
    6. JasperReports
      BaseFillHandle.startFill
      1. net.sf.jasperreports.engine.fill.BaseFillHandle.startFill(BaseFillHandle.java:165)
      1 frame
    7. com.jaspersoft.jasperserver
      EngineServiceImpl$ReportRunnable.run
      1. com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$AsynchronousReportFiller.fillReport(EngineServiceImpl.java:831)
      2. com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:1658)
      3. com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportFill.runReport(EngineServiceImpl.java:1022)
      4. com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportRunnable.run(EngineServiceImpl.java:897)
      4 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:619)
      3 frames