« Return to Thread: [jira] Created: (JCR-1602) DbDatastore: Problems indexing pdf file

[jira] Updated: (JCR-1602) DbDatastore: Problems indexing pdf file

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View in Thread


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

Jukka Zitting updated JCR-1602:
-------------------------------

    Fix Version/s:     (was: 1.4)
                   core 1.4.5

> DbDatastore: Problems indexing pdf file
> ---------------------------------------
>
>                 Key: JCR-1602
>                 URL: https://issues.apache.org/jira/browse/JCR-1602
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.4
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: core 1.4.5
>
>
> As reported by Claus Köll:
> When importing a pdf file into a repository configured with a DbDataStore the following exception occurs. This happens only when using the DbDataStore with copyWhenReading=true
> java.io.IOException: Stream closed
>        at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:156)
>        at java.io.BufferedInputStream.read(BufferedInputStream.java:315)
>        at org.apache.jackrabbit.core.data.db.TempFileInputStream.read(TempFileInputStream.java:107)
>        at java.io.BufferedInputStream.read1(BufferedInputStream.java:265)
>        at java.io.BufferedInputStream.read(BufferedInputStream.java:324)
>        at java.io.BufferedInputStream.fill(BufferedInputStream.java:229)
>        at java.io.BufferedInputStream.read(BufferedInputStream.java:246)
>        at java.io.FilterInputStream.read(FilterInputStream.java:89)
>        at java.io.PushbackInputStream.read(PushbackInputStream.java:141)
>        at org.pdfbox.io.PushBackInputStream.peek(PushBackInputStream.java:71)
>        at org.pdfbox.io.PushBackInputStream.isEOF(PushBackInputStream.java:88)
>        at org.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:370)
>        at org.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:176)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

 « Return to Thread: [jira] Created: (JCR-1602) DbDatastore: Problems indexing pdf file

LightInTheBox - Buy quality products at wholesale price