java.lang.NullPointerException

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

    h3. Steps to reproduce # run the project https://github.com/hawkchen/zssperformance on Tomcat 7 # use Jmeter 2.10 to open test plan *CollaborationEditing.jmx* (the file is under [PROJECT-BASE]\TestPlan)(original test plan https://docs.google.com/a/potix.com/document/d/1pK-mi4hO14mKkmlf1qZLwi-wp3uU04wcMVzHk6MuS5I/edit#heading=h.i48nii91fa3p) # set number of thread to 50 in "Thread Group" and run the test plan !numberOfThread.png! h4. Expected The tomcat 7 console shows no error. h4. What I actually see The tomcat 7 console shows many NullPointerException. {quote} Jun 24, 2014 2:50:02 PM org.zkoss.zk.ui.impl.UiEngineImpl handleError SEVERE: java.lang.NullPointerException at org.zkoss.zss.ui.Spreadsheet.updateCell(Spreadsheet.java:2712) at org.zkoss.zss.ui.Spreadsheet.access$4000(Spreadsheet.java:213) at org.zkoss.zss.ui.Spreadsheet$InnerModelEventDispatcher.onCellContentChange(Spreadsheet.java:2346) at org.zkoss.zss.ui.Spreadsheet$InnerModelEventDispatcher.access$1200(Spreadsheet.java:2058) at org.zkoss.zss.ui.Spreadsheet$InnerModelEventDispatcher$7.onEvent(Spreadsheet.java:2102) at org.zkoss.zss.ui.ModelEventDispatcher.onEvent(ModelEventDispatcher.java:49) at org.zkoss.zss.model.impl.EventQueueListenerAdaptor$WrappedListener.onEvent(EventQueueListenerAdaptor.java:105) at org.zkoss.zk.ui.event.impl.DesktopEventQueue$QueueListener.onEvent(DesktopEventQueue.java:152) at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2746) at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2717) at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2658) 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:603) 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:646) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2442) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2431) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:662) {quote}

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

    h3. Steps to reproduce # run the project https://github.com/hawkchen/zssperformance on Tomcat 7 # use Jmeter 2.10 to open test plan *CollaborationEditing.jmx* (the file is under [PROJECT-BASE]\TestPlan)(original test plan https://docs.google.com/a/potix.com/document/d/1pK-mi4hO14mKkmlf1qZLwi-wp3uU04wcMVzHk6MuS5I/edit#heading=h.i48nii91fa3p) # set number of thread to 50 in "Thread Group" and run the test plan !numberOfThread.png! h4. Expected The tomcat 7 console shows no error. h4. What I actually see The tomcat 7 console shows many NullPointerException. {quote} Jun 24, 2014 2:50:02 PM org.zkoss.zk.ui.impl.UiEngineImpl handleError SEVERE: java.lang.NullPointerException at org.zkoss.zss.ui.Spreadsheet.updateCell(Spreadsheet.java:2712) at org.zkoss.zss.ui.Spreadsheet.access$4000(Spreadsheet.java:213) at org.zkoss.zss.ui.Spreadsheet$InnerModelEventDispatcher.onCellContentChange(Spreadsheet.java:2346) at org.zkoss.zss.ui.Spreadsheet$InnerModelEventDispatcher.access$1200(Spreadsheet.java:2058) at org.zkoss.zss.ui.Spreadsheet$InnerModelEventDispatcher$7.onEvent(Spreadsheet.java:2102) at org.zkoss.zss.ui.ModelEventDispatcher.onEvent(ModelEventDispatcher.java:49) at org.zkoss.zss.model.impl.EventQueueListenerAdaptor$WrappedListener.onEvent(EventQueueListenerAdaptor.java:105) at org.zkoss.zk.ui.event.impl.DesktopEventQueue$QueueListener.onEvent(DesktopEventQueue.java:152) at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2746) at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2717) at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2658) 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:603) 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:646) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2442) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2431) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:662) {quote}

    ZK-Tracker | 2 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.ui.Spreadsheet.updateCell()
    2. org.zkoss.zss
      EventQueueListenerAdaptor$WrappedListener.onEvent
      1. org.zkoss.zss.ui.Spreadsheet.updateCell(Spreadsheet.java:2712)
      2. org.zkoss.zss.ui.Spreadsheet.access$4000(Spreadsheet.java:213)
      3. org.zkoss.zss.ui.Spreadsheet$InnerModelEventDispatcher.onCellContentChange(Spreadsheet.java:2346)
      4. org.zkoss.zss.ui.Spreadsheet$InnerModelEventDispatcher.access$1200(Spreadsheet.java:2058)
      5. org.zkoss.zss.ui.Spreadsheet$InnerModelEventDispatcher$7.onEvent(Spreadsheet.java:2102)
      6. org.zkoss.zss.ui.ModelEventDispatcher.onEvent(ModelEventDispatcher.java:49)
      7. org.zkoss.zss.model.impl.EventQueueListenerAdaptor$WrappedListener.onEvent(EventQueueListenerAdaptor.java:105)
      7 frames
    3. ZK Kernel
      DHtmlUpdateServlet.doPost
      1. org.zkoss.zk.ui.event.impl.DesktopEventQueue$QueueListener.onEvent(DesktopEventQueue.java:152)
      2. org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2746)
      3. org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2717)
      4. org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2658)
      5. org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136)
      6. org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1765)
      7. org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1550)
      8. org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1260)
      9. org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:603)
      10. org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:485)
      11. org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:494)
      11 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2 frames
    5. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      10 frames
    6. Grizzly HTTP
      AprEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
      3. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2442)
      4. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2431)
      4 frames
    7. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      2 frames
    8. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame