You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2009/03/04 10:59:56 UTC

[jira] Updated: (PDFBOX-365) Updating Lucene version (was: Error in LucenPDFDocument class)

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

Andreas Lehmkühler updated PDFBOX-365:
--------------------------------------

    Issue Type: Improvement  (was: Bug)
       Summary: Updating Lucene version (was: Error in LucenPDFDocument class)  (was: Error in LucenPDFDocument class)

> Updating Lucene version (was: Error in LucenPDFDocument class)
> --------------------------------------------------------------
>
>                 Key: PDFBOX-365
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-365
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Lucene
>    Affects Versions: 0.7.3
>         Environment: Lucene 2.3.2
>            Reporter: Kalani Ruwanpathirana
>
> When the method
>  LucenePDFDocument.getDocument(new File("filename"));
> is called I got the following stack trace. Seems PDFBox is not compatible with latest version of Lucene. 
> Exception in thread "main" java.lang.NoSuchMethodError: org.apache.lucene.document.Document.add(Lorg/apache/lucene/document/Field;)V
> 	at org.pdfbox.searchengine.lucene.LucenePDFDocument.addUnindexedField(LucenePDFDocument.java:224)
> 	at org.pdfbox.searchengine.lucene.LucenePDFDocument.convertDocument(LucenePDFDocument.java:265)
> 	at org.pdfbox.searchengine.lucene.LucenePDFDocument.getDocument(LucenePDFDocument.java:377)
> 	at PDFTest.main(PDFTest.java:55)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

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