java.lang.NullPointerException

ZK-Tracker | JerryChen | 2 years ago
  1. 0

    happened when saving a file. when reopen that file again, i can't reproduce this case. Exception is shown following {code} java.lang.NullPointerException at org.zkoss.poi.xssf.model.CommentsTable.findAuthor(CommentsTable.java:103) at org.zkoss.poi.xssf.usermodel.XSSFComment.setAuthor(XSSFComment.java:65) at org.zkoss.zss.range.impl.imexp.AbstractExcelExporter.exportCell(AbstractExcelExporter.java:471) at org.zkoss.zss.range.impl.imexp.AbstractExcelExporter.exportRow(AbstractExcelExporter.java:367) at org.zkoss.zss.range.impl.imexp.AbstractExcelExporter.exportRowColumn(AbstractExcelExporter.java:329) at org.zkoss.zss.range.impl.imexp.AbstractExcelExporter.export(AbstractExcelExporter.java:131) at org.zkoss.zss.api.impl.ExporterImpl.export(ExporterImpl.java:49) at org.zkoss.zss.app.repository.impl.SimpleRepository.exportBook(SimpleRepository.java:136) at org.zkoss.zss.app.repository.impl.SimpleRepository.save(SimpleRepository.java:91) at org.zkoss.zss.app.repository.impl.SimpleRepository.saveAs(SimpleRepository.java:157) at org.zkoss.zssex.app.impl.BookManagerEx.saveBook(BookManagerEx.java:83) at org.zkoss.zss.app.ui.AppCtrl$17.onEvent(AppCtrl.java:627) at org.zkoss.zss.app.ui.AppCtrl$17.onEvent(AppCtrl.java:615) at org.zkoss.zss.app.ui.dlg.DlgCtrlBase$1.onEvent(DlgCtrlBase.java:57) at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2752) at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2723) at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2664) at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136) at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1765) at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1550) at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1260) at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:611) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:485) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:494) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) {code}

    ZK-Tracker | 2 years ago | JerryChen
    java.lang.NullPointerException
  2. 0

    happened when saving a file. when reopen that file again, i can't reproduce this case. Exception is shown following {code} java.lang.NullPointerException at org.zkoss.poi.xssf.model.CommentsTable.findAuthor(CommentsTable.java:103) at org.zkoss.poi.xssf.usermodel.XSSFComment.setAuthor(XSSFComment.java:65) at org.zkoss.zss.range.impl.imexp.AbstractExcelExporter.exportCell(AbstractExcelExporter.java:471) at org.zkoss.zss.range.impl.imexp.AbstractExcelExporter.exportRow(AbstractExcelExporter.java:367) at org.zkoss.zss.range.impl.imexp.AbstractExcelExporter.exportRowColumn(AbstractExcelExporter.java:329) at org.zkoss.zss.range.impl.imexp.AbstractExcelExporter.export(AbstractExcelExporter.java:131) at org.zkoss.zss.api.impl.ExporterImpl.export(ExporterImpl.java:49) at org.zkoss.zss.app.repository.impl.SimpleRepository.exportBook(SimpleRepository.java:136) at org.zkoss.zss.app.repository.impl.SimpleRepository.save(SimpleRepository.java:91) at org.zkoss.zss.app.repository.impl.SimpleRepository.saveAs(SimpleRepository.java:157) at org.zkoss.zssex.app.impl.BookManagerEx.saveBook(BookManagerEx.java:83) at org.zkoss.zss.app.ui.AppCtrl$17.onEvent(AppCtrl.java:627) at org.zkoss.zss.app.ui.AppCtrl$17.onEvent(AppCtrl.java:615) at org.zkoss.zss.app.ui.dlg.DlgCtrlBase$1.onEvent(DlgCtrlBase.java:57) at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2752) at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2723) at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2664) at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136) at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1765) at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1550) at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1260) at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:611) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:485) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:494) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) {code}

    ZK-Tracker | 2 years ago | JerryChen
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 org.zkoss.poi.xssf.model.CommentsTable.findAuthor()
    2. org.zkoss.poi
      XSSFComment.setAuthor
      1. org.zkoss.poi.xssf.model.CommentsTable.findAuthor(CommentsTable.java:103)
      2. org.zkoss.poi.xssf.usermodel.XSSFComment.setAuthor(XSSFComment.java:65)
      2 frames
    3. org.zkoss.zss
      SimpleRepository.saveAs
      1. org.zkoss.zss.range.impl.imexp.AbstractExcelExporter.exportCell(AbstractExcelExporter.java:471)
      2. org.zkoss.zss.range.impl.imexp.AbstractExcelExporter.exportRow(AbstractExcelExporter.java:367)
      3. org.zkoss.zss.range.impl.imexp.AbstractExcelExporter.exportRowColumn(AbstractExcelExporter.java:329)
      4. org.zkoss.zss.range.impl.imexp.AbstractExcelExporter.export(AbstractExcelExporter.java:131)
      5. org.zkoss.zss.api.impl.ExporterImpl.export(ExporterImpl.java:49)
      6. org.zkoss.zss.app.repository.impl.SimpleRepository.exportBook(SimpleRepository.java:136)
      7. org.zkoss.zss.app.repository.impl.SimpleRepository.save(SimpleRepository.java:91)
      8. org.zkoss.zss.app.repository.impl.SimpleRepository.saveAs(SimpleRepository.java:157)
      8 frames
    4. org.zkoss.zssex
      BookManagerEx.saveBook
      1. org.zkoss.zssex.app.impl.BookManagerEx.saveBook(BookManagerEx.java:83)
      1 frame
    5. org.zkoss.zss
      DlgCtrlBase$1.onEvent
      1. org.zkoss.zss.app.ui.AppCtrl$17.onEvent(AppCtrl.java:627)
      2. org.zkoss.zss.app.ui.AppCtrl$17.onEvent(AppCtrl.java:615)
      3. org.zkoss.zss.app.ui.dlg.DlgCtrlBase$1.onEvent(DlgCtrlBase.java:57)
      3 frames
    6. ZK Kernel
      DHtmlUpdateServlet.doPost
      1. org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2752)
      2. org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2723)
      3. org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2664)
      4. org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136)
      5. org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1765)
      6. org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1550)
      7. org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1260)
      8. org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:611)
      9. org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:485)
      10. org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:494)
      10 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      2 frames
    8. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      10 frames
    9. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
      3 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:701)
      3 frames