%PDF-

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

%PDF-

Heidi Dehaes - Olagos
Hello,

Does anyone has an idea what the reason is of the following error when i ask
the creation of a PDF in Ofbiz orders.
It gives me anywhere the error in the opened window:

"File doesn't start with "%PDF-"  "


regards,
Heidi
www.olagos.eu
Reply | Threaded
Open this post in threaded view
|

RE: %PDF-

bsanders1979
If you open a PDF file in a hex editor, you'll notice that the file
begins with that character sequence. My guess is that your output does
not constitute a valid PDF document.

Brian Sanders
Application Support Analyst


-----Original Message-----
From: Heidi Dehaes [mailto:[hidden email]]
Sent: Wednesday, February 18, 2009 3:10 PM
To: [hidden email]
Subject: %PDF-

Hello,

Does anyone has an idea what the reason is of the following error when i
ask
the creation of a PDF in Ofbiz orders.
It gives me anywhere the error in the opened window:

"File doesn't start with "%PDF-"  "


regards,
Heidi
www.olagos.eu
Reply | Threaded
Open this post in threaded view
|

Re: %PDF-

BJ Freeman
In reply to this post by Heidi Dehaes - Olagos
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

please see if this happens on the
https://demo40.hotwaxmedia.com/catalog/control/login/main?USERNAME=demoadmin&PASSWORD=ofbiz
please give steps to re-created this.

Heidi Dehaes sent the following on 2/18/2009 12:09 PM:

> Hello,
>
> Does anyone has an idea what the reason is of the following error when i ask
> the creation of a PDF in Ofbiz orders.
> It gives me anywhere the error in the opened window:
>
> "File doesn't start with "%PDF-"  "
>
>
> regards,
> Heidi
> www.olagos.eu
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJnG+6rP3NbaWWqE4RAjJhAJ0XZmO8QqGJ+z1CXyJjjR1CJKEuGwCfWZq4
Zi0qugSJETRNEX/ereU6qVo=
=/WjH
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: %PDF-

Heidi Dehaes - Olagos
Hello,

What do you mean in fact?
If i open your link, i come into the catalog manager.

Is this what you meant that i have to do? i don't understand it.

regards,
Heidi

2009/2/18 BJ Freeman <[hidden email]>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> please see if this happens on the
>
> https://demo40.hotwaxmedia.com/catalog/control/login/main?USERNAME=demoadmin&PASSWORD=ofbiz
> please give steps to re-created this.
>
> Heidi Dehaes sent the following on 2/18/2009 12:09 PM:
>  > Hello,
> >
> > Does anyone has an idea what the reason is of the following error when i
> ask
> > the creation of a PDF in Ofbiz orders.
> > It gives me anywhere the error in the opened window:
> >
> > "File doesn't start with "%PDF-"  "
> >
> >
> > regards,
> > Heidi
> > www.olagos.eu
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJnG+6rP3NbaWWqE4RAjJhAJ0XZmO8QqGJ+z1CXyJjjR1CJKEuGwCfWZq4
> Zi0qugSJETRNEX/ereU6qVo=
> =/WjH
> -----END PGP SIGNATURE-----
>
Reply | Threaded
Open this post in threaded view
|

Re: %PDF-

Scott Gray-2
Hi Heidi

If you haven't customized the pdf template at all then I would suggest sending us the error message (and surrounding log messages) from the ofbiz.log file.  If you have customized it or any surrounding code, send the log anyway but let us know what changes you've made.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com
801.657.2909


----- Original Message -----
From: "Heidi Dehaes" <[hidden email]>
To: [hidden email]
Sent: Wednesday, February 18, 2009 1:45:38 PM GMT -07:00 US/Canada Mountain
Subject: Re: %PDF-

Hello,

What do you mean in fact?
If i open your link, i come into the catalog manager.

Is this what you meant that i have to do? i don't understand it.

regards,
Heidi

2009/2/18 BJ Freeman <[hidden email]>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> please see if this happens on the
>
> https://demo40.hotwaxmedia.com/catalog/control/login/main?USERNAME=demoadmin&PASSWORD=ofbiz
> please give steps to re-created this.
>
> Heidi Dehaes sent the following on 2/18/2009 12:09 PM:
>  > Hello,
> >
> > Does anyone has an idea what the reason is of the following error when i
> ask
> > the creation of a PDF in Ofbiz orders.
> > It gives me anywhere the error in the opened window:
> >
> > "File doesn't start with "%PDF-"  "
> >
> >
> > regards,
> > Heidi
> > www.olagos.eu
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJnG+6rP3NbaWWqE4RAjJhAJ0XZmO8QqGJ+z1CXyJjjR1CJKEuGwCfWZq4
> Zi0qugSJETRNEX/ereU6qVo=
> =/WjH
> -----END PGP SIGNATURE-----
>
Reply | Threaded
Open this post in threaded view
|

Re: %PDF-

Heidi Dehaes - Olagos
thanks,

I will do that but first of all:
I have this problem already for a while. And it is possible that i used the
ireport editor to have a look at some definition files.

Could it be that i used the wrong version of ireport editor and that that
gives the problems?

regards,
Heidi

2009/2/18 Scott Gray <[hidden email]>

> Hi Heidi
>
> If you haven't customized the pdf template at all then I would suggest
> sending us the error message (and surrounding log messages) from the
> ofbiz.log file.  If you have customized it or any surrounding code, send the
> log anyway but let us know what changes you've made.
>
> Regards
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
> 801.657.2909
>
>
> ----- Original Message -----
> From: "Heidi Dehaes" <[hidden email]>
> To: [hidden email]
>  Sent: Wednesday, February 18, 2009 1:45:38 PM GMT -07:00 US/Canada
> Mountain
> Subject: Re: %PDF-
>
> Hello,
>
> What do you mean in fact?
> If i open your link, i come into the catalog manager.
>
> Is this what you meant that i have to do? i don't understand it.
>
> regards,
> Heidi
>
> 2009/2/18 BJ Freeman <[hidden email]>
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > please see if this happens on the
> >
> >
> https://demo40.hotwaxmedia.com/catalog/control/login/main?USERNAME=demoadmin&PASSWORD=ofbiz
> > please give steps to re-created this.
> >
> > Heidi Dehaes sent the following on 2/18/2009 12:09 PM:
> >  > Hello,
> > >
> > > Does anyone has an idea what the reason is of the following error when
> i
> > ask
> > > the creation of a PDF in Ofbiz orders.
> > > It gives me anywhere the error in the opened window:
> > >
> > > "File doesn't start with "%PDF-"  "
> > >
> > >
> > > regards,
> > > Heidi
> > > www.olagos.eu
> > >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.6 (MingW32)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iD8DBQFJnG+6rP3NbaWWqE4RAjJhAJ0XZmO8QqGJ+z1CXyJjjR1CJKEuGwCfWZq4
> > Zi0qugSJETRNEX/ereU6qVo=
> > =/WjH
> > -----END PGP SIGNATURE-----
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: %PDF-

Heidi Dehaes - Olagos
Here is the log.
It is quite long !

regards,
Heidi


2009-02-18 23:49:00,827 (http-0.0.0.0-8443-Processor4) [
ModelScreen.java:137:ERROR] Error rendering screen
[component://common/widget/CommonScreens.xml#FoReportDecorator]:
java.lang.RuntimeException: Error rendering included template at location
[component://common/webcommon/includes/reportTemplate.fo.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
throws org.ofbiz.base.util.GeneralException threw an exception when invoked
on org.ofbiz.widget.screen.ModelScreenWidget$[hidden email]
back transaction.
2009-02-18 23:49:00,839 (http-0.0.0.0-8443-Processor4) [
TransactionUtil.java:295:INFO ] [TransactionUtil.setRollbackOnly]
transaction rollback only not set, rollback only is already set.
2009-02-18 23:49:00,841 (http-0.0.0.0-8443-Processor4) [
ModelScreen.java:148:ERROR] Error rendering screen
[component://order/widget/ordermgr/OrderPrintForms.xml#OrderPDF]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://common/widget/CommonScreens.xml#FoReportDecorator]:
java.lang.RuntimeException: Error rendering included template at location
[component://common/webcommon/includes/reportTemplate.fo.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
throws org.ofbiz.base.util.GeneralException threw an exception when invoked
on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc (Error
rendering included template at location
[component://common/webcommon/includes/reportTemplate.fo.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
throws org.ofbiz.base.util.GeneralException threw an exception when invoked
on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc).
Rolling back transaction.
2009-02-18 23:49:00,847 (http-0.0.0.0-8443-Processor4) [
TransactionUtil.java:255:ERROR] ---- exception report
----------------------------------------------------------
[TransactionUtil.rollback] Exception: java.lang.Exception Message: Stack
Trace ---- stack trace
---------------------------------------------------------------
java.lang.Exception: Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:254)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:236)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:151)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:67)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:643)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:427)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------

2009-02-18 23:49:00,863 (http-0.0.0.0-8443-Processor4) [
TransactionUtil.java:265:INFO ] [TransactionUtil.rollback] transaction
rolled back
2009-02-18 23:49:00,864 (http-0.0.0.0-8443-Processor4) [
TransactionUtil.java:189:WARN ] [TransactionUtil.commit] Not committing
transaction, status is STATUS_NO_TRANSACTION
2009-02-18 23:49:00,866 (http-0.0.0.0-8443-Processor4) [
ControlServlet.java:192:ERROR] ---- exception report
---------------------------------------------------------- Error in request
handler: Exception: org.ofbiz.base.util.GeneralException Message: Error
rendering screen
[component://order/widget/ordermgr/OrderPrintForms.xml#OrderPDF]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://common/widget/CommonScreens.xml#FoReportDecorator]:
java.lang.RuntimeException: Error rendering included template at location
[component://common/webcommon/includes/reportTemplate.fo.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
throws org.ofbiz.base.util.GeneralException threw an exception when invoked
on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc (Error
rendering included template at location
[component://common/webcommon/includes/reportTemplate.fo.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
throws org.ofbiz.base.util.GeneralException threw an exception when invoked
on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc) (Error
rendering screen
[component://common/widget/CommonScreens.xml#FoReportDecorator]:
java.lang.RuntimeException: Error rendering included template at location
[component://common/webcommon/includes/reportTemplate.fo.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
throws org.ofbiz.base.util.GeneralException threw an exception when invoked
on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc (Error
rendering included template at location
[component://common/webcommon/includes/reportTemplate.fo.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
throws org.ofbiz.base.util.GeneralException threw an exception when invoked
on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc)) ----
stack trace ---------------------------------------------------------------
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://order/widget/ordermgr/OrderPrintForms.xml#OrderPDF]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://common/widget/CommonScreens.xml#FoReportDecorator]:
java.lang.RuntimeException: Error rendering included template at location
[component://common/webcommon/includes/reportTemplate.fo.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
throws org.ofbiz.base.util.GeneralException threw an exception when invoked
on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc (Error
rendering included template at location
[component://common/webcommon/includes/reportTemplate.fo.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
throws org.ofbiz.base.util.GeneralException threw an exception when invoked
on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc) (Error
rendering screen
[component://common/widget/CommonScreens.xml#FoReportDecorator]:
java.lang.RuntimeException: Error rendering included template at location
[component://common/webcommon/includes/reportTemplate.fo.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
throws org.ofbiz.base.util.GeneralException threw an exception when invoked
on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc (Error
rendering included template at location
[component://common/webcommon/includes/reportTemplate.fo.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
throws org.ofbiz.base.util.GeneralException threw an exception when invoked
on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc))
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:159)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:67)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:643)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:427)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:619) org.ofbiz.base.util.GeneralException:
Error rendering screen
[component://common/widget/CommonScreens.xml#FoReportDecorator]:
java.lang.RuntimeException: Error rendering included template at location
[component://common/webcommon/includes/reportTemplate.fo.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
throws org.ofbiz.base.util.GeneralException threw an exception when invoked
on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc (Error
rendering included template at location
[component://common/webcommon/includes/reportTemplate.fo.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
throws org.ofbiz.base.util.GeneralException threw an exception when invoked
on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:145)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:489)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:151)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:244)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:67)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:643)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:427)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:619) java.lang.RuntimeException: Error
rendering included template at location
[component://common/webcommon/includes/reportTemplate.fo.ftl]:
freemarker.template.TemplateModelException: Method public java.lang.String
org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
throws org.ofbiz.base.util.GeneralException threw an exception when invoked
on org.ofbiz.widget.screen.ModelScreenWidget$[hidden email](HtmlWidget.java:90)
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:110)
org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:65)
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:806)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:151)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:244)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:489)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:151)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:244)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:67)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:643)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:427)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:619)

2009/2/18 Heidi Dehaes <[hidden email]>

> thanks,
>
> I will do that but first of all:
> I have this problem already for a while. And it is possible that i used the
> ireport editor to have a look at some definition files.
>
> Could it be that i used the wrong version of ireport editor and that that
> gives the problems?
>
> regards,
> Heidi
>
> 2009/2/18 Scott Gray <[hidden email]>
>
> Hi Heidi
>>
>> If you haven't customized the pdf template at all then I would suggest
>> sending us the error message (and surrounding log messages) from the
>> ofbiz.log file.  If you have customized it or any surrounding code, send the
>> log anyway but let us know what changes you've made.
>>
>> Regards
>> Scott
>>
>> HotWax Media
>> http://www.hotwaxmedia.com
>> 801.657.2909
>>
>>
>> ----- Original Message -----
>> From: "Heidi Dehaes" <[hidden email]>
>> To: [hidden email]
>>  Sent: Wednesday, February 18, 2009 1:45:38 PM GMT -07:00 US/Canada
>> Mountain
>> Subject: Re: %PDF-
>>
>> Hello,
>>
>> What do you mean in fact?
>> If i open your link, i come into the catalog manager.
>>
>> Is this what you meant that i have to do? i don't understand it.
>>
>> regards,
>> Heidi
>>
>> 2009/2/18 BJ Freeman <[hidden email]>
>>
>> > -----BEGIN PGP SIGNED MESSAGE-----
>> > Hash: SHA1
>> >
>> > please see if this happens on the
>> >
>> >
>> https://demo40.hotwaxmedia.com/catalog/control/login/main?USERNAME=demoadmin&PASSWORD=ofbiz
>> > please give steps to re-created this.
>> >
>> > Heidi Dehaes sent the following on 2/18/2009 12:09 PM:
>> >  > Hello,
>> > >
>> > > Does anyone has an idea what the reason is of the following error when
>> i
>> > ask
>> > > the creation of a PDF in Ofbiz orders.
>> > > It gives me anywhere the error in the opened window:
>> > >
>> > > "File doesn't start with "%PDF-"  "
>> > >
>> > >
>> > > regards,
>> > > Heidi
>> > > www.olagos.eu
>> > >
>> > -----BEGIN PGP SIGNATURE-----
>> > Version: GnuPG v1.4.6 (MingW32)
>> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>> >
>> > iD8DBQFJnG+6rP3NbaWWqE4RAjJhAJ0XZmO8QqGJ+z1CXyJjjR1CJKEuGwCfWZq4
>> > Zi0qugSJETRNEX/ereU6qVo=
>> > =/WjH
>> > -----END PGP SIGNATURE-----
>> >
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: %PDF-

Heidi Dehaes - Olagos
Hello,

Has anyone had this problem already once ?

regards,
heidi

2009/2/18 Heidi Dehaes <[hidden email]>

> Here is the log.
> It is quite long !
>
> regards,
> Heidi
>
>
> 2009-02-18 23:49:00,827 (http-0.0.0.0-8443-Processor4) [
> ModelScreen.java:137:ERROR] Error rendering screen
> [component://common/widget/CommonScreens.xml#FoReportDecorator]:
> java.lang.RuntimeException: Error rendering included template at location
> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
> freemarker.template.TemplateModelException: Method public java.lang.String
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
> on org.ofbiz.widget.screen.ModelScreenWidget$[hidden email] back transaction.
> 2009-02-18 23:49:00,839 (http-0.0.0.0-8443-Processor4) [
> TransactionUtil.java:295:INFO ] [TransactionUtil.setRollbackOnly]
> transaction rollback only not set, rollback only is already set.
> 2009-02-18 23:49:00,841 (http-0.0.0.0-8443-Processor4) [
> ModelScreen.java:148:ERROR] Error rendering screen
> [component://order/widget/ordermgr/OrderPrintForms.xml#OrderPDF]:
> org.ofbiz.base.util.GeneralException: Error rendering screen
> [component://common/widget/CommonScreens.xml#FoReportDecorator]:
> java.lang.RuntimeException: Error rendering included template at location
> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
> freemarker.template.TemplateModelException: Method public java.lang.String
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc(Error rendering included template at location
> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
> freemarker.template.TemplateModelException: Method public java.lang.String
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc).
> Rolling back transaction.
> 2009-02-18 23:49:00,847 (http-0.0.0.0-8443-Processor4) [
> TransactionUtil.java:255:ERROR] ---- exception report
> ----------------------------------------------------------
> [TransactionUtil.rollback] Exception: java.lang.Exception Message: Stack
> Trace ---- stack trace
> ---------------------------------------------------------------
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:254)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:236)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:151)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:67)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:643)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:427)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:619)
> --------------------------------------------------------------------------------
>
> 2009-02-18 23:49:00,863 (http-0.0.0.0-8443-Processor4) [
> TransactionUtil.java:265:INFO ] [TransactionUtil.rollback] transaction
> rolled back
> 2009-02-18 23:49:00,864 (http-0.0.0.0-8443-Processor4) [
> TransactionUtil.java:189:WARN ] [TransactionUtil.commit] Not committing
> transaction, status is STATUS_NO_TRANSACTION
> 2009-02-18 23:49:00,866 (http-0.0.0.0-8443-Processor4) [
> ControlServlet.java:192:ERROR] ---- exception report
> ---------------------------------------------------------- Error in request
> handler: Exception: org.ofbiz.base.util.GeneralException Message: Error
> rendering screen
> [component://order/widget/ordermgr/OrderPrintForms.xml#OrderPDF]:
> org.ofbiz.base.util.GeneralException: Error rendering screen
> [component://common/widget/CommonScreens.xml#FoReportDecorator]:
> java.lang.RuntimeException: Error rendering included template at location
> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
> freemarker.template.TemplateModelException: Method public java.lang.String
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc(Error rendering included template at location
> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
> freemarker.template.TemplateModelException: Method public java.lang.String
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc)
> (Error rendering screen
> [component://common/widget/CommonScreens.xml#FoReportDecorator]:
> java.lang.RuntimeException: Error rendering included template at location
> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
> freemarker.template.TemplateModelException: Method public java.lang.String
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc(Error rendering included template at location
> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
> freemarker.template.TemplateModelException: Method public java.lang.String
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc))
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.base.util.GeneralException: Error rendering screen
> [component://order/widget/ordermgr/OrderPrintForms.xml#OrderPDF]:
> org.ofbiz.base.util.GeneralException: Error rendering screen
> [component://common/widget/CommonScreens.xml#FoReportDecorator]:
> java.lang.RuntimeException: Error rendering included template at location
> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
> freemarker.template.TemplateModelException: Method public java.lang.String
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc(Error rendering included template at location
> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
> freemarker.template.TemplateModelException: Method public java.lang.String
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc)
> (Error rendering screen
> [component://common/widget/CommonScreens.xml#FoReportDecorator]:
> java.lang.RuntimeException: Error rendering included template at location
> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
> freemarker.template.TemplateModelException: Method public java.lang.String
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc(Error rendering included template at location
> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
> freemarker.template.TemplateModelException: Method public java.lang.String
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc))
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:159)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:67)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:643)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:427)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:619) org.ofbiz.base.util.GeneralException:
> Error rendering screen
> [component://common/widget/CommonScreens.xml#FoReportDecorator]:
> java.lang.RuntimeException: Error rendering included template at location
> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
> freemarker.template.TemplateModelException: Method public java.lang.String
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc(Error rendering included template at location
> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
> freemarker.template.TemplateModelException: Method public java.lang.String
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:145)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:489)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:151)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:244)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:67)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:643)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:427)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:619) java.lang.RuntimeException: Error
> rendering included template at location
> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
> freemarker.template.TemplateModelException: Method public java.lang.String
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
> on org.ofbiz.widget.screen.ModelScreenWidget$[hidden email](HtmlWidget.java:90)
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:110)
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:65)
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:806)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:151)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:244)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:489)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:151)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:244)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
> org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:67)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:643)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:427)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:619)
>
> 2009/2/18 Heidi Dehaes <[hidden email]>
>
>  thanks,
>>
>> I will do that but first of all:
>> I have this problem already for a while. And it is possible that i used
>> the ireport editor to have a look at some definition files.
>>
>> Could it be that i used the wrong version of ireport editor and that that
>> gives the problems?
>>
>> regards,
>> Heidi
>>
>> 2009/2/18 Scott Gray <[hidden email]>
>>
>> Hi Heidi
>>>
>>> If you haven't customized the pdf template at all then I would suggest
>>> sending us the error message (and surrounding log messages) from the
>>> ofbiz.log file.  If you have customized it or any surrounding code, send the
>>> log anyway but let us know what changes you've made.
>>>
>>> Regards
>>> Scott
>>>
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>> 801.657.2909
>>>
>>>
>>> ----- Original Message -----
>>> From: "Heidi Dehaes" <[hidden email]>
>>> To: [hidden email]
>>>  Sent: Wednesday, February 18, 2009 1:45:38 PM GMT -07:00 US/Canada
>>> Mountain
>>> Subject: Re: %PDF-
>>>
>>> Hello,
>>>
>>> What do you mean in fact?
>>> If i open your link, i come into the catalog manager.
>>>
>>> Is this what you meant that i have to do? i don't understand it.
>>>
>>> regards,
>>> Heidi
>>>
>>> 2009/2/18 BJ Freeman <[hidden email]>
>>>
>>> > -----BEGIN PGP SIGNED MESSAGE-----
>>> > Hash: SHA1
>>> >
>>> > please see if this happens on the
>>> >
>>> >
>>> https://demo40.hotwaxmedia.com/catalog/control/login/main?USERNAME=demoadmin&PASSWORD=ofbiz
>>> > please give steps to re-created this.
>>> >
>>> > Heidi Dehaes sent the following on 2/18/2009 12:09 PM:
>>> >  > Hello,
>>> > >
>>> > > Does anyone has an idea what the reason is of the following error
>>> when i
>>> > ask
>>> > > the creation of a PDF in Ofbiz orders.
>>> > > It gives me anywhere the error in the opened window:
>>> > >
>>> > > "File doesn't start with "%PDF-"  "
>>> > >
>>> > >
>>> > > regards,
>>> > > Heidi
>>> > > www.olagos.eu
>>> > >
>>> > -----BEGIN PGP SIGNATURE-----
>>> > Version: GnuPG v1.4.6 (MingW32)
>>> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>> >
>>> > iD8DBQFJnG+6rP3NbaWWqE4RAjJhAJ0XZmO8QqGJ+z1CXyJjjR1CJKEuGwCfWZq4
>>> > Zi0qugSJETRNEX/ereU6qVo=
>>> > =/WjH
>>> > -----END PGP SIGNATURE-----
>>> >
>>>
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: %PDF-

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

sorry thought scott might follow up.
the problem is when the error happens it does not handle the situation
to report back to the user and abort the process
Error rendering included template at location
[component://common/webcommon/includes/reportTemplate.fo.ftl]:
so a pfd never gets generated.
best I can do without tracing the code

Heidi Dehaes sent the following on 2/19/2009 3:25 AM:

> Hello,
>
> Has anyone had this problem already once ?
>
> regards,
> heidi
>
> 2009/2/18 Heidi Dehaes <[hidden email]>
>
>> Here is the log.
>> It is quite long !
>>
>> regards,
>> Heidi
>>
>>
>> 2009-02-18 23:49:00,827 (http-0.0.0.0-8443-Processor4) [
>> ModelScreen.java:137:ERROR] Error rendering screen
>> [component://common/widget/CommonScreens.xml#FoReportDecorator]:
>> java.lang.RuntimeException: Error rendering included template at location
>> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
>> freemarker.template.TemplateModelException: Method public java.lang.String
>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
>> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
>> on org.ofbiz.widget.screen.ModelScreenWidget$[hidden email] back transaction.
>> 2009-02-18 23:49:00,839 (http-0.0.0.0-8443-Processor4) [
>> TransactionUtil.java:295:INFO ] [TransactionUtil.setRollbackOnly]
>> transaction rollback only not set, rollback only is already set.
>> 2009-02-18 23:49:00,841 (http-0.0.0.0-8443-Processor4) [
>> ModelScreen.java:148:ERROR] Error rendering screen
>> [component://order/widget/ordermgr/OrderPrintForms.xml#OrderPDF]:
>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://common/widget/CommonScreens.xml#FoReportDecorator]:
>> java.lang.RuntimeException: Error rendering included template at location
>> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
>> freemarker.template.TemplateModelException: Method public java.lang.String
>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
>> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
>> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc(Error rendering included template at location
>> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
>> freemarker.template.TemplateModelException: Method public java.lang.String
>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
>> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
>> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc).
>> Rolling back transaction.
>> 2009-02-18 23:49:00,847 (http-0.0.0.0-8443-Processor4) [
>> TransactionUtil.java:255:ERROR] ---- exception report
>> ----------------------------------------------------------
>> [TransactionUtil.rollback] Exception: java.lang.Exception Message: Stack
>> Trace ---- stack trace
>> ---------------------------------------------------------------
>> java.lang.Exception: Stack Trace
>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:254)
>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:236)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:151)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>> org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:67)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:643)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:427)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>> java.lang.Thread.run(Thread.java:619)
>> --------------------------------------------------------------------------------
>>
>> 2009-02-18 23:49:00,863 (http-0.0.0.0-8443-Processor4) [
>> TransactionUtil.java:265:INFO ] [TransactionUtil.rollback] transaction
>> rolled back
>> 2009-02-18 23:49:00,864 (http-0.0.0.0-8443-Processor4) [
>> TransactionUtil.java:189:WARN ] [TransactionUtil.commit] Not committing
>> transaction, status is STATUS_NO_TRANSACTION
>> 2009-02-18 23:49:00,866 (http-0.0.0.0-8443-Processor4) [
>> ControlServlet.java:192:ERROR] ---- exception report
>> ---------------------------------------------------------- Error in request
>> handler: Exception: org.ofbiz.base.util.GeneralException Message: Error
>> rendering screen
>> [component://order/widget/ordermgr/OrderPrintForms.xml#OrderPDF]:
>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://common/widget/CommonScreens.xml#FoReportDecorator]:
>> java.lang.RuntimeException: Error rendering included template at location
>> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
>> freemarker.template.TemplateModelException: Method public java.lang.String
>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
>> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
>> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc(Error rendering included template at location
>> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
>> freemarker.template.TemplateModelException: Method public java.lang.String
>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
>> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
>> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc)
>> (Error rendering screen
>> [component://common/widget/CommonScreens.xml#FoReportDecorator]:
>> java.lang.RuntimeException: Error rendering included template at location
>> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
>> freemarker.template.TemplateModelException: Method public java.lang.String
>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
>> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
>> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc(Error rendering included template at location
>> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
>> freemarker.template.TemplateModelException: Method public java.lang.String
>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
>> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
>> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc))
>> ---- stack trace
>> ---------------------------------------------------------------
>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://order/widget/ordermgr/OrderPrintForms.xml#OrderPDF]:
>> org.ofbiz.base.util.GeneralException: Error rendering screen
>> [component://common/widget/CommonScreens.xml#FoReportDecorator]:
>> java.lang.RuntimeException: Error rendering included template at location
>> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
>> freemarker.template.TemplateModelException: Method public java.lang.String
>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
>> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
>> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc(Error rendering included template at location
>> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
>> freemarker.template.TemplateModelException: Method public java.lang.String
>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
>> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
>> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc)
>> (Error rendering screen
>> [component://common/widget/CommonScreens.xml#FoReportDecorator]:
>> java.lang.RuntimeException: Error rendering included template at location
>> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
>> freemarker.template.TemplateModelException: Method public java.lang.String
>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
>> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
>> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc(Error rendering included template at location
>> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
>> freemarker.template.TemplateModelException: Method public java.lang.String
>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
>> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
>> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc))
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:159)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>> org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:67)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:643)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:427)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>> java.lang.Thread.run(Thread.java:619) org.ofbiz.base.util.GeneralException:
>> Error rendering screen
>> [component://common/widget/CommonScreens.xml#FoReportDecorator]:
>> java.lang.RuntimeException: Error rendering included template at location
>> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
>> freemarker.template.TemplateModelException: Method public java.lang.String
>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
>> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
>> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc(Error rendering included template at location
>> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
>> freemarker.template.TemplateModelException: Method public java.lang.String
>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
>> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
>> on org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer@f1f2cc)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:145)
>> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:489)
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:151)
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:244)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>> org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:67)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:643)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:427)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>> java.lang.Thread.run(Thread.java:619) java.lang.RuntimeException: Error
>> rendering included template at location
>> [component://common/webcommon/includes/reportTemplate.fo.ftl]:
>> freemarker.template.TemplateModelException: Method public java.lang.String
>> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(java.lang.String)
>> throws org.ofbiz.base.util.GeneralException threw an exception when invoked
>> on org.ofbiz.widget.screen.ModelScreenWidget$[hidden email](HtmlWidget.java:90)
>> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:110)
>> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:65)
>> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:806)
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:151)
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:244)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
>> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:489)
>> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:151)
>> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:244)
>> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:134)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:105)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:90)
>> org.ofbiz.widget.screen.ScreenFopViewHandler.render(ScreenFopViewHandler.java:67)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:643)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:427)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>> java.lang.Thread.run(Thread.java:619)
>>
>> 2009/2/18 Heidi Dehaes <[hidden email]>
>>
>>  thanks,
>>> I will do that but first of all:
>>> I have this problem already for a while. And it is possible that i used
>>> the ireport editor to have a look at some definition files.
>>>
>>> Could it be that i used the wrong version of ireport editor and that that
>>> gives the problems?
>>>
>>> regards,
>>> Heidi
>>>
>>> 2009/2/18 Scott Gray <[hidden email]>
>>>
>>> Hi Heidi
>>>> If you haven't customized the pdf template at all then I would suggest
>>>> sending us the error message (and surrounding log messages) from the
>>>> ofbiz.log file.  If you have customized it or any surrounding code, send the
>>>> log anyway but let us know what changes you've made.
>>>>
>>>> Regards
>>>> Scott
>>>>
>>>> HotWax Media
>>>> http://www.hotwaxmedia.com
>>>> 801.657.2909
>>>>
>>>>
>>>> ----- Original Message -----
>>>> From: "Heidi Dehaes" <[hidden email]>
>>>> To: [hidden email]
>>>>  Sent: Wednesday, February 18, 2009 1:45:38 PM GMT -07:00 US/Canada
>>>> Mountain
>>>> Subject: Re: %PDF-
>>>>
>>>> Hello,
>>>>
>>>> What do you mean in fact?
>>>> If i open your link, i come into the catalog manager.
>>>>
>>>> Is this what you meant that i have to do? i don't understand it.
>>>>
>>>> regards,
>>>> Heidi
>>>>
>>>> 2009/2/18 BJ Freeman <[hidden email]>
>>>>
> please see if this happens on the
>
>
>>>>> https://demo40.hotwaxmedia.com/catalog/control/login/main?USERNAME=demoadmin&PASSWORD=ofbiz
> please give steps to re-created this.
>
> Heidi Dehaes sent the following on 2/18/2009 12:09 PM:
>  > Hello,
>>>>>>> Does anyone has an idea what the reason is of the following error
>>>>> when i
> ask
>>>>>>> the creation of a PDF in Ofbiz orders.
>>>>>>> It gives me anywhere the error in the opened window:
>>>>>>>
>>>>>>> "File doesn't start with "%PDF-"  "
>>>>>>>
>>>>>>>
>>>>>>> regards,
>>>>>>> Heidi
>>>>>>> www.olagos.eu
>>>>>>>
>>>>>
>>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJncX4rP3NbaWWqE4RAtK8AJ48Myy/tfj8zg7CgHiiKAF8a5WzMgCgzZgT
+57O/7rjjwDSOZcurqeBJpY=
=Bu8V
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: %PDF-

abhibt
In reply to this post by Heidi Dehaes - Olagos
I am also facing the same problem.
Did u get any solution?

Regards
Abhi

Heidi Dehaes wrote
Hello,

Does anyone has an idea what the reason is of the following error when i ask
the creation of a PDF in Ofbiz orders.
It gives me anywhere the error in the opened window:

"File doesn't start with "%PDF-"  "


regards,
Heidi
www.olagos.eu
Reply | Threaded
Open this post in threaded view
|

Re: %PDF-

BJ Freeman
In reply to this post by Heidi Dehaes - Olagos
steps to re-create and logs would be helpful.
also can you create this on the demo servers?


abhibt sent the following on 6/21/2009 2:01 AM:

> I am also facing the same problem.
> Did u get any solution?
>
> Regards
> Abhi
>
>
> Heidi Dehaes wrote:
>> Hello,
>>
>> Does anyone has an idea what the reason is of the following error when i
>> ask
>> the creation of a PDF in Ofbiz orders.
>> It gives me anywhere the error in the opened window:
>>
>> "File doesn't start with "%PDF-"  "
>>
>>
>> regards,
>> Heidi
>> www.olagos.eu
>>
>>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.