java.lang.NullPointerException

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

    h3. Reproducing Steps: 1. goto sheet ""chart-image"", select a row above row 13, insert one row 2. goto another sheet 3. go back to sheet "chart-image" *Expected:* chart is displayed correctly. *Actual:* NPE is thrown. {quote} 嚴重的: >>java.lang.NullPointerException >> at org.zkoss.zssex.util.ChartHelper.prepareSingleReferenceTitle(ChartHelper.java:1002) >> at org.zkoss.zssex.util.ChartHelper.prepareTitle(ChartHelper.java:974) >> at org.zkoss.zssex.util.ChartHelper.getFristSeriesTitle(ChartHelper.java:962) >> at org.zkoss.zssex.util.ChartHelper.getFirstSeriesTitle(ChartHelper.java:955) >> at org.zkoss.zssex.util.ChartHelper.getChartTitle(ChartHelper.java:933) >> at org.zkoss.zssex.util.ChartHelper.drawXSSFChartInner(ChartHelper.java:915) >> at org.zkoss.zssex.util.ChartHelper.drawXSSFChart(ChartHelper.java:700) >> at org.zkoss.zssex.util.ChartHelper.drawChart(ChartHelper.java:326) >> 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.setSelectedSheetDirectly(Spreadsheet.java:877) >> at org.zkoss.zss.ui.Spreadsheet.access$43(Spreadsheet.java:862) >> at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.setSelectedSheetDirectly(Spreadsheet.java:3678) >> at org.zkoss.zss.ui.au.in.SelectSheetCommand.process(SelectSheetCommand.java:87) >> at org.zkoss.zss.ui.Spreadsheet.service(Spreadsheet.java:4941) >> at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:708) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1204) >> 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: 1. goto sheet ""chart-image"", select a row above row 13, insert one row 2. goto another sheet 3. go back to sheet "chart-image" *Expected:* chart is displayed correctly. *Actual:* NPE is thrown. {quote} 嚴重的: >>java.lang.NullPointerException >> at org.zkoss.zssex.util.ChartHelper.prepareSingleReferenceTitle(ChartHelper.java:1002) >> at org.zkoss.zssex.util.ChartHelper.prepareTitle(ChartHelper.java:974) >> at org.zkoss.zssex.util.ChartHelper.getFristSeriesTitle(ChartHelper.java:962) >> at org.zkoss.zssex.util.ChartHelper.getFirstSeriesTitle(ChartHelper.java:955) >> at org.zkoss.zssex.util.ChartHelper.getChartTitle(ChartHelper.java:933) >> at org.zkoss.zssex.util.ChartHelper.drawXSSFChartInner(ChartHelper.java:915) >> at org.zkoss.zssex.util.ChartHelper.drawXSSFChart(ChartHelper.java:700) >> at org.zkoss.zssex.util.ChartHelper.drawChart(ChartHelper.java:326) >> 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.setSelectedSheetDirectly(Spreadsheet.java:877) >> at org.zkoss.zss.ui.Spreadsheet.access$43(Spreadsheet.java:862) >> at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.setSelectedSheetDirectly(Spreadsheet.java:3678) >> at org.zkoss.zss.ui.au.in.SelectSheetCommand.process(SelectSheetCommand.java:87) >> at org.zkoss.zss.ui.Spreadsheet.service(Spreadsheet.java:4941) >> at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:708) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1204) >> 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

    h3. Reproducing Steps: 1. open zss.test/display2003.zul 2. move left the sheet ""chart-image"" 3. select arbitrary another sheet, e.g. the sheet ""column"" 4. select the sheet ""chart-image"" again Expected: the sheet ""chart-image"" showed Actual: {quote} 嚴重的: >>java.lang.NullPointerException >> at org.zkoss.zssex.util.ChartHelper.prepareTitle(ChartHelper.java:479) >> at org.zkoss.zssex.util.ChartHelper.getFirstSeriesTitle(ChartHelper.java:461) >> at org.zkoss.zssex.util.ChartHelper.getChartTitle(ChartHelper.java:451) >> at org.zkoss.zssex.util.ChartHelper.drawHSSFChartInner(ChartHelper.java:441) >> at org.zkoss.zssex.util.ChartHelper.drawHSSFChart(ChartHelper.java:356) >> at org.zkoss.zssex.util.ChartHelper.drawChart(ChartHelper.java:324) >> at org.zkoss.zssex.ui.widget.ChartWidget.initChart(ChartWidget.java:185) >> 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.setSelectedSheetDirectly(Spreadsheet.java:877) >> at org.zkoss.zss.ui.Spreadsheet.access$43(Spreadsheet.java:862) >> at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.setSelectedSheetDirectly(Spreadsheet.java:3678) >> at org.zkoss.zss.ui.au.in.SelectSheetCommand.process(SelectSheetCommand.java:87) >> at org.zkoss.zss.ui.Spreadsheet.service(Spreadsheet.java:4941) >> at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:708) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1204) >> 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:212) >> 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h3. Reproducing Steps: 1. open zss.test/display2003.zul 2. move left the sheet ""chart-image"" 3. select arbitrary another sheet, e.g. the sheet ""column"" 4. select the sheet ""chart-image"" again Expected: the sheet ""chart-image"" showed Actual: {quote} 嚴重的: >>java.lang.NullPointerException >> at org.zkoss.zssex.util.ChartHelper.prepareTitle(ChartHelper.java:479) >> at org.zkoss.zssex.util.ChartHelper.getFirstSeriesTitle(ChartHelper.java:461) >> at org.zkoss.zssex.util.ChartHelper.getChartTitle(ChartHelper.java:451) >> at org.zkoss.zssex.util.ChartHelper.drawHSSFChartInner(ChartHelper.java:441) >> at org.zkoss.zssex.util.ChartHelper.drawHSSFChart(ChartHelper.java:356) >> at org.zkoss.zssex.util.ChartHelper.drawChart(ChartHelper.java:324) >> at org.zkoss.zssex.ui.widget.ChartWidget.initChart(ChartWidget.java:185) >> 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.setSelectedSheetDirectly(Spreadsheet.java:877) >> at org.zkoss.zss.ui.Spreadsheet.access$43(Spreadsheet.java:862) >> at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.setSelectedSheetDirectly(Spreadsheet.java:3678) >> at org.zkoss.zss.ui.au.in.SelectSheetCommand.process(SelectSheetCommand.java:87) >> at org.zkoss.zss.ui.Spreadsheet.service(Spreadsheet.java:4941) >> at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:708) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1204) >> 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:212) >> 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
  6. 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

    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.zssex.util.ChartHelper.prepareSingleReferenceTitle()
    2. org.zkoss.zssex
      DefaultBookWidgetLoader.onSheetSelected
      1. org.zkoss.zssex.util.ChartHelper.prepareSingleReferenceTitle(ChartHelper.java:1002)
      2. org.zkoss.zssex.util.ChartHelper.prepareTitle(ChartHelper.java:974)
      3. org.zkoss.zssex.util.ChartHelper.getFristSeriesTitle(ChartHelper.java:962)
      4. org.zkoss.zssex.util.ChartHelper.getFirstSeriesTitle(ChartHelper.java:955)
      5. org.zkoss.zssex.util.ChartHelper.getChartTitle(ChartHelper.java:933)
      6. org.zkoss.zssex.util.ChartHelper.drawXSSFChartInner(ChartHelper.java:915)
      7. org.zkoss.zssex.util.ChartHelper.drawXSSFChart(ChartHelper.java:700)
      8. org.zkoss.zssex.util.ChartHelper.drawChart(ChartHelper.java:326)
      9. org.zkoss.zssex.ui.widget.ChartWidget.initChart(ChartWidget.java:196)
      10. org.zkoss.zssex.ui.widget.ChartWidget.<init>(ChartWidget.java:57)
      11. org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.newChartWidget(DefaultBookWidgetLoader.java:422)
      12. org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.newChartWidgetGroup(DefaultBookWidgetLoader.java:415)
      13. org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.prepareChartWidgets(DefaultBookWidgetLoader.java:186)
      14. org.zkoss.zssex.ui.widget.DefaultBookWidgetLoader.onSheetSelected(DefaultBookWidgetLoader.java:93)
      14 frames
    3. org.zkoss.zss
      Spreadsheet.service
      1. org.zkoss.zss.ui.Spreadsheet.afterSheetSelected(Spreadsheet.java:4184)
      2. org.zkoss.zss.ui.Spreadsheet.setSelectedSheetDirectly(Spreadsheet.java:877)
      3. org.zkoss.zss.ui.Spreadsheet.access$43(Spreadsheet.java:862)
      4. org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.setSelectedSheetDirectly(Spreadsheet.java:3678)
      5. org.zkoss.zss.ui.au.in.SelectSheetCommand.process(SelectSheetCommand.java:87)
      6. org.zkoss.zss.ui.Spreadsheet.service(Spreadsheet.java:4941)
      6 frames
    4. ZK Kernel
      DHtmlUpdateServlet.doPost
      1. org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:708)
      2. org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1204)
      3. org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:601)
      4. org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:483)
      5. org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:492)
      5 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    6. 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
    7. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      1 frame