You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/10/11 03:00:36 UTC

[jira] [Closed] (PDFBOX-1507) Getting Issue at text reading

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

John Hewson closed PDFBOX-1507.
-------------------------------
    Resolution: Cannot Reproduce

> Getting Issue at text reading 
> ------------------------------
>
>                 Key: PDFBOX-1507
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1507
>             Project: PDFBox
>          Issue Type: Bug
>          Components: .NET, Text extraction
>    Affects Versions: 1.7.1
>         Environment: windows, runing pdfbox in .Net using ikvm-7.2.4630.5 conversion , we are actually converting pdf into ALTO file
>            Reporter: Tanmay Mandal
>         Attachments: Pdf2Text.zip
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> <?xml version="1.0" encoding="UTF-8"?><alto xmlns="http://www.loc.gov/standards/
> alto/alto-v2.0.xsd"><Description><MeasurementUnit>inch1200</MeasurementUnit></De
> scription><Layout>
> <Page>
> <PrintSpace>
> <TextBlock>
> <TextLine>
> Feb 04, 2013 8:40:03 PM org.apache.pdfbox.util.PDFStreamEngine processOperator
> WARNING: java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.pdfbox.util.PDFTextStripper.processTextPosition(PDFTextStr
> ipper.java:954)
>         at org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEn
> gine.java:498)
>         at org.apache.pdfbox.util.operator.ShowTextGlyph.process(ShowTextGlyph.j
> ava:62)
>         at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngin
> e.java:556)
>         at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngi
> ne.java:271)
>         at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngi
> ne.java:237)
>         at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.
> java:218)
>         at cli.org.apache.pdfbox.examples.util.PrintWordLocations.processDocumen
> ts(PrintWordLocation.cs:185)
>         at cli.org.apache.pdfbox.examples.util.PrintWordLocations.Main(PrintWord
> Location.cs:228)
>         at cli.System.AppDomain._nExecuteAssembly(Unknown Source)
>         at cli.System.AppDomain.ExecuteAssembly(Unknown Source)
>         at cli.Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly(U
> nknown Source)
> Feb 04, 2013 8:40:03 PM org.apache.pdfbox.util.PDFStreamEngine processOperator
> WARNING: java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.pdfbox.util.PDFTextStripper.processTextPosition(PDFTextStr
> ipper.java:954)
>         at org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEn
> gine.java:498)
>         at org.apache.pdfbox.util.operator.ShowTextGlyph.process(ShowTextGlyph.j
> ava:62)
>         at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngin
> e.java:556)
>         at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngi
> ne.java:271)
>         at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngi
> ne.java:237)
>         at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.
> java:218)
>         at cli.org.apache.pdfbox.examples.util.PrintWordLocations.processDocumen
> ts(PrintWordLocation.cs:185)
>         at cli.org.apache.pdfbox.examples.util.PrintWordLocations.Main(PrintWord
> Location.cs:228)
>         at cli.System.AppDomain._nExecuteAssembly(Unknown Source)
>         at cli.System.AppDomain.ExecuteAssembly(Unknown Source)
>         at cli.Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly(U
> nknown Source)
> Feb 04, 2013 8:40:03 PM org.apache.pdfbox.util.PDFStreamEngine processOperator
> WARNING: java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.pdfbox.util.PDFTextStripper.processTextPosition(PDFTextStr
> ipper.java:954)
>         at org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEn
> gine.java:498)
>         at org.apache.pdfbox.util.operator.ShowTextGlyph.process(ShowTextGlyph.j
> ava:62)
>         at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngin
> e.java:556)
>         at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngi
> ne.java:271)
>         at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngi
> ne.java:237)
>         at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.
> java:218)
>         at cli.org.apache.pdfbox.examples.util.PrintWordLocations.processDocumen
> ts(PrintWordLocation.cs:185)
>         at cli.org.apache.pdfbox.examples.util.PrintWordLocations.Main(PrintWord
> Location.cs:228)
>         at cli.System.AppDomain._nExecuteAssembly(Unknown Source)
>         at cli.System.AppDomain.ExecuteAssembly(Unknown Source)
>         at cli.Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly(U
> nknown Source)
> Feb 04, 2013 8:40:03 PM org.apache.pdfbox.util.PDFStreamEngine processOperator
> WARNING: java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.pdfbox.util.PDFTextStripper.processTextPosition(PDFTextStr
> ipper.java:954)
>         at org.apache.pdfbox.util.PDFStreamEngine.processEncodedText(PDFStreamEn
> gine.java:498)
>         at org.apache.pdfbox.util.operator.ShowTextGlyph.process(ShowTextGlyph.j
> ava:62)
>         at org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngin
> e.java:556)
>         at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngi
> ne.java:271)
>         at org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngi
> ne.java:237)
>         at org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.
> java:218)
>         at cli.org.apache.pdfbox.examples.util.PrintWordLocations.processDocumen
> ts(PrintWordLocation.cs:185)
>         at cli.org.apache.pdfbox.examples.util.PrintWordLocations.Main(PrintWord
> Location.cs:228)
>         at cli.System.AppDomain._nExecuteAssembly(Unknown Source)
>         at cli.System.AppDomain.ExecuteAssembly(Unknown Source)
>         at cli.Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly(U
> nknown Source)
> </TextLine>
> </TextBlock>
> </PrintSpace>
> </Page>
> We have converted Java code in C# from https://github.com/cokernel/pdf2alto



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)