Caused by: java.lang.ArrayIndexOutOfBoundsException: index=1
at java.util.regex.Matcher.appendEvaluated(Matcher.java:153)
at java.util.regex.Matcher.appendReplacement(Matcher.java:115)
at net.nightwhistler.htmlspanner.TextUtil.replaceHtmlEntities(TextUtil.java:55)
at net.nightwhistler.htmlspanner.HtmlSpanner.handleContentNode(HtmlSpanner.java:287)
at net.nightwhistler.htmlspanner.HtmlSpanner.handleContent(HtmlSpanner.java:273)
at net.nightwhistler.htmlspanner.HtmlSpanner.handleContent(HtmlSpanner.java:262)
at net.nightwhistler.htmlspanner.HtmlSpanner.handleContent(HtmlSpanner.java:262)
at net.nightwhistler.htmlspanner.HtmlSpanner.handleContent(HtmlSpanner.java:262)
at net.nightwhistler.htmlspanner.HtmlSpanner.handleContent(HtmlSpanner.java:262)
at net.nightwhistler.htmlspanner.HtmlSpanner.fromTagNode(HtmlSpanner.java:219)
at net.nightwhistler.htmlspanner.HtmlSpanner.fromHtml(HtmlSpanner.java:196)
at net.nightwhistler.pageturner.view.bookview.BookView$CalculatePageNumbersTask$2.onLoadResource(BookView.java:1402)
at net.nightwhistler.pageturner.epub.ResourceLoader.load(ResourceLoader.java:86)
at net.nightwhistler.pageturner.view.bookview.BookView$CalculatePageNumbersTask.getOffsets(BookView.java:1436)
at net.nightwhistler.pageturner.view.bookview.BookView$CalculatePageNumbersTask.doInBackground(BookView.java:1343)
at net.nightwhistler.pageturner.view.bookview.BookView$CalculatePageNumbersTask.doInBackground(BookView.java:1329)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
... 4 more