NightWhistler/PageTurner — Issue #40: Bug: crash while rendering table rows
Author: NightWhistler
Created: 2012-01-17 11:21:25+00:00
State: open

Caused by: java.lang.ArithmeticException: divide by zero
E/AndroidRuntime(29526):	at net.nightwhistler.htmlspanner.handlers.TableHandler.calculateRowHeight(TableHandler.java:156)
E/AndroidRuntime(29526):	at net.nightwhistler.htmlspanner.handlers.TableHandler.access$300(TableHandler.java:52)
E/AndroidRuntime(29526):	at net.nightwhistler.htmlspanner.handlers.TableHandler$TableRowDrawable.getIntrinsicHeight(TableHandler.java:249)
E/AndroidRuntime(29526):	at net.nightwhistler.htmlspanner.handlers.TableHandler.handleTagNode(TableHandler.java:186)
E/AndroidRuntime(29526):	at net.nightwhistler.htmlspanner.HtmlSpanner.applySpan(HtmlSpanner.java:294)
E/AndroidRuntime(29526):	at net.nightwhistler.htmlspanner.HtmlSpanner.handleContent(HtmlSpanner.java:270)
E/AndroidRuntime(29526):	at net.nightwhistler.htmlspanner.HtmlSpanner.applySpan(HtmlSpanner.java:287)
E/AndroidRuntime(29526):	at net.nightwhistler.htmlspanner.HtmlSpanner.handleContent(HtmlSpanner.java:270)
E/AndroidRuntime(29526):	at net.nightwhistler.htmlspanner.HtmlSpanner.applySpan(HtmlSpanner.java:287)
E/AndroidRuntime(29526):	at net.nightwhistler.htmlspanner.HtmlSpanner.handleContent(HtmlSpanner.java:270)
E/AndroidRuntime(29526):	at net.nightwhistler.htmlspanner.HtmlSpanner.applySpan(HtmlSpanner.java:287)
E/AndroidRuntime(29526):	at net.nightwhistler.htmlspanner.HtmlSpanner.handleContent(HtmlSpanner.java:270)
E/AndroidRuntime(29526):	at net.nightwhistler.htmlspanner.HtmlSpanner.fromTagNode(HtmlSpanner.java:193)
E/AndroidRuntime(29526):	at net.nightwhistler.htmlspanner.HtmlSpanner.fromHtml(HtmlSpanner.java:159)
E/AndroidRuntime(29526):	at net.nightwhistler.pageturner.view.BookView$LoadTextTask.doInBackground(BookView.java:863)
E/AndroidRuntime(29526):	at net.nightwhistler.pageturner.view.BookView$LoadTextTask.doInBackground(BookView.java:819)
E/AndroidRuntime(29526):	at android.os.AsyncTask$2.call(AsyncTask.java:185)
E/AndroidRuntime(29526):	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
E/AndroidRuntime(29526):	... 4 more
W/ActivityManager( 97): Force finishing activity net.nightwhistler.pageturne