Alberto1202 / zkspreadsheet

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

ZK Spreadsheet App: NPE when focus on formulabar editor with a no book Spreadsheet #271

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start zssapp
2. press the "X" close mark on the right top corner to close the current book
3. click on the formula bar editor

What is the expected output? What do you see instead?
Expect: nothing happen
Real: NPE

---
SEVERE: >>java.lang.NullPointerException
>>  at org.zkoss.zss.ui.impl.Utils.getCell(Utils.java:682)
>>  at org.zkoss.zss.app.zul.FormulaEditor.onFocus(FormulaEditor.java:85)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
>>  at java.lang.reflect.Method.invoke(Method.java:597)
>>  at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:195)
>>  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)
>>...
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 12:55

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

Original comment by chenhe...@gmail.com on 30 Dec 2010 at 1:03

GoogleCodeExporter commented 9 years ago

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