Hi there,
(jOpenDocument 1.2.b3)
1. When I create a new sheet using sh.addSheet () and then invoke
sh.ensureColumnCount(),
the last method always fails the *first* time with a null pointer
error message. Just trying the same method with the same arguments
again (using a try-catch construct) makes the method work.
Uninitialized data or pointers somewhere?
BTW I don't see this behaviour on existing sheets.
2. When creating a sheet using addSheet, followed by invoking
ensureColumnCount (twice, see above), trying to add data (e.g., a 100
rows x 1024 columns numerical array) fails.
If I try-catch each sh.getCellAt().setValue() method, in the end I get
a 100 rows by 1024 columns sheet, but the upper row only contains 1
single cell at A1. Trying to access the next cells (at B1, C1, ...)
always fails with java errors ("out of bound").
All the other rows (A2:AMJ1024) are complete and look good, however.
Perhaps this one is related to the first bug (above). I suspect
ensureColumnCount() doesn't work on the first row (wrong index? 0-
based & 1-based confusion?)
This second issue is definitely a showstopper for octave.
Best wishes,
Philip
--
Subscription settings:
http://groups.google.com/group/jopendocument/subscribe?hl=en