Service Virtualization

 View Only
  • 1.  TestCase.execute(): null - StackOverflowError : GregorianCalendar

    Posted Jan 21, 2020 03:01 PM

    Hi everyone,

    I am currently running a service that occasionally gets this error and eventually brings down the service. I'm not able to pinpoint to what request causes this.

    Any ideas why this may happen and ways I can prevent it from bringing my service down? 

    Here is the error in my VSE logs

     WARN  com.itko.lisa.test.TestCase    - Got throwable in TestCase.execute(): null
    java.lang.StackOverflowError
    	at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:2312)
    	at java.util.Calendar.setTimeInMillis(Calendar.java:1804)
    	at java.util.Calendar.setTime(Calendar.java:1770)
    	at java.text.SimpleDateFormat.format(SimpleDateFormat.java:943)
    	at java.text.SimpleDateFormat.format(SimpleDateFormat.java:936)
    	at java.text.DateFormat.format(DateFormat.java:345)
    	at org.apache.log4j.pattern.CachedDateFormat.format(CachedDateFormat.java:283)
    	at org.apache.log4j.pattern.DatePatternConverter.format(DatePatternConverter.java:180)



  • 2.  RE: TestCase.execute(): null - StackOverflowError : GregorianCalendar
    Best Answer

    Broadcom Employee
    Posted Feb 05, 2020 09:38 AM
    What version of DevTest are you running?

    Is your test case going against a Virtual Service?

    ------------------------------
    Technical Support Engineer III
    Broadcom, Inc
    ------------------------------