google-code-export / zkspreadsheet

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

Exception when right cllick row header and insert a row #184

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run zssapp
2. Right click row header and select insert Row
3.

What is the expected output? What do you see instead?
expect: A row is inserted
real: Exception thrown
 ---
org.zkoss.zk.ui.UiException: illegal selection : left:0,top:8,right:255,bottom:8
    at org.zkoss.zss.ui.Spreadsheet.setSelection(Spreadsheet.java:1197)
    at org.zkoss.zss.app.MainWindowCtrl.onInsertRows(MainWindowCtrl.java:966)
    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:87)
    at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:208)
    at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:140)
    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:2999)
    at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:208)
    at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:140)
    at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1602)
    at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1386)
    at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1106)
    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 9 Nov 2010 at 11:29

GoogleCodeExporter commented 9 years ago

Original comment by chenhe...@gmail.com on 9 Nov 2010 at 11:31