sexroute / zkspreadsheet

Automatically exported from code.google.com/p/zkspreadsheet
0 stars 0 forks source link

ZK Spreadsheet App: NPE when close the book #272

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. start zssapp
2. press right-top corner "x" button to close the book

What is the expected output? What do you see instead?
Expect: the book closed
Real; NPE

---
java.lang.NullPointerException
    at org.zkoss.zss.ui.impl.Utils.getOrCreateRow(Utils.java:667)
    at org.zkoss.zss.ui.impl.Utils.getOrCreateCell(Utils.java:658)
    at org.zkoss.zss.app.MainWindowCtrl$3.onEvent(MainWindowCtrl.java:240)
    at org.zkoss.zss.app.zul.ctrl.AbstractBaseContext$EventListenerStore.fire(AbstractBaseContext.java:82)
    at org.zkoss.zss.app.zul.ctrl.DesktopWorkbenchContext.fireWorkbookChanged(DesktopWorkbenchContext.java:89)
    at org.zkoss.zss.app.MainWindowCtrl.onClick$closeBtn(MainWindowCtrl.java:410)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.zkoss.zk.ui.event.GenericEventListener.onEvent(GenericEventListener.java:81)
    at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:183)
    at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:138)
    at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:305)
    at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:328)
    at org.zkoss.zk.ui.AbstractComponent$ForwardListener.onEvent(AbstractComponent.java:2998)
    at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:183)
    at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:138)
    at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1603)
    at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1387)
    at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1107)
    at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:561)
    at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:456)
    at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:464)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)

Please use labels and text to provide additional information.

Original issue reported on code.google.com by chenhe...@gmail.com on 30 Dec 2010 at 1:34

GoogleCodeExporter commented 8 years ago
Fixed since Dec. 30, 2010.

Original comment by chenhe...@gmail.com on 30 Dec 2010 at 2:54

GoogleCodeExporter commented 8 years ago

Original comment by chenhe...@gmail.com on 30 Dec 2010 at 3:04