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] [Resolved] (TIKA-1927) NPE in JDBCTableReader
Date Mon, 04 Apr 2016 17:53:25 GMT

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

Tim Allison resolved TIKA-1927.
-------------------------------
    Resolution: Fixed

Thank you, [~nicholasc].  I added a new row to our test db where all data types were null.
 I also fixed the null handling of primitive (e.g. int) types so that nothing is printed out
instead of "0".  While working on this, I also noticed TIKA-1929.

> NPE in JDBCTableReader
> ----------------------
>
>                 Key: TIKA-1927
>                 URL: https://issues.apache.org/jira/browse/TIKA-1927
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.12
>            Reporter: Nick C
>            Assignee: Tim Allison
>            Priority: Minor
>              Labels: easyfix, patch
>             Fix For: 1.13
>
>
> NPE when there is a null String in a SQLite DB.
> Caused by: java.lang.NullPointerException
> 	at org.apache.tika.parser.jdbc.JDBCTableReader.addAllCharacters(JDBCTableReader.java:252)
> 	at org.apache.tika.parser.jdbc.JDBCTableReader.handleCell(JDBCTableReader.java:135)
> 	at org.apache.tika.parser.jdbc.JDBCTableReader.nextRow(JDBCTableReader.java:95)
> 	at org.apache.tika.parser.jdbc.AbstractDBParser.parse(AbstractDBParser.java:90)
> 	at org.apache.tika.parser.jdbc.SQLite3Parser.parse(SQLite3Parser.java:78)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message