tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Allison (Jira)" <j...@apache.org>
Subject [jira] [Updated] (TIKA-3022) NullPointerException thrown during tika parsing DataURISchemeUtil.java
Date Wed, 08 Jan 2020 14:50:00 GMT

     [ https://issues.apache.org/jira/browse/TIKA-3022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tim Allison updated TIKA-3022:
------------------------------
    Attachment: npe.html

> NullPointerException thrown during tika parsing DataURISchemeUtil.java
> ----------------------------------------------------------------------
>
>                 Key: TIKA-3022
>                 URL: https://issues.apache.org/jira/browse/TIKA-3022
>             Project: Tika
>          Issue Type: Bug
>    Affects Versions: 1.16, 1.20, 1.23
>         Environment: OS: Ubuntu 18.04 LTS
> RAM: 16GB DDR3
> Processor: Intel core i7 8th gen
>            Reporter: Vivek 
>            Priority: Major
>         Attachments: npe.html
>
>
> while parsing: [https://www.barcraft.com/] :: java.lang.NullPointerExceptionjava.lang.NullPointerException
at org.apache.tika.parser.utils.DataURISchemeUtil.build(DataURISchemeUtil.java:68) at org.apache.tika.parser.utils.DataURISchemeUtil.parse(DataURISchemeUtil.java:49)
at org.apache.tika.parser.html.HtmlHandler.handleDataURIScheme(HtmlHandler.java:327) at org.apache.tika.parser.html.HtmlHandler.startElement(HtmlHandler.java:185)
at org.apache.tika.sax.ContentHandlerDecorator.startElement(ContentHandlerDecorator.java:126)
at org.apache.tika.parser.html.XHTMLDowngradeHandler.startElement(XHTMLDowngradeHandler.java:60)
at org.ccil.cowan.tagsoup.Parser.push(Parser.java:794) at org.ccil.cowan.tagsoup.Parser.rectify(Parser.java:1061)
at org.ccil.cowan.tagsoup.Parser.stagc(Parser.java:1016) at org.ccil.cowan.tagsoup.HTMLScanner.scan(HTMLScanner.java:625)
at org.ccil.cowan.tagsoup.Parser.parse(Parser.java:449) at org.apache.tika.parser.html.HtmlParser.parseImpl(HtmlParser.java:160)
at org.apache.tika.parser.html.HtmlParser.parse(HtmlParser.java:106) at edu.uci.ics.crawler4j.parser.Parser.parse(Parser.java:117)
at edu.uci.ics.crawler4j.crawler.WebCrawler.processPage(WebCrawler.java:454) at edu.uci.ics.crawler4j.crawler.WebCrawler.run(WebCrawler.java:291)
at java.lang.Thread.run(Thread.java:748)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message