[ 
https://issues.apache.org/jira/browse/PDFBOX-535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765084#action_12765084
 ] 

Rana Zubair edited comment on PDFBOX-535 at 10/13/09 7:26 AM:
--------------------------------------------------------------

Thanks Daniel Wison for your effort to provide .net binaries
I tried to use these binary files along with IKVM 0.38.0.2
I got the Exception while simply loading a PDF v1.5 document on the following 
line of code.

<<<< PDDocument doc = PDDocument.load(@"C:\eduifyData\npc1_1.5.pdf"); >>>>>>>>>

Exception:
org.apache.pdfbox.exceptions.WrappedIOException was unhandled
  Message=""
  Source="pdfbox-0.8.0-incubating"
  StackTrace:
       at org.apache.pdfbox.pdfparser.PDFParser.parse()
       at org.apache.pdfbox.pdmodel.PDDocument.load(InputStream input, 
RandomAccess scratchFile)
       at org.apache.pdfbox.pdmodel.PDDocument.load(InputStream input)
       at org.apache.pdfbox.pdmodel.PDDocument.load(String filename)
       at PDFBox.Form1.btnStartConversion_Click(Object sender, EventArgs e) in 
D:\Workshop\PDF2TextConversion\PDFBox\Form1.cs:line 37
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons 
button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, 
Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at 
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32
 dwComponentID, Int32 reason, Int32 pvLoopData)
       at 
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 
reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 
reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at PDFBox.Program.Main() in 
D:\Workshop\PDF2TextConversion\PDFBox\Program.cs:line 17
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence 
assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

Where as If I try to load PDF v1.4 document It is loaded successfully and 
according to my knowledge incubator version handles well v1.5 for PDF. can you 
help me here! sample files are attached for both versions.


      was (Author: rana.zubair):
    Thanks Daniel Wison for you effort to provide .net binaries
I tried to use these binary files along with IKVM 0.38.0.2
I got the Exception while simply loading a PDF v1.5 document on the following 
line of code.

<<<< PDDocument doc = PDDocument.load(@"C:\eduifyData\npc1_1.5.pdf"); >>>>>>>>>

Exception:
org.apache.pdfbox.exceptions.WrappedIOException was unhandled
  Message=""
  Source="pdfbox-0.8.0-incubating"
  StackTrace:
       at org.apache.pdfbox.pdfparser.PDFParser.parse()
       at org.apache.pdfbox.pdmodel.PDDocument.load(InputStream input, 
RandomAccess scratchFile)
       at org.apache.pdfbox.pdmodel.PDDocument.load(InputStream input)
       at org.apache.pdfbox.pdmodel.PDDocument.load(String filename)
       at PDFBox.Form1.btnStartConversion_Click(Object sender, EventArgs e) in 
D:\Workshop\PDF2TextConversion\PDFBox\Form1.cs:line 37
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons 
button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, 
Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at 
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32
 dwComponentID, Int32 reason, Int32 pvLoopData)
       at 
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 
reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 
reason, ApplicationContext context)
       at System.Windows.Forms.Application.Run(Form mainForm)
       at PDFBox.Program.Main() in 
D:\Workshop\PDF2TextConversion\PDFBox\Program.cs:line 17
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence 
assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()

Where as If I try to load PDF v1.4 document It is loaded successfully and 
according to my knowledge incubator version handles well v1.5 for PDF. can you 
help me here! sample files are attached for both versions.

  
> .Net Binaries required for PDFBox 0.8.0 incubator
> -------------------------------------------------
>
>                 Key: PDFBOX-535
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-535
>             Project: PDFBox
>          Issue Type: New Feature
>    Affects Versions: 0.8.0-incubator
>         Environment: Windows XP, Windows Server 2003
>            Reporter: Rana Zubair
>            Priority: Minor
>         Attachments: npc1_1.4.pdf, npc1_1.5.pdf, 
> PDFBox_Net_Binaries_080incubating.zip
>
>
> I need the .net version of PDFBox 0.8.0 incubator as it is available for 
> previous version and we were using it but version 7.3 does handles pdf 
> version 1.5 and now I have seen that it has been resolved (PDFBOX-361) for 
> V0.8.0. so kindly provide .Net Binaries for the release PDFBox 0.8.0 
> incubator, so that I could be able to get rid of this error for my solution.

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

Reply via email to