PDFArchitect Unhandled Exception Error

When using PDFArchitect to copy and paste multiple pages into a document, I received and "Unhandled Exception" error.  Thinking that there was an issue with the PDF file, I created a test file and copied and pasted the same page over and over until I reached the same amount of pages, 20, that had caused the error on the other document I was working on.

 

Windows XP Professional Service Pack 3

PDFCreator 1.4.3

 

For the test PDF, I just typed in a few lines into a document and pasted that document into the PDFArchitect.  Also, the test file was crearted by PDFCreator to ensure it would be compatible.

 

**********

ERROR:

Unhandled exception has occurred in your application.  If you click Continue, the application will ignore this error and attempt to continue.  If you click Quit, the application will close immediately.

Object reference not set to an instance of an object.

**********

DETAILS:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at pdfforge.PDFArchitect.PDFDocumentTabPage.showNewPage(Int32 pageNumber)
   at pdfforge.PDFArchitect.PreviewPicture.markingOperation(PDFDocumentTabPage& document, Keys modKey)
   at pdfforge.PDFArchitect.PreviewPicture.previewPageImage_MouseUp(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)
    CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PDFArchitect
    Assembly Version: 0.5.6.565
    Win32 Version: 0.5.6.565
    CodeBase: file:///C:/Program%20Files/PDFCreator/PDFArchitect/PDFArchitect.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3637 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3634 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3639 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
DynamicTranslator
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PDFCreator/PDFArchitect/DynamicTranslator.DLL
----------------------------------------
DataStorage
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/PDFCreator/PDFArchitect/DataStorage.DLL
----------------------------------------
Gnostice.PDFOne
    Assembly Version: 3.0.57.6
    Win32 Version: 3.0.57.6
    CodeBase: file:///C:/Program%20Files/PDFCreator/PDFArchitect/Gnostice.PDFOne.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Ionic.Zlib
    Assembly Version: 1.8.4.27
    Win32 Version: 1.8.4.27
    CodeBase: file:///C:/Program%20Files/PDFCreator/PDFArchitect/Ionic.Zlib.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:


   


When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 

Hi,

 

thank you for reporting this.

 

 

regards,

 

Robin

I've also experienced the same thing. I was trying to combine 18 PDF files created by PDF Creator. I was able to combine them but when I try to view pages after the fifth page it gives me the "Unhandled Exception" error message. Is there a fix on the way? Any suggestions how to fix it myself?

I've also experienced the same thing. I tried to combine 18 PDF files into one and was successful. However, when I try viewing pages past the fifth page I get the "Unhandled Exception" error. Any fixes on the way? Suggestions on how to fix it myself?

I also see this error in PDFArchitect 0.5.6.565 that comes with PDFCreator 1.5.0.

It happens after opening a PDF if I try to select a page past the third page:
http://pastebin.com/aHqxKTAt

Then if I click at the first page I get a similar error again:
http://pastebin.com/zqgagU4Q

Hi,

the PDFArchitekt is currently being rebuilt from scratch, so the fixes are on the way but it might take a while.

regards,

Robin