java.lang.NullPointerException

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

    h3. Reproducing Steps: # open {{zss.test/display2003.zul}} # delete sheet ""chart-image"" # select the sheet "chart-unsupported" *Actual:* a exception is trown. {quote} 警告: fail to load chart series data java.lang.NullPointerException at org.zkoss.zss.model.sys.impl.XRangeImpl.initCellRef(XRangeImpl.java:95) at org.zkoss.zss.model.sys.impl.XRangeImpl.<init>(XRangeImpl.java:91) at org.zkoss.zss.model.sys.XRanges.newRange(XRanges.java:245) at org.zkoss.zss.model.sys.XRanges.range(XRanges.java:200) at org.zkoss.zssex.util.ChartHelper.prepareTitle(ChartHelper.java:478) at org.zkoss.zssex.util.ChartHelper.prepareXYModel(ChartHelper.java:403) at org.zkoss.zssex.util.ChartHelper.prepareScatterModel(ChartHelper.java:361) at org.zkoss.zssex.util.ChartHelper.drawHSSFChart(ChartHelper.java:351) at org.zkoss.zssex.util.ChartHelper.drawChart(ChartHelper.java:324) at org.zkoss.zssex.ui.widget.ChartWidget.initChart(ChartWidget.java:196) at org.zkoss.zssex.ui.widget.ChartWidget.<init>(ChartWidget.java:57) at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.newChartWidget(DefaultBookWidgetLoader.java:422) at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.newChartWidgetGroup(DefaultBookWidgetLoader.java:415) at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.prepareChartWidgets(DefaultBookWidgetLoader.java:186) at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.onSheetSelected(DefaultBookWidgetLoader.java:93) at org.zkoss.zss.ui.Spreadsheet.afterSheetSelected(Spreadsheet.java:4184) at org.zkoss.zss.ui.Spreadsheet.setSelectedSheet(Spreadsheet.java:833) at org.zkoss.zss.ui.impl.ua.DeleteSheetHandler.processAction(DeleteSheetHandler.java:62) at org.zkoss.zss.ui.impl.ua.AbstractHandler.process(AbstractHandler.java:57) at org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.dispatchAuxAction(DefaultUserActionManagerCtrl.java:272) at org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.onEvent(DefaultUserActionManagerCtrl.java:395) at org.zkoss.zssex.ui.impl.UserActionManagerCtrlImpl.onEvent(UserActionManagerCtrlImpl.java:288) at org.zkoss.zss.ui.Spreadsheet$3.onEvent(Spreadsheet.java:388) at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2743) at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2714) at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2655) 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:601) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:483) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:492) 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) {quote}

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

    h3. Reproducing Steps: # open {{zss.test/display2003.zul}} # delete sheet ""chart-image"" # select the sheet "chart-unsupported" *Actual:* a exception is trown. {quote} 警告: fail to load chart series data java.lang.NullPointerException at org.zkoss.zss.model.sys.impl.XRangeImpl.initCellRef(XRangeImpl.java:95) at org.zkoss.zss.model.sys.impl.XRangeImpl.<init>(XRangeImpl.java:91) at org.zkoss.zss.model.sys.XRanges.newRange(XRanges.java:245) at org.zkoss.zss.model.sys.XRanges.range(XRanges.java:200) at org.zkoss.zssex.util.ChartHelper.prepareTitle(ChartHelper.java:478) at org.zkoss.zssex.util.ChartHelper.prepareXYModel(ChartHelper.java:403) at org.zkoss.zssex.util.ChartHelper.prepareScatterModel(ChartHelper.java:361) at org.zkoss.zssex.util.ChartHelper.drawHSSFChart(ChartHelper.java:351) at org.zkoss.zssex.util.ChartHelper.drawChart(ChartHelper.java:324) at org.zkoss.zssex.ui.widget.ChartWidget.initChart(ChartWidget.java:196) at org.zkoss.zssex.ui.widget.ChartWidget.<init>(ChartWidget.java:57) at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.newChartWidget(DefaultBookWidgetLoader.java:422) at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.newChartWidgetGroup(DefaultBookWidgetLoader.java:415) at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.prepareChartWidgets(DefaultBookWidgetLoader.java:186) at org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.onSheetSelected(DefaultBookWidgetLoader.java:93) at org.zkoss.zss.ui.Spreadsheet.afterSheetSelected(Spreadsheet.java:4184) at org.zkoss.zss.ui.Spreadsheet.setSelectedSheet(Spreadsheet.java:833) at org.zkoss.zss.ui.impl.ua.DeleteSheetHandler.processAction(DeleteSheetHandler.java:62) at org.zkoss.zss.ui.impl.ua.AbstractHandler.process(AbstractHandler.java:57) at org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.dispatchAuxAction(DefaultUserActionManagerCtrl.java:272) at org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.onEvent(DefaultUserActionManagerCtrl.java:395) at org.zkoss.zssex.ui.impl.UserActionManagerCtrlImpl.onEvent(UserActionManagerCtrlImpl.java:288) at org.zkoss.zss.ui.Spreadsheet$3.onEvent(Spreadsheet.java:388) at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2743) at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2714) at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2655) 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:601) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:483) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:492) 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) {quote}

    ZK-Tracker | 3 years ago | hawk
    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.zss.model.sys.impl.XRangeImpl.initCellRef()
    2. org.zkoss.zss
      XRanges.range
      1. org.zkoss.zss.model.sys.impl.XRangeImpl.initCellRef(XRangeImpl.java:95)
      2. org.zkoss.zss.model.sys.impl.XRangeImpl.<init>(XRangeImpl.java:91)
      3. org.zkoss.zss.model.sys.XRanges.newRange(XRanges.java:245)
      4. org.zkoss.zss.model.sys.XRanges.range(XRanges.java:200)
      4 frames
    3. org.zkoss.zssex
      DefaultBookWidgetLoader.onSheetSelected
      1. org.zkoss.zssex.util.ChartHelper.prepareTitle(ChartHelper.java:478)
      2. org.zkoss.zssex.util.ChartHelper.prepareXYModel(ChartHelper.java:403)
      3. org.zkoss.zssex.util.ChartHelper.prepareScatterModel(ChartHelper.java:361)
      4. org.zkoss.zssex.util.ChartHelper.drawHSSFChart(ChartHelper.java:351)
      5. org.zkoss.zssex.util.ChartHelper.drawChart(ChartHelper.java:324)
      6. org.zkoss.zssex.ui.widget.ChartWidget.initChart(ChartWidget.java:196)
      7. org.zkoss.zssex.ui.widget.ChartWidget.<init>(ChartWidget.java:57)
      8. org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.newChartWidget(DefaultBookWidgetLoader.java:422)
      9. org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.newChartWidgetGroup(DefaultBookWidgetLoader.java:415)
      10. org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.prepareChartWidgets(DefaultBookWidgetLoader.java:186)
      11. org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.onSheetSelected(DefaultBookWidgetLoader.java:93)
      11 frames
    4. org.zkoss.zss
      DefaultUserActionManagerCtrl.onEvent
      1. org.zkoss.zss.ui.Spreadsheet.afterSheetSelected(Spreadsheet.java:4184)
      2. org.zkoss.zss.ui.Spreadsheet.setSelectedSheet(Spreadsheet.java:833)
      3. org.zkoss.zss.ui.impl.ua.DeleteSheetHandler.processAction(DeleteSheetHandler.java:62)
      4. org.zkoss.zss.ui.impl.ua.AbstractHandler.process(AbstractHandler.java:57)
      5. org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.dispatchAuxAction(DefaultUserActionManagerCtrl.java:272)
      6. org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.onEvent(DefaultUserActionManagerCtrl.java:395)
      6 frames
    5. org.zkoss.zssex
      UserActionManagerCtrlImpl.onEvent
      1. org.zkoss.zssex.ui.impl.UserActionManagerCtrlImpl.onEvent(UserActionManagerCtrlImpl.java:288)
      1 frame
    6. org.zkoss.zss
      Spreadsheet$3.onEvent
      1. org.zkoss.zss.ui.Spreadsheet$3.onEvent(Spreadsheet.java:388)
      1 frame
    7. ZK Kernel
      DHtmlUpdateServlet.doPost
      1. org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2743)
      2. org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2714)
      3. org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2655)
      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:601)
      9. org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:483)
      10. org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:492)
      10 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    9. 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
    10. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      1 frame