tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] Created: (TIKA-600) [patch] suspect transferable code
Date Sun, 20 Feb 2011 02:19:38 GMT
[patch] suspect transferable code 

                 Key: TIKA-600
                 URL: https://issues.apache.org/jira/browse/TIKA-600
             Project: Tika
          Issue Type: Bug
          Components: gui
    Affects Versions: 0.8
            Reporter: Dave Brosius
            Priority: Minor
             Fix For: 0.9
         Attachments: fix_npe.diff

the importData code has suspect code, where an if/else branch handles the same condition in
two branches (differently)

else if (transferable.isDataFlavorSupported(urlListFlavor)) {
else if (transferable.isDataFlavorSupported(uriListFlavor)) {

which caused the NPE... Patch fixes the npe, but that is just a patch. the real fix is to
fix the if/else code.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message