Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

[MBS] Error generating PDF in web edition (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] LCMS2 Performance
Next thread: [MBS] Get name of System language - OS X and Windows


Re: [MBS] PortAudio bug?   -   Garth Hjelte
  [MBS] Error generating PDF in web edition   -   Sergio Tamborini
   Re: [MBS] Error generating PDF in web edition   -   Sergio Tamborini
   Re: [MBS] Error generating PDF in web edition   -   Sergio Tamborini
   Re: [MBS] Error generating PDF in web edition   -   Christian Schmitz
   Re: [MBS] Error generating PDF in web edition   -   Sergio Tamborini
   Re: [MBS] Error generating PDF in web edition   -   Christian Schmitz

[MBS] Error generating PDF in web edition
Date: 23.01.13 12:43 (Wed, 23 Jan 2013 12:43:44 +0100)
From: Sergio Tamborini
Hello!
I'm trying to develop a solution for one of my customers... this is a web-app to manage some documents. They have to generate document (text only) pdfs. I do it with dynapdf plugins

On debug (MacOs 10.8.2) it works very nice, but when I build and I upload on the server (MacOs Server 10.6.5) when the user generate the pdf has got an error. I paste here the error.

Is there something I can do to resolve the problem?

Many thanks!

Unhandled NilObjectException
Message:

Stack:
RaiseExceptionClass
RaiseNilObjectException
PaginaSchedaOrdine.PaginaSchedaOrdine.CreatePDF%%o<PaginaSchedaOrdine.PaginaSchedaOrdine>o<DynaPDFMBS>
PaginaSchedaOrdine.PaginaSchedaOrdine.Button5_Action%%o<PaginaSchedaOrdine.PaginaSchedaOrdine>o<WebButton>
Delegate.IM_Invoke%%o<WebButton>
AddHandler.Stub.28%%
WebButton._ExecuteEvent%b%o<WebButton>sA1v
WebControl.!_ExecuteEvent%b%ssA1v
WebSession._HandleEvent%%o<WebSession>so<HTTPServer.HTTPRequestContext>
WebSession._HandleRequest%i4%o<WebSession>so<HTTPServer.HTTPRequestContext>
WebApplication.HandleHTTPRequest%%o<WebApplication>o<HTTPServer.HTTPRequestContext>
_CGIGateway.GatewayRequestThread.Event_Run%%o<_CGIGateway.GatewayRequestThread>
threadRun
_pthread_start

------

Sergio Tamborini
Brescia
http://www.system-i.it

"C'è un equivoco di fondo. Si dice che il politico che ha avuto frequentazioni mafiose, se non viene giudicato colpevole dalla magistratura, è un uomo onesto. No! La magistratura può fare solo accertamenti di carattere giudiziale. Le istituzioni hanno il dovere di estromettere gli uomini politici vicini alla mafia, per essere oneste e apparire tali"

"There is a basic misunderstanding. It is said that political mafia has had acquaintances, if not found guilty by the courts, is an honest man. No. The judiciary can only do the findings of a judicial nature. Institutions have a duty to oust politicians close to the mafia, to be honest, these look "

Paolo Borsellino

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Error generating PDF in web edition
Date: 24.01.13 17:35 (Thu, 24 Jan 2013 17:35:04 +0100)
From: Sergio Tamborini
It seems that remote debug does not work... the app is received by the stub but never starts itself...

I think can be an os version issue... I'll try in the next days to update to 10.6.8 (now we have 10.6.5 on this server), and I'll let you know.

If you have any other ideas, it will be welcome!

Many thanks!

Il giorno 23/gen/2013, alle ore 12:49, Christian Schmitz <<email address removed>> ha scritto:

> Well, what is in the PaginaSchedaOrdine.PaginaSchedaOrdine.CreatePDF method?
>
> This could be a file path being invalid, so you get a nil folderitem. (missing permissions for example)
> Or a missing picture file or some other data files.
>
> You may want to use remote debugging to debug it.

------

Sergio Tamborini
Brescia
http://www.system-i.it

"C'è un equivoco di fondo. Si dice che il politico che ha avuto frequentazioni mafiose, se non viene giudicato colpevole dalla magistratura, è un uomo onesto. No! La magistratura può fare solo accertamenti di carattere giudiziale. Le istituzioni hanno il dovere di estromettere gli uomini politici vicini alla mafia, per essere oneste e apparire tali"

"There is a basic misunderstanding. It is said that political mafia has had acquaintances, if not found guilty by the courts, is an honest man. No. The judiciary can only do the findings of a judicial nature. Institutions have a duty to oust politicians close to the mafia, to be honest, these look "

Paolo Borsellino

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Error generating PDF in web edition
Date: 23.01.13 14:34 (Wed, 23 Jan 2013 14:34:35 +0100)
From: Sergio Tamborini
Thank you.

Tomorrow afternoon I'll go there and I'll make some test... I'll let you know!

Il giorno 23/gen/2013, alle ore 14:25, Christian Schmitz <<email address removed>> ha scritto:

>> Do you have any suggestion about this?
>
> Sorry, no.
>
>> In the next days I'll go to my customer office so I can make some remote debug... Do the "Stub" works with web-apps?
>
>
> Okay.

------

Sergio Tamborini
Brescia
http://www.system-i.it

"C'è un equivoco di fondo. Si dice che il politico che ha avuto frequentazioni mafiose, se non viene giudicato colpevole dalla magistratura, è un uomo onesto. No! La magistratura può fare solo accertamenti di carattere giudiziale. Le istituzioni hanno il dovere di estromettere gli uomini politici vicini alla mafia, per essere oneste e apparire tali"

"There is a basic misunderstanding. It is said that political mafia has had acquaintances, if not found guilty by the courts, is an honest man. No. The judiciary can only do the findings of a judicial nature. Institutions have a duty to oust politicians close to the mafia, to be honest, these look "

Paolo Borsellino

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Error generating PDF in web edition
Date: 23.01.13 14:25 (Wed, 23 Jan 2013 14:25:20 +0100)
From: Christian Schmitz

Am 23.01.2013 um 13:31 schrieb Sergio Tamborini <<email address removed>>:

> I think is there something wrong in the server... you can try your example app at this url
> http://www.christensen.pro/cgi-bin/CreatePDF/createpdf.cgi
> it generates the same error when you press on "Create and download PDF" or "Create and show PDF" button.
>
> Do you have any suggestion about this?

Sorry, no.

> In the next days I'll go to my customer office so I can make some remote debug... Do the "Stub" works with web-apps?

Okay.

Greetings
Christian

Re: [MBS] Error generating PDF in web edition
Date: 23.01.13 13:31 (Wed, 23 Jan 2013 13:31:24 +0100)
From: Sergio Tamborini
I think is there something wrong in the server... you can try your example app at this url
http://www.christensen.pro/cgi-bin/CreatePDF/createpdf.cgi
it generates the same error when you press on "Create and download PDF" or "Create and show PDF" button.

Do you have any suggestion about this?

In the next days I'll go to my customer office so I can make some remote debug... Do the "Stub" works with web-apps?

Thanks a lot!

Il giorno 23/gen/2013, alle ore 12:49, Christian Schmitz <<email address removed>> ha scritto:

> Well, what is in the PaginaSchedaOrdine.PaginaSchedaOrdine.CreatePDF method?
>
> This could be a file path being invalid, so you get a nil folderitem. (missing permissions for example)
> Or a missing picture file or some other data files.
>
> You may want to use remote debugging to debug it.
>
> Greetings
> Christian

------

Sergio Tamborini
Brescia
http://www.system-i.it

"C'è un equivoco di fondo. Si dice che il politico che ha avuto frequentazioni mafiose, se non viene giudicato colpevole dalla magistratura, è un uomo onesto. No! La magistratura può fare solo accertamenti di carattere giudiziale. Le istituzioni hanno il dovere di estromettere gli uomini politici vicini alla mafia, per essere oneste e apparire tali"

"There is a basic misunderstanding. It is said that political mafia has had acquaintances, if not found guilty by the courts, is an honest man. No. The judiciary can only do the findings of a judicial nature. Institutions have a duty to oust politicians close to the mafia, to be honest, these look "

Paolo Borsellino

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] Error generating PDF in web edition
Date: 23.01.13 12:49 (Wed, 23 Jan 2013 12:49:15 +0100)
From: Christian Schmitz

Am 23.01.2013 um 12:43 schrieb Sergio Tamborini <<email address removed>>:

> Hello!
> I'm trying to develop a solution for one of my customers... this is a web-app to manage some documents. They have to generate document (text only) pdfs. I do it with dynapdf plugins
>
> On debug (MacOs 10.8.2) it works very nice, but when I build and I upload on the server (MacOs Server 10.6.5) when the user generate the pdf has got an error. I paste here the error.
>
> Is there something I can do to resolve the problem?

Well, what is in the PaginaSchedaOrdine.PaginaSchedaOrdine.CreatePDF method?

This could be a file path being invalid, so you get a nil folderitem. (missing permissions for example)
Or a missing picture file or some other data files.

You may want to use remote debugging to debug it.

Greetings
Christian