|
|
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()
|
|
 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: midnightcoderblog: blog.themidnightcoders.comwebsite: www.themidnightcoders.com
|
|
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.
|
|
 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: midnightcoderblog: blog.themidnightcoders.comwebsite: www.themidnightcoders.com
|
|
 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: midnightcoderblog: blog.themidnightcoders.comwebsite: www.themidnightcoders.com
|
|
Rank: Newbie Coder Groups: Member
Joined: 1/30/2009 Posts: 3 Points: 9
|
Thanks Mark,
Whatever you did fixed the problem.
|
|
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
|
|
|
Guest |