jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-1602) DbDatastore: Problems indexing pdf file
Date Thu, 15 May 2008 13:47:55 GMT

    [ https://issues.apache.org/jira/browse/JCR-1602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12597132#action_12597132
] 

Thomas Mueller commented on JCR-1602:
-------------------------------------

Test case committed in revision 656664.

> 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: 1.4
>
>
> 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.


Mime
View raw message