Welcome Guest Search | Active Topics | Members | Log In | Register

PDF Generator - No pages Error Options · View
dgarber
Posted: Friday, January 30, 2009 1:15:24 PM
Rank: Newbie Coder
Groups: Member

Joined: 1/30/2009
Posts: 3
Points: 9
Hello,

I have installed:

WebORB .Net 3.6.0.3 (Developer Edition)
PDF Generator 1.0
Flex 3

I have tried to use the PDF Generator by following the quick start examples and other examples
in the guide. In all attempts, I keep receiving "Server reported an error - The document has no pages."

The WebORB log :
WEBORB ERROR:1/30/2009 2:57:35 PM:System.IO.IOException: The document has no pages.
at iTextSharp.text.pdf.PdfPages.WritePageTree()
at iTextSharp.text.pdf.PdfWriter.Close()
at iTextSharp.text.pdf.PdfDocument.Close()
at iTextSharp.text.Document.Close()
at com.tmc.weborb.pdf.model.Document.Write(Document pdfDocument, PdfWriter pdfWriter)
at com.tmc.weborb.pdf.util.PDFUtil.SaveDocument(Document data, Stream outputFile)
at com.tmc.weborb.pdf.PDFService.a(Document A_0, String A_1)
at com.tmc.weborb.pdf.PDFService.PrintPDF(Document document, String fileName)
[Thread-9] WEBORB INSTRUMENTATION:1/30/2009 2:57:35 PM:clr method invocation time (in ms) - 0 method - PrintPDF
[Thread-9] WEBORB INFO:1/30/2009 2:57:35 PM:Object Handler handler successfully invoked method PrintPDF on the service com.tmc.weborb.pdf.PDFService
[Thread-9] WEBORB INFO:1/30/2009 2:57:35 PM:V3 Dispatcher successfully handled request processing
[Thread-9] WEBORB INFO:1/30/2009 2:57:35 PM:Starting response serialization
[Thread-9] WEBORB INFO:1/30/2009 2:57:35 PM:got headers 0
[Thread-9] WEBORB INFO:1/30/2009 2:57:35 PM:got bodies 1
[Thread-9] WEBORB INFO:1/30/2009 2:57:35 PM:AMFMessageWriter.write - message version: 3 header length: 0
[Thread-9] WEBORB INSTRUMENTATION:1/30/2009 2:57:35 PM:Response serialization time in ms - 0
[Thread-9] WEBORB INSTRUMENTATION:1/30/2009 2:57:35 PM:Total request processing time in ms - 0
[Thread-6] WEBORB INFO:1/30/2009 3:05:42 PM:shutting down WebORB Message Server
[Thread-6] WEBORB EXCEPTION:1/30/2009 3:05:42 PM:System.Net.Sockets.SocketException: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
at System.Net.Sockets.Socket.Shutdown(SocketShutdown how)
at Weborb.Messaging.RTMPServer.shutdown()
[Thread-6] WEBORB EXCEPTION:1/30/2009 3:05:42 PM:System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
at System.Net.Sockets.Socket.Disconnect(Boolean reuseSocket)
at Weborb.Messaging.RTMPServer.shutdown()
[Thread-10] WEBORB EXCEPTION:1/30/2009 3:05:42 PM:System.Net.Sockets.SocketException: A blocking operation was interrupted by a call to WSACancelBlockingCall
at System.Net.Sockets.Socket.Accept()
at Weborb.Messaging.RTMPServer.run()
Mark Piller
Posted: Friday, January 30, 2009 3:25:17 PM

Rank: Administration
Groups: Administration

Joined: 8/21/2006
Posts: 686
Points: 1,301
Location: Frisco, TX
Hi,

Could you check if the PDF examples integrated into the Examples tab of the management console are working?

Thanks,
Mark

Mark Piller
Midnight Coders, Inc.
twitter: midnightcoder
blog: blog.themidnightcoders.com
website: www.themidnightcoders.com
dgarber
Posted: Saturday, January 31, 2009 7:04:21 AM
Rank: Newbie Coder
Groups: Member

Joined: 1/30/2009
Posts: 3
Points: 9
Mark,

I checked the examples in the management console and when I click on the button to "generate pdf" on the examples
I receive two different errors.
On the Tables in PDF Example I get:
"Server Reported An Error - Method Not Found: 'Boolean Weborb.util.License.LicenseManager.isValid()'"
On Any of the other examples I get:
"Server Reported an Error - Document has no pages"

Thanks for your time.
Mark Piller
Posted: Saturday, January 31, 2009 7:06:05 AM

Rank: Administration
Groups: Administration

Joined: 8/21/2006
Posts: 686
Points: 1,301
Location: Frisco, TX
Thank you. We're looking into the problem, it will be fixed asap.

Mark

Mark Piller
Midnight Coders, Inc.
twitter: midnightcoder
blog: blog.themidnightcoders.com
website: www.themidnightcoders.com
Mark Piller
Posted: Saturday, January 31, 2009 1:02:24 PM

Rank: Administration
Groups: Administration

Joined: 8/21/2006
Posts: 686
Points: 1,301
Location: Frisco, TX
Hi,

The problem is now fixed. Please download the latest version (it is still labeled 1.0.1). Uninstall the existing installation from you computer and run the new installer.

I apologize for the inconvenience.

Please let me know if you run into any problems.

Thanks,
Mark

Mark Piller
Midnight Coders, Inc.
twitter: midnightcoder
blog: blog.themidnightcoders.com
website: www.themidnightcoders.com
dgarber
Posted: Monday, February 02, 2009 7:07:31 AM
Rank: Newbie Coder
Groups: Member

Joined: 1/30/2009
Posts: 3
Points: 9
Thanks Mark,

Whatever you did fixed the problem.
leonreport
Posted: Thursday, October 08, 2009 6:52:43 AM
Rank: Newbie Coder
Groups: Member

Joined: 12/5/2008
Posts: 4
Points: 12
Location: spain
Hi

I am having exactly the same problem. I am using WebORB for .NET 3.6.0.0 comunity edition and Flex 3.

I get the following errors on the examples in the console

Tables in PDF - Server reported an error - Método no encontrado: 'Weborb.Util.License.LicenseManager Weborb.Util.License.LicenseManager.GetInstance(Int32)'.
Form fields in PDF - Server reported an error - The document has no pages.
Charts in PDF - Server reported an error - The document has no pages.
Template explorer - ArgumentError: Error #1507: El argumento name no puede ser null.
at global/flash.utils::getDefinitionByName()
at TemplateComponentExplorer/createPDF()[C:\dev\fo\examples\flex\PDFGen\examples\flex\ComponentTemplateExplorer\src\TemplateComponentExplorer.mxml:73]
at TemplateComponentExplorer/___TemplateComponentExplorer_Button1_click()[C:\dev\fo\examples\flex\PDFGen\examples\flex\ComponentTemplateExplorer\src\TemplateComponentExplorer.mxml:93]

I had tried it out on my own example using a datagrid as part of an application and got the error Método no encontrado: 'Weborb.Util.License.LicenseManager Weborb.Util.License.LicenseManager.GetInstance(Int32)'.

Its frustrating as we need something exactly like this and will probably buy it if I can get the example to work and demonstrate it. Any ideas?

Leon
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.114 seconds.