java.lang.NullPointerException

ZK-Tracker | dennis | 3 years ago
  1. 0

    in 2003, 1.set A2 color 2.undo the action by ctrl+z {code} >>java.lang.NullPointerException >> at org.zkoss.poi.hssf.usermodel.HSSFCell.setCellStyle(HSSFCell.java:908) >> at org.zkoss.poi.hssf.usermodel.HSSFCell.setCellStyle(HSSFCell.java:904) >> at org.zkoss.zss.model.sys.impl.BookHelper.setCellStyle(BookHelper.java:3309) >> at org.zkoss.zss.model.sys.impl.XRangeImpl.setStyle(XRangeImpl.java:1609) >> at org.zkoss.zss.api.impl.RangeImpl.setCellStyle(RangeImpl.java:239) >> at org.zkoss.zss.api.impl.RangeImpl.clearStyles(RangeImpl.java:234) >> at org.zkoss.zss.ui.impl.undo.ReserveUtil$ReservedResult.restore(ReserveUtil.java:251) >> at org.zkoss.zss.ui.impl.undo.AbstractCellDataStyleAction.undoAction(AbstractCellDataStyleAction.java:121) >> at org.zkoss.zssex.ui.impl.UndoableActionManagerImpl.undoAction(UndoableActionManagerImpl.java:94) >> at org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.doUndo(DefaultUserActionManagerCtrl.java:502) >> at org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl$2.processAction(DefaultUserActionManagerCtrl.java:239) >> at org.zkoss.zss.ui.impl.ua.AbstractHandler.process(AbstractHandler.java:58) >> at org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.dispatchKeyAction(DefaultUserActionManagerCtrl.java:324) >> at org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.onEvent(DefaultUserActionManagerCtrl.java:409) >> at org.zkoss.zssex.ui.impl.UserActionManagerCtrlImpl.onEvent(UserActionManagerCtrlImpl.java:285) >> at org.zkoss.zss.ui.Spreadsheet$3.onEvent(Spreadsheet.java:385) >> at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2748) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2719) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2660) >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136) >> at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1720) >> at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1505) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1215) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:600) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:482) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:491) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) >> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) >> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401) >> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) >> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) >> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) >> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) >> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) >> at org.mortbay.jetty.Server.handle(Server.java:326) >> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) >> at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) >> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) >> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) >> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) >> at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) >> at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) {code}

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

    in 2003, 1.set A2 color 2.undo the action by ctrl+z {code} >>java.lang.NullPointerException >> at org.zkoss.poi.hssf.usermodel.HSSFCell.setCellStyle(HSSFCell.java:908) >> at org.zkoss.poi.hssf.usermodel.HSSFCell.setCellStyle(HSSFCell.java:904) >> at org.zkoss.zss.model.sys.impl.BookHelper.setCellStyle(BookHelper.java:3309) >> at org.zkoss.zss.model.sys.impl.XRangeImpl.setStyle(XRangeImpl.java:1609) >> at org.zkoss.zss.api.impl.RangeImpl.setCellStyle(RangeImpl.java:239) >> at org.zkoss.zss.api.impl.RangeImpl.clearStyles(RangeImpl.java:234) >> at org.zkoss.zss.ui.impl.undo.ReserveUtil$ReservedResult.restore(ReserveUtil.java:251) >> at org.zkoss.zss.ui.impl.undo.AbstractCellDataStyleAction.undoAction(AbstractCellDataStyleAction.java:121) >> at org.zkoss.zssex.ui.impl.UndoableActionManagerImpl.undoAction(UndoableActionManagerImpl.java:94) >> at org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.doUndo(DefaultUserActionManagerCtrl.java:502) >> at org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl$2.processAction(DefaultUserActionManagerCtrl.java:239) >> at org.zkoss.zss.ui.impl.ua.AbstractHandler.process(AbstractHandler.java:58) >> at org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.dispatchKeyAction(DefaultUserActionManagerCtrl.java:324) >> at org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.onEvent(DefaultUserActionManagerCtrl.java:409) >> at org.zkoss.zssex.ui.impl.UserActionManagerCtrlImpl.onEvent(UserActionManagerCtrlImpl.java:285) >> at org.zkoss.zss.ui.Spreadsheet$3.onEvent(Spreadsheet.java:385) >> at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2748) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2719) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2660) >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136) >> at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1720) >> at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1505) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1215) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:600) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:482) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:491) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) >> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) >> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401) >> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) >> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) >> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) >> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) >> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) >> at org.mortbay.jetty.Server.handle(Server.java:326) >> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) >> at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) >> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) >> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) >> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) >> at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) >> at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) {code}

    ZK-Tracker | 3 years ago | dennis
    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.hssf.usermodel.HSSFCell.setCellStyle()
    2. org.zkoss.poi
      HSSFCell.setCellStyle
      1. org.zkoss.poi.hssf.usermodel.HSSFCell.setCellStyle(HSSFCell.java:908)
      2. org.zkoss.poi.hssf.usermodel.HSSFCell.setCellStyle(HSSFCell.java:904)
      2 frames
    3. org.zkoss.zss
      AbstractCellDataStyleAction.undoAction
      1. org.zkoss.zss.model.sys.impl.BookHelper.setCellStyle(BookHelper.java:3309)
      2. org.zkoss.zss.model.sys.impl.XRangeImpl.setStyle(XRangeImpl.java:1609)
      3. org.zkoss.zss.api.impl.RangeImpl.setCellStyle(RangeImpl.java:239)
      4. org.zkoss.zss.api.impl.RangeImpl.clearStyles(RangeImpl.java:234)
      5. org.zkoss.zss.ui.impl.undo.ReserveUtil$ReservedResult.restore(ReserveUtil.java:251)
      6. org.zkoss.zss.ui.impl.undo.AbstractCellDataStyleAction.undoAction(AbstractCellDataStyleAction.java:121)
      6 frames
    4. org.zkoss.zssex
      UndoableActionManagerImpl.undoAction
      1. org.zkoss.zssex.ui.impl.UndoableActionManagerImpl.undoAction(UndoableActionManagerImpl.java:94)
      1 frame
    5. org.zkoss.zss
      DefaultUserActionManagerCtrl.onEvent
      1. org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.doUndo(DefaultUserActionManagerCtrl.java:502)
      2. org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl$2.processAction(DefaultUserActionManagerCtrl.java:239)
      3. org.zkoss.zss.ui.impl.ua.AbstractHandler.process(AbstractHandler.java:58)
      4. org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.dispatchKeyAction(DefaultUserActionManagerCtrl.java:324)
      5. org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.onEvent(DefaultUserActionManagerCtrl.java:409)
      5 frames
    6. org.zkoss.zssex
      UserActionManagerCtrlImpl.onEvent
      1. org.zkoss.zssex.ui.impl.UserActionManagerCtrlImpl.onEvent(UserActionManagerCtrlImpl.java:285)
      1 frame
    7. org.zkoss.zss
      Spreadsheet$3.onEvent
      1. org.zkoss.zss.ui.Spreadsheet$3.onEvent(Spreadsheet.java:385)
      1 frame
    8. ZK Kernel
      DHtmlUpdateServlet.doPost
      1. org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2748)
      2. org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2719)
      3. org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2660)
      4. org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136)
      5. org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1720)
      6. org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1505)
      7. org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1215)
      8. org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:600)
      9. org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:482)
      10. org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:491)
      10 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    10. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
      7. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      8. org.mortbay.jetty.Server.handle(Server.java:326)
      9. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
      10. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
      11. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
      12. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
      13. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      14. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
      14 frames
    11. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      1 frame