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

lxz updated TIKA-3841:
----------------------
    Description: 
```

{
    "error": {
        "root_cause": [

{             "type": "parse_exception",             "reason": "Error parsing 
document in field [content]"         }

],
        "type": "parse_exception",
        "reason": "Error parsing document in field [content]",
        "caused_by": {
            "type": "tika_exception",
            "reason": "Unexpected RuntimeException from 
org.apache.tika.parser.microsoft.OfficeParser@3b5e180a",
            "caused_by":

{                 "type": "array_index_out_of_bounds_exception",                
 "reason": "351"             }

        }
    },
    "status": 400
}

```

  was:
{
    "error": {
        "root_cause": [{
            "type": "parse_exception",
            "reason": "Error parsing document in field [content]"
        }],
        "type": "parse_exception",
        "reason": "Error parsing document in field [content]",
        "caused_by": {
            "type": "tika_exception",
            "reason": "Unexpected RuntimeException from 
org.apache.tika.parser.microsoft.OfficeParser@3b5e180a",
            "caused_by": {
                "type": "array_index_out_of_bounds_exception",
                "reason": "351"
            }
        }
    },
    "status": 400
}


> 使用tika解析部分word文档出现异常,tika_exception
> -----------------------------------
>
>                 Key: TIKA-3841
>                 URL: https://issues.apache.org/jira/browse/TIKA-3841
>             Project: Tika
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.24
>         Environment: h3. Java Version
> java version "1.8.0_291"
> h3. OS Version
> Linux localhost.localdomain 3.10.0-957.el7.x86_64 
> [#1|https://github.com/elastic/elasticsearch/issues/1] SMP Thu Nov 8 23:39:32 
> UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: lxz
>            Priority: Blocker
>
> ```
> {
>     "error": {
>         "root_cause": [
> {             "type": "parse_exception",             "reason": "Error parsing 
> document in field [content]"         }
> ],
>         "type": "parse_exception",
>         "reason": "Error parsing document in field [content]",
>         "caused_by": {
>             "type": "tika_exception",
>             "reason": "Unexpected RuntimeException from 
> org.apache.tika.parser.microsoft.OfficeParser@3b5e180a",
>             "caused_by":
> {                 "type": "array_index_out_of_bounds_exception",              
>    "reason": "351"             }
>         }
>     },
>     "status": 400
> }
> ```



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to