NightWhistler/PageTurner — Issue #88: Crash while rendering Html comments
Author: NightWhistler
Created: 2012-03-02 09:30:24+00:00
State: open

java.lang.ClassCastException: org.htmlcleaner.CommentNode cannot be cast to org.htmlcleaner.TagNode
at net.nightwhistler.htmlspanner.handlers.PreHandler.getPlainText(PreHandler.java:41)
at net.nightwhistler.htmlspanner.handlers.PreHandler.getPlainText(PreHandler.java:43)
at net.nightwhistler.htmlspanner.handlers.PreHandler.handleTagNode(PreHandler.java:53)
at net.nightwhistler.htmlspanner.HtmlSpanner.applySpan(HtmlSpanner.java:294)
at net.nightwhistler.htmlspanner.HtmlSpanner.handleContent(HtmlSpanner.java:270)
at net.nightwhistler.htmlspanner.HtmlSpanner.applySpan(HtmlSpanner.java:287)
at net.nightwhistler.htmlspanner.HtmlSpanner.handleContent(HtmlSpanner.java:270)
at net.nightwhistler.htmlspanner.HtmlSpanner.applySpan(HtmlSpanner.java:287)
at net.nightwhistler.htmlspanner.HtmlSpanner.handleContent(HtmlSpanner.java:270)
at net.nightwhistler.htmlspanner.HtmlSpanner.fromTagNode(HtmlSpanner.java:193)
at net.nightwhistler.htmlspanner.HtmlSpanner.fromHtml(HtmlSpanner.java:159)
at net.nightwhistler.pageturner.view.BookView$LoadTextTask.doInBackground(BookView.java:937)
at net.nightwhistler.pageturner.view.BookView$LoadTextTask.doInBackground(BookView.java:1)
at android.os.AsyncTask$2.call(AsyncTask.java:252)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1081)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:574)
at java.lang.Thread.run(Thread.java:1020)