[OFBiz] Users - Blank page when checking out

David E. Jones jonesde at ofbiz.org
Wed Mar 2 19:19:28 EST 2005


Paul,

Here is the error message, as you seem to have isolated:

================================
Exception: org.ofbiz.shipment.thirdparty.usps.UspsRequestException
Message: Error reading request Document from a String: Premature end of
file.
================================

This is an issue with the USPS stuff. The service to get the rates in  
real time during check out is setup by default, but not configured in  
the properties file. So, try checking out with a UPS or other shipment  
method.

Also, you can see the Production Setup Guide (on the Online Info page  
of the Undersun Consulting site) for details about all of this.

-David


On Mar 2, 2005, at 7:14 PM, Tuan Ngo wrote:

> Two questions:
>
> 1. What RDMBS are you using?
> 2. What JDBC driver are you using?
>
> I ran into a somewhat similar problem with JDTS driver for SQL server
> before.
>
> Regards,
>
> tuan
>
> -----Original Message-----
> From: users-bounces at lists.ofbiz.org
> [mailto:users-bounces at lists.ofbiz.org]On Behalf Of Paul Pound
> Sent: Wednesday, March 02, 2005 3:58 PM
> To: users at lists.ofbiz.org
> Subject: [OFBiz] Users - Blank page when checking out
>
>
> When I try to check out everything seems ok until I click next on where
> shall we ship it.  It then trys to load checkoutoptions but all it  
> comes
> up with is  blank page.  I am using the the source files from two  
> nights
> ago from subversion.  The build seem to go ok, I ran the install target
> using ant.  I was able to add products, categories, catalogs, parties
> with no problems.  From the stack trace it looks like it is trying to
> read a file or something to get UPS rates.  I am very new to ofbiz so  
> it
> is probably something I have not setup correctly.  If someone could
> point me in the right direction I would appreciate it.  I have attached
> the whole stacktrace as a zip file.
>
> Thanks,
> Paul
>
> ---- exception report
> ----------------------------------------------------------
> Exception: org.ofbiz.shipment.thirdparty.usps.UspsRequestException
> Message: Error reading request Document from a String: Premature end of
> file.
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.shipment.thirdparty.usps.UspsRequestException: Error reading
> request Document from a String: Premature end of file.
> org.ofbiz.shipment.thirdparty.usps.UspsServices.sendUspsRequest(UspsSer 
> v
> ices.java:1307)
> org.ofbiz.shipment.thirdparty.usps.UspsServices.uspsRateInquire(UspsSer 
> v
> ices.java:184)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja 
> v
> a:39)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso 
> r
> Impl.java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJava 
> E
> ngine.java:101)
> org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine. 
> j
> ava:63)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:337)
> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:211)
> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:110)
> org.ofbiz.order.shoppingcart.shipping.ShippingEvents.getExternalShipEst 
> i
> mate(ShippingEvents.java:241)
> org.ofbiz.order.shoppingcart.shipping.ShippingEvents.getShipGroupEstima 
> t
> e(ShippingEvents.java:181)
> org.ofbiz.order.shoppingcart.shipping.ShippingEstimateWrapper.loadEstim 
> a
> tes(ShippingEstimateWrapper.java:105)
> org.ofbiz.order.shoppingcart.shipping.ShippingEstimateWrapper.<init>(Sh 
> i
> ppingEstimateWrapper.java:82)
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructor 
> A
> ccessorImpl.java:39)
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon 
> s
> tructorAccessorImpl.java:27)
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
> bsh.Reflect.constructObject(Reflect.java:679)
> bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.jav 
> a
> :102)
> bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.ja 
> v
> a:94)
> bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:61)
> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
> bsh.BSHAssignment.eval(BSHAssignment.java:58)
> bsh.BSHBlock.eval(BSHBlock.java:79)
> bsh.BSHBlock.eval(BSHBlock.java:44)
> bsh.BSHIfStatement.eval(BSHIfStatement.java:48)
> bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
> org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenA 
> c
> tion.java:381)
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActi 
> o
> n.java:115)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(Mo 
> d
> elScreenWidget.java:207)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java 
> :
> 101)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:78)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:63)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetView 
> H
> andler.java:107)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java: 
> 5
> 42)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: 
> 34
> 5)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:186)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:85)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic 
> a
> tionFilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil 
> t
> erChain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:237)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic 
> a
> tionFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil 
> t
> erChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal 
> v
> e.java:214)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal 
> v
> e.java:178)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav 
> a
> :126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav 
> a
> :105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve 
> .
> java:107)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 
> 526
> )
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 
> 1
> 48)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: 
> 82
> 5)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process 
> C
> onnection(Http11Protocol.java:738)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoin 
> t
> .java:526)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollo 
> w
> erWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo 
> l
> .java:684)
> java.lang.Thread.run(Thread.java:534)
> ----------------------------------------------------------------------- 
> -
> --------
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users



More information about the Users mailing list