tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-1927) NPE in JDBCTableReader
Date Mon, 04 Apr 2016 00:10:25 GMT

    [ https://issues.apache.org/jira/browse/TIKA-1927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15223561#comment-15223561
] 

ASF GitHub Bot commented on TIKA-1927:
--------------------------------------

GitHub user fxfixer opened a pull request:

    https://github.com/apache/tika/pull/98

    TIKA-1927: NPE in JDBCTableReader

    Updated to handle null strings and added row of null values to test db file

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/fxfixer/tika master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tika/pull/98.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #98
    
----
commit e64f71e2af699ff6157c34e4b55ab7e8bc828179
Author: fxfixer <fxfixer@users.noreply.github.com>
Date:   2016-04-03T23:59:27Z

    NPE in JDBCTableReader
    
    Handle null strings

----


> 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
>            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