java.lang.NullPointerException

strutstestcase | nobody | 1 decade ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Stopping orphan quartz scheduler

    Stack Overflow | 4 years ago | Boris Strandjev
    java.lang.NullPointerException

    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.NullPointerException

      No message provided

      at java.lang.System.arraycopy()
    2. Java RT
      StringBuffer.getChars
      1. java.lang.System.arraycopy(Native Method)
      2. java.lang.AbstractStringBuilder.getChars(AbstractStringBuilder.java:331)
      3. java.lang.StringBuffer.getChars(StringBuffer.java:202)
      3 frames
    3. Apache Log4j
      ISO8601DateFormat.format
      1. org.apache.log4j.helpers.ISO8601DateFormat.format(ISO8601DateFormat.java:120)
      1 frame
    4. Java RT
      DateFormat.format
      1. java.text.DateFormat.format(DateFormat.java:314)
      1 frame
    5. Apache Log4j
      Category.log
      1. org.apache.log4j.helpers.PatternParser$DatePatternConverter.convert(PatternParser.java:436)
      2. org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:56)
      3. org.apache.log4j.PatternLayout.format(PatternLayout.java:495)
      4. org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:292)
      5. org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:225)
      6. org.apache.log4j.WriterAppender.append(WriterAppender.java:150)
      7. org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
      8. org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
      9. org.apache.log4j.Category.callAppenders(Category.java:194)
      10. org.apache.log4j.Category.forcedLog(Category.java:379)
      11. org.apache.log4j.Category.log(Category.java:844)
      11 frames
    6. Apache Commons Logging
      Log4JLogger.error
      1. org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:193)
      1 frame
    7. struts
      ActionServlet.init
      1. org.apache.struts.action.ActionServlet.init(ActionServlet.java:364)
      1 frame
    8. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:168)
      1 frame
    9. servletunit.struts
      CactusStrutsTestCase.actionPerform
      1. servletunit.struts.CactusStrutsTestCase.getActionServlet(CactusStrutsTestCase.java:477)
      2. servletunit.struts.CactusStrutsTestCase.actionPerform(CactusStrutsTestCase.java:536)
      2 frames
    10. cz.muni.cba
      TestActionLogin.testSuccessfullLogin
      1. cz.muni.cba.detlib.actions.TestActionLogin.testSuccessfullLogin(TestActionLogin.java:61)
      1 frame
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    12. JUnit
      TestCase.runBare
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      2 frames
    13. org.apache.cactus
      AbstractWebTestCaller.doTest
      1. org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153)
      2. org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)
      2 frames