Please find the attached image. It has been produced
by “Windows Paint” (the pinting program that follows the windows
operating system for XP-version). If I try to load this image as a product image there
is no error. If I press the image in the ecommerce-screens the
stacktrace is presented in a popup-window. Is this a known problem? Thanks Torstein Hegbom ------- Method public static final java.lang.String
org.ofbiz.base.util.Base64.base64Decode(java.lang.String) threw an exception
The problematic instruction: ---------- ==> assignment:
detailImage=Static["org.ofbiz.base.util.Base64"].base64Decode(requestParameters.detail)
[on line 23, column . . . . (DelegatingMethodAccessorImpl.java:43) at
java.lang.reflect.Method.invoke(Method.java:616) at
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
... 44 more Error rendering included template at location
[component://ecommerce/webapp/ecommerce/catalog/detailImage.ftl]:
freemarker.template.TemplateModelException: Method public static final
java.lang.String org.ofbiz.base.util.Base64.base64Decode(java.lang.String)
threw an exception |
Administrator
|
It has been already reported http://markmail.org/message/22k4zv2g7h5tj3qo
But AFAIK not Jira issue has been opened Not sure if you already know that, anyway: http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices Thanks Jacques From: Torstein Hegbom To: [hidden email] Sent: Friday, June 05, 2009 11:37 AM Subject: JPG decodng error? Please find the attached image. It has been produced by "Windows Paint" (the pinting program that follows the windows operating system for XP-version). If I try to load this image as a product image there is no error. If I press the image in the ecommerce-screens the stacktrace is presented in a popup-window. Is this a known problem? Thanks Torstein Hegbom ------- Method public static final java.lang.String org.ofbiz.base.util.Base64.base64Decode(java.lang.String) threw an exception The problematic instruction: ---------- ==> assignment: detailImage=Static["org.ofbiz.base.util.Base64"].base64Decode(requestParameters.detail) [on line 23, column 9 in component://ecommerce/webapp/ecommerce/catalog/detailImage.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public static final java.lang.String org.ofbiz.base.util.Base64.base64Decode(java.lang.String) threw an exception at freemarker.ext.beans.OverloadedMethodModel.exec . . . . (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104) ... 44 more Error rendering included template at location [component://ecommerce/webapp/ecommerce/catalog/detailImage.ftl]: freemarker.template.TemplateModelException: Method public static final java.lang.String org.ofbiz.base.util.Base64.base64Decode(java.lang.String) threw an exception |
In reply to this post by Torstein Hegbom
may I suggest you use GIMP
http://www.gimp.org/ it is free and works fine with ofbiz and windows Torstein Hegbom sent the following on 6/5/2009 2:37 AM: > Please find the attached image. It has been produced by "Windows Paint" (the > pinting program that follows the windows operating system for XP-version). > > > > If I try to load this image as a product image there is no error. > > > > If I press the image in the ecommerce-screens the stacktrace is presented in > a popup-window. > > > > Is this a known problem? > > > > Thanks > > > > Torstein Hegbom > > ------- > > > > Method public static final java.lang.String > org.ofbiz.base.util.Base64.base64Decode(java.lang.String) threw an exception > The problematic instruction: ---------- ==> assignment: > detailImage=Static["org.ofbiz.base.util.Base64"].base64Decode(requestParamet > ers.detail) [on line 23, column 9 in > component://ecommerce/webapp/ecommerce/catalog/detailImage.ftl] ---------- > Java backtrace for programmers: ---------- > freemarker.template.TemplateModelException: Method public static final > java.lang.String org.ofbiz.base.util.Base64.base64Decode(java.lang.String) > threw an exception at freemarker.ext.beans.OverloadedMethodModel.exec > > . > > . > > . > > . > > (DelegatingMethodAccessorImpl.java:43) at > java.lang.reflect.Method.invoke(Method.java:616) at > freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at > freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:1 > 04) ... 44 more Error rendering included template at location > [component://ecommerce/webapp/ecommerce/catalog/detailImage.ftl]: > freemarker.template.TemplateModelException: Method public static final > java.lang.String org.ofbiz.base.util.Base64.base64Decode(java.lang.String) > threw an exception > > -- 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. |
Free forum by Nabble | Edit this page |