Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi, In SpreadSheet.java, I have a null pointer exception in constructSpreadsheetCells(String[][] l, RemoteServer rs) specifically at f.addSSCellListener(this); because the line before which is f = createCell(l[i][j], rs); causes f to be null. And createCell() returns null if the following is true (!(cell instanceof FancySSCell)) {. Does anyone know when/why the cellConstructor.newInstance(args); would create a null instance? My program was running just fine until I added one line of code to my own method in SpreadSheet.java and now I get this null pointer about 1/15 or 1/20 times I run it. I'm pretty sure the bug is not coming from my code because when the spreadsheet is just loading up, my code has not yet been read. Thanks,
visad
archives: