https://bz.apache.org/bugzilla/show_bug.cgi?id=60373
Bug ID: 60373 Summary: TableCell.getTextHeight() returns Null pointer Exception Product: POI Version: 3.15-FINAL Hardware: PC OS: All Status: NEW Severity: major Priority: P2 Component: XSLF Assignee: dev@poi.apache.org Reporter: apa...@gainsight.com Target Milestone: --- Created attachment 34446 --> https://bz.apache.org/bugzilla/attachment.cgi?id=34446&action=edit This Exception is generated while accessing TableCell.getTextHeight() in the above code. I have a table which needs to be populated with some data.While accessing the cells height using TableCell.getTextHeight() inside the row of that table it is throwing null pointer exception. Despite of the fact that the cell has data and this behaviour is completely random.This behaviour is also produced when accessing TableCell.getAnchor(),which end up with NPE.Even the two consecutive rows have equal data(every cell data is equal with respect to datatype and value respectively),NPE is sometimes produced for one of the Rows without any clue. Here i have attached StackTrace. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org