java.lang.IllegalArgumentException: Cannot format given Object as a Date

Coderanch | Ben Ethridge | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Why does java not report exception line numbers sometimes?

    Coderanch | 1 decade ago | Ben Ethridge
    java.lang.IllegalArgumentException: Cannot format given Object as a Date
  2. 0

    java.lang.IllegalArgumentException: Cannot format given Object as a Date

    Stack Overflow | 2 years ago | Preethi Jain
    java.lang.IllegalArgumentException: Cannot format given Object as a Date
  3. 0

    Java convert date to sql timestamp

    Stack Overflow | 3 years ago | Arnold Cristobal
    java.lang.IllegalArgumentException: Cannot format given Object as a Date
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android /java Time Format?

    Stack Overflow | 5 years ago | Samir Mangroliya
    java.lang.IllegalArgumentException: Cannot format given Object as a Date
  6. 0

    Cast String Date to new format Java

    Stack Overflow | 4 years ago | user2385057
    java.lang.IllegalArgumentException: Cannot format given Object as a Date
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.IllegalArgumentException

    Cannot format given Object as a Date

    at java.lang.Throwable.<init>()
  2. Java RT
    Format.format
    1. java.lang.Throwable.<init>(Throwable.java)
    2. java.lang.Throwable.<init>(Throwable.java)
    3. java.text.DateFormat.format(DateFormat.java:290)
    4. java.text.Format.format(Format.java:144)
    4 frames
  3. com.republic.externalinterface
    _EJSRemoteStatelessTFGExternalInterfaceService_945f7a13_Tie._invoke
    1. com.republic.externalinterface.commisStmtExport.TFGCommStmtExport.deleteOldXmlArchives(TFGCommStmtExport.java)
    2. com.republic.externalinterface.commisStmtExport.TFGCommStmtExport.transformCommStmtXMLsToAFlatFile(TFGCommStmtExport.java)
    3. com.republic.externalinterface.service.TFGExternalInterfaceServiceBean.transformCommStmt(TFGExternalInterfaceServiceBean.java:29)
    4. com.republic.externalinterface.service.EJSRemoteStatelessTFGExternalInterfaceService_945f7a13.transformCommStmt(EJSRemoteStatelessTFGExternalInterfaceService_945f7a13.java:76)
    5. com.republic.externalinterface.service._EJSRemoteStatelessTFGExternalInterfaceService_945f7a13_Tie.transformCommStmt(_EJSRemoteStatelessTFGExternalInterfaceService_945f7a13_Tie.java:160)
    6. com.republic.externalinterface.service._EJSRemoteStatelessTFGExternalInterfaceService_945f7a13_Tie._invoke(_EJSRemoteStatelessTFGExternalInterfaceService_945f7a13_Tie.java:99)
    6 frames
  4. com.ibm.CORBA
    ServerDelegate.dispatch
    1. com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:602)
    2. com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:455)
    2 frames
  5. com.ibm.rmi
    ORB.process
    1. com.ibm.rmi.iiop.ORB.process(ORB.java:402)
    1 frame
  6. com.ibm.CORBA
    ORB.process
    1. com.ibm.CORBA.iiop.ORB.process(ORB.java:1685)
    1 frame
  7. com.ibm.rmi
    WorkUnitImpl.doWork
    1. com.ibm.rmi.iiop.Connection.doWork(Connection.java:2173)
    2. com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:64)
    2 frames
  8. com.ibm.ejs
    PooledThread.run
    1. com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)
    1 frame
  9. com.ibm.ws
    ThreadPool$Worker.run
    1. com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java)
    1 frame