« Return to Thread: PDF Plugin Upgrade to 0.4 error
I get this error on my application (grails 1.1.1)
BaseUri is http://localhost:8080/test
Fetching url http://localhost:8080/test/test.gsp
2009-06-18 15:49:40,449 [12237125@qtp0-7] ERROR service.PdfService -
org.xhtmlrenderer.util.XRRuntimeException: Can't load the XML resource
(using TRaX transformer). java.io.IOException: Stream closed
there was a problem with PDF generation java.lang.NullPointerException:
Cannot get property 'length' on null object
FEHLER: 'Stream closed'
What should I do?
grailsOnUbuntu wrote:
>
> The demo stuff is kinda sketchy in 1.1, because the views don't show up
> in
> the app after installing the plugin. and therefore I don't have good
> testing
> of the plugin as installed in a 1.1 app. I will look into this next week
> as
> soon as I get time.
>
> it should work for jSecurity (or any other security?) if you use the
> pdfForm
> and do method="post" which also requires that you use either
> template="something" or controller="something" action="someAction". Tags
> which use a url still don't work with secured views.
>
>
>
> On Thu, Apr 30, 2009 at 9:40 PM, Marc Dworkin <marcvsxiv@...> wrote:
>
>> Hi,
>>
>> I upgraded my PDF plugin to 0.4, which broke the included Simple PDF
>> Demo.
>>
>> Selecting the link for
>> http://localhost:8080/MyApp/pdf/demo2?url=/pdf/demo2&filename=document.pdf
>>
>> Returns an html page and the following logs
>>
>> --------------------------
>> BaseUri is http://localhost:8080/MyApp
>> Fetching url http://localhost:8080/MyApp/pdf/demo2
>> 2009-04-30
>> <http://localhost:8080/MyApp/pdf/demo2%0A2009-04-30>22:30:22,311
>> [7832332@qtp0-4]
>> ERROR service.PdfService - org.xhtmlrenderer.util.XRRuntimeException:
>> Can't
>> load the XML resource (using TRaX transformer).
>> org.xml.sax.SAXParseException: The entity name must immediately follow
>> the '&' in the entity reference.there was a problem with PDF generation
>> java.lang.NullPointerException: Cannot get property 'length' on null
>> object
>> --------------------------
>>
>> Also, from the release notes. Does "ability to use on secured
>> applications" mean it now works with Jsecurity?
>>
>> Thanks!
>>
>> Marc
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>> http://xircles.codehaus.org/manage_email
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/PDF-Plugin-Upgrade-to-0.4-error-tp23327713p24093413.html
Sent from the grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
« Return to Thread: PDF Plugin Upgrade to 0.4 error
| Free embeddable forum powered by Nabble | Forum Help |