Users - 7076: Broken?

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

Users - 7076: Broken?

Vinay Agarwal
Hello,

I am getting errors that I have not previously seen on 7076 unmodified code
(repeats on a second PC). This is what I get when trying to go to ecommerce
application. Webtools also gives other errors.

Regards,
Vinay Agarwal

Httpd started on port: 9989
Sessiond started on port: 9990
792828 (main) [ BeanShellContainer.java:109:INFO ] Started BeanShell telnet
service on 9989, 9990
792828 (main) [ BeanShellContainer.java:110:INFO ] NOTICE: BeanShell service
ports are not secure. Please protect the ports
796938 (org.ofbiz.service.jms.JmsListenerFactory@11cb5c7) [
JmsListenerFactory.java:82 :INFO ] JMS Listener Factory Thread Finished; All
listeners connected.
1069703 (http-0.0.0.0-8080-Processor4) [     ControlServlet.java:98 :INFO ]
The character encoding of the request is: [null]. The character encoding we
will use for the request and response is: [UTF-8]
1069703 (http-0.0.0.0-8080-Processor4) [     ControlServlet.java:134:DEBUG]
[[[main] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
1069703 (http-0.0.0.0-8080-Processor4) [     ControlServlet.java:183:DEBUG]
[[[main] Setup done, doing Event(s) and View(s)- total:0.0,since last([main]
Servlet St...):0.0]]
1069719 (http-0.0.0.0-8080-Processor4) [            UtilXml.java:242:DEBUG]
XML Read 0.016s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml
1069719 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:552:INFO ]
ConfigMap Created: (5) records in 0.0s
1069735 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:622:INFO ]
HandlerMap Created: (2) records in 0.0s
1069735 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:302:INFO ]
RequestMap Created: (195) records in 0.0s
1069735 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:411:INFO ]
ViewMap Created: (67) records in 0.0s
1070110 (http-0.0.0.0-8080-Processor4) [   JavaEventHandler.java:107:ERROR]
---- runtime exception report
--------------------------------------------------
Problems Processing Event
Exception: java.lang.IllegalArgumentException
Message: productStoreId cannot be null
---- stack trace
---------------------------------------------------------------
java.lang.IllegalArgumentException: productStoreId cannot be null
org.ofbiz.order.shoppingcart.ShoppingCart.<init>(ShoppingCart.java:584)
org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:56)
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
ents.java:565)
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
ents.java:584)
org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCart
Events.java:591)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:99)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:191)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
va:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
va: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:526)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
java.lang.Thread.run(Thread.java:534)
----------------------------------------------------------------------------
----

1070156 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:198:ERROR]
---- exception report
----------------------------------------------------------
Exception: org.ofbiz.webapp.event.EventHandlerException
Message: Problems processing event: java.lang.IllegalArgumentException:
productStoreId cannot be null (productStoreId cannot be null)
---- stack trace
---------------------------------------------------------------
org.ofbiz.webapp.event.EventHandlerException: Problems processing event:
java.lang.IllegalArgumentException: productStoreId cannot be null
(productStoreId cannot be null)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:108)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:191)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
va:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
va: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:526)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
java.lang.Thread.run(Thread.java:534)
java.lang.IllegalArgumentException: productStoreId cannot be null
org.ofbiz.order.shoppingcart.ShoppingCart.<init>(ShoppingCart.java:584)
org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:56)
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
ents.java:565)
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
ents.java:584)
org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCart
Events.java:591)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:99)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:191)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
va:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
va: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:526)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
java.lang.Thread.run(Thread.java:534)
----------------------------------------------------------------------------
----

1070235 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:211:INFO ]
[Processing Request]: main
1070235 (http-0.0.0.0-8080-Processor4) [     RequestManager.java:123:INFO ]
[RequestManager.getRequestAttribute] Value for attribute "null" of uri
"main" not found
1070235 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:394:INFO ]
[RequestHandler.doRequest]: Response is a view.
1070235 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:546:INFO ]
servletName=control, view=main
1070235 (http-0.0.0.0-8080-Processor4) [     UtilJ2eeCompat.java:77 :INFO ]
serverInfo: Apache Tomcat/5.5.9
1070235 (http-0.0.0.0-8080-Processor4) [     UtilJ2eeCompat.java:86 :INFO ]
Apache Tomcat detected, using response.getWriter to write text out instead
of response.getOutputStream
1108703 (http-0.0.0.0-8080-Processor4) [            UtilXml.java:242:DEBUG]
XML Read 0.172s:
file:/C:/Server/ofbizREF/applications/ecommerce/widget/CommonScreens.xml
1108891 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO ]
Got 6 screens in 0.5s from:
file:/C:/Server/ofbizREF/applications/ecommerce/widget/CommonScreens.xml
1109406 (org.ofbiz.service.job.JobPoller@11674ff)
[XAConnectionFactory.java:119:WARN ] no xares in rms for con
org.ofbiz.minerva.pool.jdbc.xa.wrapper.XAConnectionImpl@145b02f
1112406 (http-0.0.0.0-8080-Processor4) [            UtilXml.java:242:DEBUG]
XML Read 0.031s:
file:/C:/Server/ofbizREF/applications/ecommerce/widget/CartScreens.xml
1112406 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO ]
Got 7 screens in 0.125s from:
file:/C:/Server/ofbizREF/applications/ecommerce/widget/CartScreens.xml
1112594 (http-0.0.0.0-8080-Processor4) [            UtilXml.java:242:DEBUG]
XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml
1112594 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:552:INFO ]
ConfigMap Created: (5) records in 0.0s
1112594 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:622:INFO ]
HandlerMap Created: (2) records in 0.0s
1112610 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:302:INFO ]
RequestMap Created: (195) records in 0.016s
1112610 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:411:INFO ]
ViewMap Created: (67) records in 0.0s
1112750 (http-0.0.0.0-8080-Processor4) [            UtilXml.java:242:DEBUG]
XML Read 0.015s:
file:/C:/Server/ofbizREF/applications/ecommerce/widget/CatalogScreens.xml
1112813 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO ]
Got 25 screens in 0.172s from:
file:/C:/Server/ofbizREF/applications/ecommerce/widget/CatalogScreens.xml
1114266 (http-0.0.0.0-8080-Processor4) [            UtilXml.java:242:DEBUG]
XML Read 0.016s:
file:/C:/Server/ofbizREF/applications/ecommerce/widget/ContentScreens.xml
1114328 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO ]
Got 8 screens in 0.109s from:
file:/C:/Server/ofbizREF/applications/ecommerce/widget/ContentScreens.xml
1114703 (http-0.0.0.0-8080-Processor4) [            UtilXml.java:242:DEBUG]
XML Read 0.125s:
file:/C:/Server/ofbizREF/applications/ecommerce/widget/ForumScreens.xml
1114735 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO ]
Got 10 screens in 0.282s from:
file:/C:/Server/ofbizREF/applications/ecommerce/widget/ForumScreens.xml
1118688 (http-0.0.0.0-8080-Processor4) [ ProductPromoWorker.java:91 :ERROR]
---- runtime exception report
--------------------------------------------------
Exception: java.lang.IllegalArgumentException
Message: productStoreId cannot be null
---- stack trace
---------------------------------------------------------------
java.lang.IllegalArgumentException: productStoreId cannot be null
org.ofbiz.order.shoppingcart.ShoppingCart.<init>(ShoppingCart.java:584)
org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:56)
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
ents.java:565)
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
ents.java:584)
org.ofbiz.order.shoppingcart.product.ProductPromoWorker.getStoreProductPromo
s(ProductPromoWorker.java:86)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
java:25)
java.lang.reflect.Method.invoke(Method.java:324)
bsh.Reflect.invokeOnMethod(Reflect.java:117)
bsh.Reflect.invokeStaticMethod(Reflect.java:109)
bsh.Name.invokeMethod(Name.java:702)
bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:55)
bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
bsh.BSHAssignment.eval(BSHAssignment.java:58)
bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction
java:392)
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActionja
va:124)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reenWidget.java:247)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
odelScreenWidget.java:405)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:161)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
ScreenWidget.java:310)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:161)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reenWidget.java:254)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
odelScreenWidget.java:405)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:161)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
ScreenWidget.java:310)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:161)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reenWidget.java:254)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
(ModelScreenWidget.java:500)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:161)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reenWidget.java:254)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
er.java:85)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:611)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
va:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
va: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:526)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
java.lang.Thread.run(Thread.java:534)
----------------------------------------------------------------------------
----

java.lang.NullPointerException: Null Pointer in Method Invocation
        at bsh.Name.invokeMethod(Name.java:677)
        at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:55)
        at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
        at bsh.BSHArguments.getArguments(BSHArguments.java:47)
        at
bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:81
)
        at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:61)
        at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
        at bsh.BSHAssignment.eval(BSHAssignment.java:58)
        at bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
        at org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
        at
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction
java:392)
        at
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActionja
va:124)
        at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reenWidget.java:247)
        at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
        at
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
odelScreenWidget.java:405)
        at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:161)
        at
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
ScreenWidget.java:310)
        at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:161)
        at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reenWidget.java:254)
        at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
        at
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
odelScreenWidget.java:405)
        at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:161)
        at
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
ScreenWidget.java:310)
        at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:161)
        at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reenWidget.java:254)
        at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
        at
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
(ModelScreenWidget.java:500)
        at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:161)
        at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reenWidget.java:254)
        at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
        at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
        at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
        at
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
er.java:85)
        at
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:611)
        at
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396)
        at
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
        at
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
va:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
va:178)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:107)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:744)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
        at java.lang.Thread.run(Thread.java:534)
1121578 (http-0.0.0.0-8080-Processor4) [            BshUtil.java:185:WARN ]
---- exception report
----------------------------------------------------------
WARNING: no cause (from getCause) found for BSH EvalError: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
h : null : at Line: 40 : in file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/ca
rt/showpromotext.bsh : productPromosAll .size ( )

Target exception: java.lang.NullPointerException: Null Pointer in Method
Invocation

Exception: bsh.TargetError
Message: Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
h : null
---- stack trace
---------------------------------------------------------------
Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
h : null : at Line: 40 : in file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
h : productPromosAll .size ( )
Target exception: java.lang.NullPointerException: Null Pointer in Method
Invocation
bsh.UtilTargetError.toEvalError(UtilTargetError.java:70)
bsh.UtilEvalError.toEvalError(UtilEvalError.java:87)
bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:79)
bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
bsh.BSHArguments.getArguments(BSHArguments.java:47)
bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:81
)
bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:61)
bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
bsh.BSHAssignment.eval(BSHAssignment.java:58)
bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction
java:392)
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActionja
va:124)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reenWidget.java:247)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
odelScreenWidget.java:405)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:161)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
ScreenWidget.java:310)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:161)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reenWidget.java:254)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
odelScreenWidget.java:405)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:161)
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
ScreenWidget.java:310)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:161)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reenWidget.java:254)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
(ModelScreenWidget.java:500)
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
Widget.java:161)
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
reenWidget.java:254)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
er.java:85)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:611)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
va:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
va: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:526)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
a:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
rkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:684)
java.lang.Thread.run(Thread.java:534)
----------------------------------------------------------------------------
----

1123141 (http-0.0.0.0-8080-Processor4) [        ModelScreen.java:158:ERROR]
Error rendering screen
[component://ecommerce/widget/CartScreens.xml#minipromotext]:
org.ofbiz.base.util.GeneralException: Error running BSH script at location
[com
ponent://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.b
sh], line [40]: Sourc
ed file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
h : null : at Line: 40 : in file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
h : productPromosAll .size ( )

Target exception: java.lang.NullPointerException: Null Pointer in Method
Invocation
 (Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
h : null) (Error running BSH script at
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.b
sh], line [40]: Sourced file: com
ponent://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.bsh :
null : at Line: 40 : in file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
h : productPromosAll .size ( )

Target exception: java.lang.NullPointerException: Null Pointer in Method
Invocation
 (Sourced file:
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
h : null)). Rolling back transaction.
1123360 (http-0.0.0.0-8080-Processor4) [    TransactionUtil.java:276:WARN ]
---- exception report
----------------------------------------------------------
[TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this
stack trace shows where this is happening:
Exception: java.lang.Exception
Message: null

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7076: Broken?

David E. Jones

Looks like, and just a guess here of course, you're running against an empty database (ie no seed data).

-David


Vinay Agarwal wrote:

> Hello,
>
> I am getting errors that I have not previously seen on 7076 unmodified code
> (repeats on a second PC). This is what I get when trying to go to ecommerce
> application. Webtools also gives other errors.
>
> Regards,
> Vinay Agarwal
>
> Httpd started on port: 9989
> Sessiond started on port: 9990
> 792828 (main) [ BeanShellContainer.java:109:INFO ] Started BeanShell telnet
> service on 9989, 9990
> 792828 (main) [ BeanShellContainer.java:110:INFO ] NOTICE: BeanShell service
> ports are not secure. Please protect the ports
> 796938 (org.ofbiz.service.jms.JmsListenerFactory@11cb5c7) [
> JmsListenerFactory.java:82 :INFO ] JMS Listener Factory Thread Finished; All
> listeners connected.
> 1069703 (http-0.0.0.0-8080-Processor4) [     ControlServlet.java:98 :INFO ]
> The character encoding of the request is: [null]. The character encoding we
> will use for the request and response is: [UTF-8]
> 1069703 (http-0.0.0.0-8080-Processor4) [     ControlServlet.java:134:DEBUG]
> [[[main] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> 1069703 (http-0.0.0.0-8080-Processor4) [     ControlServlet.java:183:DEBUG]
> [[[main] Setup done, doing Event(s) and View(s)- total:0.0,since last([main]
> Servlet St...):0.0]]
> 1069719 (http-0.0.0.0-8080-Processor4) [            UtilXml.java:242:DEBUG]
> XML Read 0.016s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml
> 1069719 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:552:INFO ]
> ConfigMap Created: (5) records in 0.0s
> 1069735 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:622:INFO ]
> HandlerMap Created: (2) records in 0.0s
> 1069735 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:302:INFO ]
> RequestMap Created: (195) records in 0.0s
> 1069735 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:411:INFO ]
> ViewMap Created: (67) records in 0.0s
> 1070110 (http-0.0.0.0-8080-Processor4) [   JavaEventHandler.java:107:ERROR]
> ---- runtime exception report
> --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.IllegalArgumentException
> Message: productStoreId cannot be null
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.IllegalArgumentException: productStoreId cannot be null
> org.ofbiz.order.shoppingcart.ShoppingCart.<init>(ShoppingCart.java:584)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:56)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
> ents.java:565)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
> ents.java:584)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCart
> Events.java:591)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:99)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:191)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
> va:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
> va: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:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
> java.lang.Thread.run(Thread.java:534)
> ----------------------------------------------------------------------------
> ----
>
> 1070156 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:198:ERROR]
> ---- exception report
> ----------------------------------------------------------
> Exception: org.ofbiz.webapp.event.EventHandlerException
> Message: Problems processing event: java.lang.IllegalArgumentException:
> productStoreId cannot be null (productStoreId cannot be null)
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.webapp.event.EventHandlerException: Problems processing event:
> java.lang.IllegalArgumentException: productStoreId cannot be null
> (productStoreId cannot be null)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:108)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:191)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
> va:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
> va: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:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
> java.lang.Thread.run(Thread.java:534)
> java.lang.IllegalArgumentException: productStoreId cannot be null
> org.ofbiz.order.shoppingcart.ShoppingCart.<init>(ShoppingCart.java:584)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:56)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
> ents.java:565)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
> ents.java:584)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCart
> Events.java:591)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:99)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:191)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
> va:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
> va: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:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
> java.lang.Thread.run(Thread.java:534)
> ----------------------------------------------------------------------------
> ----
>
> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:211:INFO ]
> [Processing Request]: main
> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestManager.java:123:INFO ]
> [RequestManager.getRequestAttribute] Value for attribute "null" of uri
> "main" not found
> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:394:INFO ]
> [RequestHandler.doRequest]: Response is a view.
> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:546:INFO ]
> servletName=control, view=main
> 1070235 (http-0.0.0.0-8080-Processor4) [     UtilJ2eeCompat.java:77 :INFO ]
> serverInfo: Apache Tomcat/5.5.9
> 1070235 (http-0.0.0.0-8080-Processor4) [     UtilJ2eeCompat.java:86 :INFO ]
> Apache Tomcat detected, using response.getWriter to write text out instead
> of response.getOutputStream
> 1108703 (http-0.0.0.0-8080-Processor4) [            UtilXml.java:242:DEBUG]
> XML Read 0.172s:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CommonScreens.xml
> 1108891 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO ]
> Got 6 screens in 0.5s from:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CommonScreens.xml
> 1109406 (org.ofbiz.service.job.JobPoller@11674ff)
> [XAConnectionFactory.java:119:WARN ] no xares in rms for con
> org.ofbiz.minerva.pool.jdbc.xa.wrapper.XAConnectionImpl@145b02f
> 1112406 (http-0.0.0.0-8080-Processor4) [            UtilXml.java:242:DEBUG]
> XML Read 0.031s:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CartScreens.xml
> 1112406 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO ]
> Got 7 screens in 0.125s from:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CartScreens.xml
> 1112594 (http-0.0.0.0-8080-Processor4) [            UtilXml.java:242:DEBUG]
> XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml
> 1112594 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:552:INFO ]
> ConfigMap Created: (5) records in 0.0s
> 1112594 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:622:INFO ]
> HandlerMap Created: (2) records in 0.0s
> 1112610 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:302:INFO ]
> RequestMap Created: (195) records in 0.016s
> 1112610 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:411:INFO ]
> ViewMap Created: (67) records in 0.0s
> 1112750 (http-0.0.0.0-8080-Processor4) [            UtilXml.java:242:DEBUG]
> XML Read 0.015s:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CatalogScreens.xml
> 1112813 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO ]
> Got 25 screens in 0.172s from:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CatalogScreens.xml
> 1114266 (http-0.0.0.0-8080-Processor4) [            UtilXml.java:242:DEBUG]
> XML Read 0.016s:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ContentScreens.xml
> 1114328 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO ]
> Got 8 screens in 0.109s from:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ContentScreens.xml
> 1114703 (http-0.0.0.0-8080-Processor4) [            UtilXml.java:242:DEBUG]
> XML Read 0.125s:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ForumScreens.xml
> 1114735 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO ]
> Got 10 screens in 0.282s from:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ForumScreens.xml
> 1118688 (http-0.0.0.0-8080-Processor4) [ ProductPromoWorker.java:91 :ERROR]
> ---- runtime exception report
> --------------------------------------------------
> Exception: java.lang.IllegalArgumentException
> Message: productStoreId cannot be null
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.IllegalArgumentException: productStoreId cannot be null
> org.ofbiz.order.shoppingcart.ShoppingCart.<init>(ShoppingCart.java:584)
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:56)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
> ents.java:565)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
> ents.java:584)
> org.ofbiz.order.shoppingcart.product.ProductPromoWorker.getStoreProductPromo
> s(ProductPromoWorker.java:86)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> bsh.Reflect.invokeOnMethod(Reflect.java:117)
> bsh.Reflect.invokeStaticMethod(Reflect.java:109)
> bsh.Name.invokeMethod(Name.java:702)
> bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:55)
> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
> bsh.BSHAssignment.eval(BSHAssignment.java:58)
> bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
> org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction
> java:392)
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActionja
> va:124)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:247)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
> odelScreenWidget.java:405)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:310)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
> odelScreenWidget.java:405)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:310)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
> (ModelScreenWidget.java:500)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
> er.java:85)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:611)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
> va:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
> va: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:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
> java.lang.Thread.run(Thread.java:534)
> ----------------------------------------------------------------------------
> ----
>
> java.lang.NullPointerException: Null Pointer in Method Invocation
>         at bsh.Name.invokeMethod(Name.java:677)
>         at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:55)
>         at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>         at bsh.BSHArguments.getArguments(BSHArguments.java:47)
>         at
> bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:81
> )
>         at bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:61)
>         at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>         at bsh.BSHAssignment.eval(BSHAssignment.java:58)
>         at bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
>         at org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
>         at
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction
> java:392)
>         at
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActionja
> va:124)
>         at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:247)
>         at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>         at
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
> odelScreenWidget.java:405)
>         at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>         at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:310)
>         at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>         at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
>         at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>         at
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
> odelScreenWidget.java:405)
>         at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>         at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:310)
>         at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>         at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
>         at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>         at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
> (ModelScreenWidget.java:500)
>         at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>         at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
>         at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>         at
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
>         at
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
>         at
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
> er.java:85)
>         at
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:611)
>         at
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396)
>         at
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:252)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
>         at
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:202)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
> va:213)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
> va:178)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
> )
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
> )
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :107)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>         at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:744)
>         at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
>         at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
>         at java.lang.Thread.run(Thread.java:534)
> 1121578 (http-0.0.0.0-8080-Processor4) [            BshUtil.java:185:WARN ]
> ---- exception report
> ----------------------------------------------------------
> WARNING: no cause (from getCause) found for BSH EvalError: Sourced file:
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : null : at Line: 40 : in file:
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/ca
> rt/showpromotext.bsh : productPromosAll .size ( )
>
> Target exception: java.lang.NullPointerException: Null Pointer in Method
> Invocation
>
> Exception: bsh.TargetError
> Message: Sourced file:
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : null
> ---- stack trace
> ---------------------------------------------------------------
> Sourced file:
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : null : at Line: 40 : in file:
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : productPromosAll .size ( )
> Target exception: java.lang.NullPointerException: Null Pointer in Method
> Invocation
> bsh.UtilTargetError.toEvalError(UtilTargetError.java:70)
> bsh.UtilEvalError.toEvalError(UtilEvalError.java:87)
> bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:79)
> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
> bsh.BSHArguments.getArguments(BSHArguments.java:47)
> bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:81
> )
> bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:61)
> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
> bsh.BSHAssignment.eval(BSHAssignment.java:58)
> bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
> org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction
> java:392)
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActionja
> va:124)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:247)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
> odelScreenWidget.java:405)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:310)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
> odelScreenWidget.java:405)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:310)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
> (ModelScreenWidget.java:500)
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
> er.java:85)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:611)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
> va:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
> va: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:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
> java.lang.Thread.run(Thread.java:534)
> ----------------------------------------------------------------------------
> ----
>
> 1123141 (http-0.0.0.0-8080-Processor4) [        ModelScreen.java:158:ERROR]
> Error rendering screen
> [component://ecommerce/widget/CartScreens.xml#minipromotext]:
> org.ofbiz.base.util.GeneralException: Error running BSH script at location
> [com
> ponent://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.bsh]:
> org.ofbiz.base.util.GeneralException: Error running BSH script at
> [component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.b
> sh], line [40]: Sourc
> ed file:
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : null : at Line: 40 : in file:
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : productPromosAll .size ( )
>
> Target exception: java.lang.NullPointerException: Null Pointer in Method
> Invocation
>  (Sourced file:
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : null) (Error running BSH script at
> [component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.b
> sh], line [40]: Sourced file: com
> ponent://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.bsh :
> null : at Line: 40 : in file:
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : productPromosAll .size ( )
>
> Target exception: java.lang.NullPointerException: Null Pointer in Method
> Invocation
>  (Sourced file:
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : null)). Rolling back transaction.
> 1123360 (http-0.0.0.0-8080-Processor4) [    TransactionUtil.java:276:WARN ]
> ---- exception report
> ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly; this
> stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: null
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7076: Broken?

Vinay Agarwal
On this unmodified version, ant run-install seems to complete successfully
after taking expected 15-20 min on a fresh install and filling data
subdirectory with 55MB of stuff. But then it fails like that.

Vinay

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
On Behalf Of David E. Jones
Sent: Sunday, March 26, 2006 4:33 PM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - 7076: Broken?


Looks like, and just a guess here of course, you're running against an empty
database (ie no seed data).

-David


Vinay Agarwal wrote:
> Hello,
>
> I am getting errors that I have not previously seen on 7076 unmodified
code
> (repeats on a second PC). This is what I get when trying to go to
ecommerce
> application. Webtools also gives other errors.
>
> Regards,
> Vinay Agarwal
>
> Httpd started on port: 9989
> Sessiond started on port: 9990
> 792828 (main) [ BeanShellContainer.java:109:INFO ] Started BeanShell
telnet
> service on 9989, 9990
> 792828 (main) [ BeanShellContainer.java:110:INFO ] NOTICE: BeanShell
service
> ports are not secure. Please protect the ports
> 796938 (org.ofbiz.service.jms.JmsListenerFactory@11cb5c7) [
> JmsListenerFactory.java:82 :INFO ] JMS Listener Factory Thread Finished;
All
> listeners connected.
> 1069703 (http-0.0.0.0-8080-Processor4) [     ControlServlet.java:98 :INFO
]
> The character encoding of the request is: [null]. The character encoding
we
> will use for the request and response is: [UTF-8]
> 1069703 (http-0.0.0.0-8080-Processor4) [
ControlServlet.java:134:DEBUG]
> [[[main] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
> 1069703 (http-0.0.0.0-8080-Processor4) [
ControlServlet.java:183:DEBUG]
> [[[main] Setup done, doing Event(s) and View(s)- total:0.0,since
last([main]
> Servlet St...):0.0]]
> 1069719 (http-0.0.0.0-8080-Processor4) [
UtilXml.java:242:DEBUG]
> XML Read 0.016s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml
> 1069719 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:552:INFO
]
> ConfigMap Created: (5) records in 0.0s
> 1069735 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:622:INFO
]
> HandlerMap Created: (2) records in 0.0s
> 1069735 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:302:INFO
]
> RequestMap Created: (195) records in 0.0s
> 1069735 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:411:INFO
]
> ViewMap Created: (67) records in 0.0s
> 1070110 (http-0.0.0.0-8080-Processor4) [
JavaEventHandler.java:107:ERROR]

> ---- runtime exception report
> --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.IllegalArgumentException
> Message: productStoreId cannot be null
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.IllegalArgumentException: productStoreId cannot be null
> org.ofbiz.order.shoppingcart.ShoppingCart.<init>(ShoppingCart.java:584)
>
org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:56)
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
> ents.java:565)
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
> ents.java:584)
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCart
> Events.java:591)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl

> java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:99)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:191)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:252)
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:202)
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
> va:213)
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
> va: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:526)
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:744)
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
> java.lang.Thread.run(Thread.java:534)
>
----------------------------------------------------------------------------
> ----
>
> 1070156 (http-0.0.0.0-8080-Processor4) [
RequestHandler.java:198:ERROR]

> ---- exception report
> ----------------------------------------------------------
> Exception: org.ofbiz.webapp.event.EventHandlerException
> Message: Problems processing event: java.lang.IllegalArgumentException:
> productStoreId cannot be null (productStoreId cannot be null)
> ---- stack trace
> ---------------------------------------------------------------
> org.ofbiz.webapp.event.EventHandlerException: Problems processing event:
> java.lang.IllegalArgumentException: productStoreId cannot be null
> (productStoreId cannot be null)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:108)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:191)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:252)
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:202)
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
> va:213)
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
> va: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:526)
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:744)
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
> java.lang.Thread.run(Thread.java:534)
> java.lang.IllegalArgumentException: productStoreId cannot be null
> org.ofbiz.order.shoppingcart.ShoppingCart.<init>(ShoppingCart.java:584)
>
org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:56)
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
> ents.java:565)
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
> ents.java:584)
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCart
> Events.java:591)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl

> java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:99)
> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:191)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:252)
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:202)
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
> va:213)
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
> va: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:526)
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:744)
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
> java.lang.Thread.run(Thread.java:534)
>
----------------------------------------------------------------------------
> ----
>
> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:211:INFO
]
> [Processing Request]: main
> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestManager.java:123:INFO
]
> [RequestManager.getRequestAttribute] Value for attribute "null" of uri
> "main" not found
> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:394:INFO
]
> [RequestHandler.doRequest]: Response is a view.
> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:546:INFO
]
> servletName=control, view=main
> 1070235 (http-0.0.0.0-8080-Processor4) [     UtilJ2eeCompat.java:77 :INFO
]
> serverInfo: Apache Tomcat/5.5.9
> 1070235 (http-0.0.0.0-8080-Processor4) [     UtilJ2eeCompat.java:86 :INFO
]
> Apache Tomcat detected, using response.getWriter to write text out instead
> of response.getOutputStream
> 1108703 (http-0.0.0.0-8080-Processor4) [
UtilXml.java:242:DEBUG]
> XML Read 0.172s:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CommonScreens.xml
> 1108891 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO
]
> Got 6 screens in 0.5s from:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CommonScreens.xml
> 1109406 (org.ofbiz.service.job.JobPoller@11674ff)
> [XAConnectionFactory.java:119:WARN ] no xares in rms for con
> org.ofbiz.minerva.pool.jdbc.xa.wrapper.XAConnectionImpl@145b02f
> 1112406 (http-0.0.0.0-8080-Processor4) [
UtilXml.java:242:DEBUG]
> XML Read 0.031s:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CartScreens.xml
> 1112406 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO
]
> Got 7 screens in 0.125s from:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CartScreens.xml
> 1112594 (http-0.0.0.0-8080-Processor4) [
UtilXml.java:242:DEBUG]
> XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml
> 1112594 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:552:INFO
]
> ConfigMap Created: (5) records in 0.0s
> 1112594 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:622:INFO
]
> HandlerMap Created: (2) records in 0.0s
> 1112610 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:302:INFO
]
> RequestMap Created: (195) records in 0.016s
> 1112610 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:411:INFO
]
> ViewMap Created: (67) records in 0.0s
> 1112750 (http-0.0.0.0-8080-Processor4) [
UtilXml.java:242:DEBUG]
> XML Read 0.015s:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CatalogScreens.xml
> 1112813 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO
]
> Got 25 screens in 0.172s from:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CatalogScreens.xml
> 1114266 (http-0.0.0.0-8080-Processor4) [
UtilXml.java:242:DEBUG]
> XML Read 0.016s:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ContentScreens.xml
> 1114328 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO
]
> Got 8 screens in 0.109s from:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ContentScreens.xml
> 1114703 (http-0.0.0.0-8080-Processor4) [
UtilXml.java:242:DEBUG]
> XML Read 0.125s:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ForumScreens.xml
> 1114735 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO
]
> Got 10 screens in 0.282s from:
> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ForumScreens.xml
> 1118688 (http-0.0.0.0-8080-Processor4) [ ProductPromoWorker.java:91
:ERROR]
> ---- runtime exception report
> --------------------------------------------------
> Exception: java.lang.IllegalArgumentException
> Message: productStoreId cannot be null
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.IllegalArgumentException: productStoreId cannot be null
> org.ofbiz.order.shoppingcart.ShoppingCart.<init>(ShoppingCart.java:584)
>
org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:56)
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
> ents.java:565)
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
> ents.java:584)
>
org.ofbiz.order.shoppingcart.product.ProductPromoWorker.getStoreProductPromo
> s(ProductPromoWorker.java:86)
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
> )
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl

> java:25)
> java.lang.reflect.Method.invoke(Method.java:324)
> bsh.Reflect.invokeOnMethod(Reflect.java:117)
> bsh.Reflect.invokeStaticMethod(Reflect.java:109)
> bsh.Name.invokeMethod(Name.java:702)
> bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:55)
> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
> bsh.BSHAssignment.eval(BSHAssignment.java:58)
> bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
> org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
>
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction
> java:392)
>
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActionja
> va:124)
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:247)
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
> odelScreenWidget.java:405)
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:310)
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
> odelScreenWidget.java:405)
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:310)
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
> (ModelScreenWidget.java:500)
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
>
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
> er.java:85)
>
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:611)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:252)
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:202)
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
> va:213)
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
> va: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:526)
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:744)
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
> java.lang.Thread.run(Thread.java:534)
>
----------------------------------------------------------------------------
> ----
>
> java.lang.NullPointerException: Null Pointer in Method Invocation
>         at bsh.Name.invokeMethod(Name.java:677)
>         at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:55)
>         at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>         at bsh.BSHArguments.getArguments(BSHArguments.java:47)
>         at
>
bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:81
> )
>         at
bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:61)
>         at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>         at bsh.BSHAssignment.eval(BSHAssignment.java:58)
>         at bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
>         at org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
>         at
>
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction
> java:392)
>         at
>
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActionja
> va:124)
>         at
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:247)
>         at
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>         at
>
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
> odelScreenWidget.java:405)
>         at
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>         at
>
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:310)
>         at
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>         at
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
>         at
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>         at
>
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
> odelScreenWidget.java:405)
>         at
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>         at
>
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:310)
>         at
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>         at
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
>         at
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>         at
>
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
> (ModelScreenWidget.java:500)
>         at
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>         at
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
>         at
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>         at
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
>         at
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
>         at
>
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
> er.java:85)
>         at
>
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:611)
>         at
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396)
>         at
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:252)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
>         at
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:202)
>         at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
>         at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
> va:213)
>         at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
> va:178)
>         at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
> )
>         at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
> )
>         at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :107)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
>         at
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>         at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:744)
>         at
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
>         at
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
>         at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
>         at java.lang.Thread.run(Thread.java:534)
> 1121578 (http-0.0.0.0-8080-Processor4) [            BshUtil.java:185:WARN
]
> ---- exception report
> ----------------------------------------------------------
> WARNING: no cause (from getCause) found for BSH EvalError: Sourced file:
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs

> h : null : at Line: 40 : in file:
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/ca
> rt/showpromotext.bsh : productPromosAll .size ( )
>
> Target exception: java.lang.NullPointerException: Null Pointer in Method
> Invocation
>
> Exception: bsh.TargetError
> Message: Sourced file:
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : null
> ---- stack trace
> ---------------------------------------------------------------
> Sourced file:
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : null : at Line: 40 : in file:
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : productPromosAll .size ( )
> Target exception: java.lang.NullPointerException: Null Pointer in Method
> Invocation
> bsh.UtilTargetError.toEvalError(UtilTargetError.java:70)
> bsh.UtilEvalError.toEvalError(UtilEvalError.java:87)
> bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:79)
> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
> bsh.BSHArguments.getArguments(BSHArguments.java:47)
>
bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:81
> )
> bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:61)
> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
> bsh.BSHAssignment.eval(BSHAssignment.java:58)
> bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
> org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
>
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction
> java:392)
>
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActionja
> va:124)
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:247)
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
> odelScreenWidget.java:405)
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:310)
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
> odelScreenWidget.java:405)
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
> ScreenWidget.java:310)
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
> (ModelScreenWidget.java:500)
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
> Widget.java:161)
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
> reenWidget.java:254)
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
>
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
> er.java:85)
>
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:611)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:252)
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:202)
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:173)
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
> va:213)
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
> va: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:526)
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
> ction(Http11Protocol.java:744)
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> a:527)
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> rkerThread.java:80)
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> a:684)
> java.lang.Thread.run(Thread.java:534)
>
----------------------------------------------------------------------------
> ----
>
> 1123141 (http-0.0.0.0-8080-Processor4) [
ModelScreen.java:158:ERROR]
> Error rendering screen
> [component://ecommerce/widget/CartScreens.xml#minipromotext]:
> org.ofbiz.base.util.GeneralException: Error running BSH script at location
> [com
>
ponent://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.bsh]:
> org.ofbiz.base.util.GeneralException: Error running BSH script at
>
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.b
> sh], line [40]: Sourc
> ed file:
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : null : at Line: 40 : in file:
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : productPromosAll .size ( )
>
> Target exception: java.lang.NullPointerException: Null Pointer in Method
> Invocation
>  (Sourced file:
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : null) (Error running BSH script at
>
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.b
> sh], line [40]: Sourced file: com
> ponent://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.bsh
:
> null : at Line: 40 : in file:
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : productPromosAll .size ( )
>
> Target exception: java.lang.NullPointerException: Null Pointer in Method
> Invocation
>  (Sourced file:
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
> h : null)). Rolling back transaction.
> 1123360 (http-0.0.0.0-8080-Processor4) [    TransactionUtil.java:276:WARN
]
> ---- exception report
> ----------------------------------------------------------
> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
this
> stack trace shows where this is happening:
> Exception: java.lang.Exception
> Message: null
>
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7076: Broken?

David E. Jones
In reply to this post by Vinay Agarwal

Vinay,

I checked my current sandbox: saw no such problem. I tried a fresh checkout with a fresh database: saw no problem.

You've either changed files or changes data in the database that are messing you up. If you are sure it's a fresh data (for Derby make sure ofbiz/data/derby is empty) then do an "svn st" to see which files you have changed.

Taking 20 minutes eh... You must be using a Windows machine with it's not so speedy file system. The slowest part is Derby and it is very disk access bound. On my Windows XP machine with a 10k RPM SATA drive (just an old 36GB WD Raptor) it takes about 17 minutes. The processor never gets close to 50%. On my Mac Desktop with basically RAID 1/0 of 4 of the same disks (about the same speed of a 2 disk RAID 1) it takes just under 5 minutes pretty consistently. So, part of it is 2 disks instead of 1, and the rest from the OS. Linux is also a faster in this way.

-David


Vinay Agarwal wrote:

> On this unmodified version, ant run-install seems to complete successfully
> after taking expected 15-20 min on a fresh install and filling data
> subdirectory with 55MB of stuff. But then it fails like that.
>
> Vinay
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]]
> On Behalf Of David E. Jones
> Sent: Sunday, March 26, 2006 4:33 PM
> To: OFBiz Users / Usage Discussion
> Subject: Re: [OFBiz] Users - 7076: Broken?
>
>
> Looks like, and just a guess here of course, you're running against an empty
> database (ie no seed data).
>
> -David
>
>
> Vinay Agarwal wrote:
>> Hello,
>>
>> I am getting errors that I have not previously seen on 7076 unmodified
> code
>> (repeats on a second PC). This is what I get when trying to go to
> ecommerce
>> application. Webtools also gives other errors.
>>
>> Regards,
>> Vinay Agarwal
>>
>> Httpd started on port: 9989
>> Sessiond started on port: 9990
>> 792828 (main) [ BeanShellContainer.java:109:INFO ] Started BeanShell
> telnet
>> service on 9989, 9990
>> 792828 (main) [ BeanShellContainer.java:110:INFO ] NOTICE: BeanShell
> service
>> ports are not secure. Please protect the ports
>> 796938 (org.ofbiz.service.jms.JmsListenerFactory@11cb5c7) [
>> JmsListenerFactory.java:82 :INFO ] JMS Listener Factory Thread Finished;
> All
>> listeners connected.
>> 1069703 (http-0.0.0.0-8080-Processor4) [     ControlServlet.java:98 :INFO
> ]
>> The character encoding of the request is: [null]. The character encoding
> we
>> will use for the request and response is: [UTF-8]
>> 1069703 (http-0.0.0.0-8080-Processor4) [
> ControlServlet.java:134:DEBUG]
>> [[[main] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
>> 1069703 (http-0.0.0.0-8080-Processor4) [
> ControlServlet.java:183:DEBUG]
>> [[[main] Setup done, doing Event(s) and View(s)- total:0.0,since
> last([main]
>> Servlet St...):0.0]]
>> 1069719 (http-0.0.0.0-8080-Processor4) [
> UtilXml.java:242:DEBUG]
>> XML Read 0.016s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml
>> 1069719 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:552:INFO
> ]
>> ConfigMap Created: (5) records in 0.0s
>> 1069735 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:622:INFO
> ]
>> HandlerMap Created: (2) records in 0.0s
>> 1069735 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:302:INFO
> ]
>> RequestMap Created: (195) records in 0.0s
>> 1069735 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:411:INFO
> ]
>> ViewMap Created: (67) records in 0.0s
>> 1070110 (http-0.0.0.0-8080-Processor4) [
> JavaEventHandler.java:107:ERROR]
>> ---- runtime exception report
>> --------------------------------------------------
>> Problems Processing Event
>> Exception: java.lang.IllegalArgumentException
>> Message: productStoreId cannot be null
>> ---- stack trace
>> ---------------------------------------------------------------
>> java.lang.IllegalArgumentException: productStoreId cannot be null
>> org.ofbiz.order.shoppingcart.ShoppingCart.<init>(ShoppingCart.java:584)
>>
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:56)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
>> ents.java:565)
>>
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
>> ents.java:584)
>>
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCart
>> Events.java:591)
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>> )
>>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>> java:25)
>> java.lang.reflect.Method.invoke(Method.java:324)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:99)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:191)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:252)
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:202)
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
>> va:213)
>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
>> va: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:526)
>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>> ction(Http11Protocol.java:744)
>>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
>> a:527)
>>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
>> rkerThread.java:80)
>>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>> a:684)
>> java.lang.Thread.run(Thread.java:534)
>>
> ----------------------------------------------------------------------------
>> ----
>>
>> 1070156 (http-0.0.0.0-8080-Processor4) [
> RequestHandler.java:198:ERROR]
>> ---- exception report
>> ----------------------------------------------------------
>> Exception: org.ofbiz.webapp.event.EventHandlerException
>> Message: Problems processing event: java.lang.IllegalArgumentException:
>> productStoreId cannot be null (productStoreId cannot be null)
>> ---- stack trace
>> ---------------------------------------------------------------
>> org.ofbiz.webapp.event.EventHandlerException: Problems processing event:
>> java.lang.IllegalArgumentException: productStoreId cannot be null
>> (productStoreId cannot be null)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:108)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:191)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:252)
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:202)
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
>> va:213)
>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
>> va: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:526)
>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>> ction(Http11Protocol.java:744)
>>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
>> a:527)
>>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
>> rkerThread.java:80)
>>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>> a:684)
>> java.lang.Thread.run(Thread.java:534)
>> java.lang.IllegalArgumentException: productStoreId cannot be null
>> org.ofbiz.order.shoppingcart.ShoppingCart.<init>(ShoppingCart.java:584)
>>
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:56)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
>> ents.java:565)
>>
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
>> ents.java:584)
>>
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCart
>> Events.java:591)
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>> )
>>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>> java:25)
>> java.lang.reflect.Method.invoke(Method.java:324)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:99)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:191)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:252)
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:202)
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
>> va:213)
>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
>> va: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:526)
>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>> ction(Http11Protocol.java:744)
>>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
>> a:527)
>>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
>> rkerThread.java:80)
>>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>> a:684)
>> java.lang.Thread.run(Thread.java:534)
>>
> ----------------------------------------------------------------------------
>> ----
>>
>> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:211:INFO
> ]
>> [Processing Request]: main
>> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestManager.java:123:INFO
> ]
>> [RequestManager.getRequestAttribute] Value for attribute "null" of uri
>> "main" not found
>> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:394:INFO
> ]
>> [RequestHandler.doRequest]: Response is a view.
>> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:546:INFO
> ]
>> servletName=control, view=main
>> 1070235 (http-0.0.0.0-8080-Processor4) [     UtilJ2eeCompat.java:77 :INFO
> ]
>> serverInfo: Apache Tomcat/5.5.9
>> 1070235 (http-0.0.0.0-8080-Processor4) [     UtilJ2eeCompat.java:86 :INFO
> ]
>> Apache Tomcat detected, using response.getWriter to write text out instead
>> of response.getOutputStream
>> 1108703 (http-0.0.0.0-8080-Processor4) [
> UtilXml.java:242:DEBUG]
>> XML Read 0.172s:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CommonScreens.xml
>> 1108891 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO
> ]
>> Got 6 screens in 0.5s from:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CommonScreens.xml
>> 1109406 (org.ofbiz.service.job.JobPoller@11674ff)
>> [XAConnectionFactory.java:119:WARN ] no xares in rms for con
>> org.ofbiz.minerva.pool.jdbc.xa.wrapper.XAConnectionImpl@145b02f
>> 1112406 (http-0.0.0.0-8080-Processor4) [
> UtilXml.java:242:DEBUG]
>> XML Read 0.031s:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CartScreens.xml
>> 1112406 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO
> ]
>> Got 7 screens in 0.125s from:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CartScreens.xml
>> 1112594 (http-0.0.0.0-8080-Processor4) [
> UtilXml.java:242:DEBUG]
>> XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml
>> 1112594 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:552:INFO
> ]
>> ConfigMap Created: (5) records in 0.0s
>> 1112594 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:622:INFO
> ]
>> HandlerMap Created: (2) records in 0.0s
>> 1112610 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:302:INFO
> ]
>> RequestMap Created: (195) records in 0.016s
>> 1112610 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:411:INFO
> ]
>> ViewMap Created: (67) records in 0.0s
>> 1112750 (http-0.0.0.0-8080-Processor4) [
> UtilXml.java:242:DEBUG]
>> XML Read 0.015s:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CatalogScreens.xml
>> 1112813 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO
> ]
>> Got 25 screens in 0.172s from:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CatalogScreens.xml
>> 1114266 (http-0.0.0.0-8080-Processor4) [
> UtilXml.java:242:DEBUG]
>> XML Read 0.016s:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ContentScreens.xml
>> 1114328 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO
> ]
>> Got 8 screens in 0.109s from:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ContentScreens.xml
>> 1114703 (http-0.0.0.0-8080-Processor4) [
> UtilXml.java:242:DEBUG]
>> XML Read 0.125s:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ForumScreens.xml
>> 1114735 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO
> ]
>> Got 10 screens in 0.282s from:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ForumScreens.xml
>> 1118688 (http-0.0.0.0-8080-Processor4) [ ProductPromoWorker.java:91
> :ERROR]
>> ---- runtime exception report
>> --------------------------------------------------
>> Exception: java.lang.IllegalArgumentException
>> Message: productStoreId cannot be null
>> ---- stack trace
>> ---------------------------------------------------------------
>> java.lang.IllegalArgumentException: productStoreId cannot be null
>> org.ofbiz.order.shoppingcart.ShoppingCart.<init>(ShoppingCart.java:584)
>>
> org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:56)
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
>> ents.java:565)
>>
> org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
>> ents.java:584)
>>
> org.ofbiz.order.shoppingcart.product.ProductPromoWorker.getStoreProductPromo
>> s(ProductPromoWorker.java:86)
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>> )
>>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>> java:25)
>> java.lang.reflect.Method.invoke(Method.java:324)
>> bsh.Reflect.invokeOnMethod(Reflect.java:117)
>> bsh.Reflect.invokeStaticMethod(Reflect.java:109)
>> bsh.Name.invokeMethod(Name.java:702)
>> bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:55)
>> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>> bsh.BSHAssignment.eval(BSHAssignment.java:58)
>> bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
>> org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
>>
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction
>> java:392)
>>
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActionja
>> va:124)
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:247)
>>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
>> odelScreenWidget.java:405)
>>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
>> ScreenWidget.java:310)
>>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
>> odelScreenWidget.java:405)
>>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
>> ScreenWidget.java:310)
>>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
>> (ModelScreenWidget.java:500)
>>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
>>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
>> er.java:85)
>>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:611)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:252)
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:202)
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
>> va:213)
>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
>> va: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:526)
>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>> ction(Http11Protocol.java:744)
>>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
>> a:527)
>>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
>> rkerThread.java:80)
>>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>> a:684)
>> java.lang.Thread.run(Thread.java:534)
>>
> ----------------------------------------------------------------------------
>> ----
>>
>> java.lang.NullPointerException: Null Pointer in Method Invocation
>>         at bsh.Name.invokeMethod(Name.java:677)
>>         at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:55)
>>         at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>>         at bsh.BSHArguments.getArguments(BSHArguments.java:47)
>>         at
>>
> bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:81
>> )
>>         at
> bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:61)
>>         at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>>         at bsh.BSHAssignment.eval(BSHAssignment.java:58)
>>         at bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
>>         at org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction
>> java:392)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActionja
>> va:124)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:247)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
>> odelScreenWidget.java:405)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
>> ScreenWidget.java:310)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
>> odelScreenWidget.java:405)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
>> ScreenWidget.java:310)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
>> (ModelScreenWidget.java:500)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>         at
>>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>>         at
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
>>         at
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
>>         at
>>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
>> er.java:85)
>>         at
>>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:611)
>>         at
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396)
>>         at
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>         at
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:252)
>>         at
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>>         at
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>>         at
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:202)
>>         at
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>>         at
>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
>> va:213)
>>         at
>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
>> va:178)
>>         at
>>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
>> )
>>         at
>>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
>> )
>>         at
>>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
>> :107)
>>         at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
>>         at
>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>         at
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>>         at
>>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>> ction(Http11Protocol.java:744)
>>         at
>>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
>> a:527)
>>         at
>>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
>> rkerThread.java:80)
>>         at
>>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>> a:684)
>>         at java.lang.Thread.run(Thread.java:534)
>> 1121578 (http-0.0.0.0-8080-Processor4) [            BshUtil.java:185:WARN
> ]
>> ---- exception report
>> ----------------------------------------------------------
>> WARNING: no cause (from getCause) found for BSH EvalError: Sourced file:
>>
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
>> h : null : at Line: 40 : in file:
>> component://ecommerce/webapp/ecommerce/WEB-INF/actions/ca
>> rt/showpromotext.bsh : productPromosAll .size ( )
>>
>> Target exception: java.lang.NullPointerException: Null Pointer in Method
>> Invocation
>>
>> Exception: bsh.TargetError
>> Message: Sourced file:
>>
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
>> h : null
>> ---- stack trace
>> ---------------------------------------------------------------
>> Sourced file:
>>
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
>> h : null : at Line: 40 : in file:
>>
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
>> h : productPromosAll .size ( )
>> Target exception: java.lang.NullPointerException: Null Pointer in Method
>> Invocation
>> bsh.UtilTargetError.toEvalError(UtilTargetError.java:70)
>> bsh.UtilEvalError.toEvalError(UtilEvalError.java:87)
>> bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:79)
>> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>> bsh.BSHArguments.getArguments(BSHArguments.java:47)
>>
> bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:81
>> )
>> bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:61)
>> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>> bsh.BSHAssignment.eval(BSHAssignment.java:58)
>> bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
>> org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
>>
> org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction
>> java:392)
>>
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActionja
>> va:124)
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:247)
>>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
>> odelScreenWidget.java:405)
>>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
>> ScreenWidget.java:310)
>>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
>> odelScreenWidget.java:405)
>>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
>> ScreenWidget.java:310)
>>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
>> (ModelScreenWidget.java:500)
>>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
>>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
>> er.java:85)
>>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:611)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:252)
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:202)
>>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
>> va:213)
>>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
>> va: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:526)
>>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>> ction(Http11Protocol.java:744)
>>
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
>> a:527)
>>
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
>> rkerThread.java:80)
>>
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>> a:684)
>> java.lang.Thread.run(Thread.java:534)
>>
> ----------------------------------------------------------------------------
>> ----
>>
>> 1123141 (http-0.0.0.0-8080-Processor4) [
> ModelScreen.java:158:ERROR]
>> Error rendering screen
>> [component://ecommerce/widget/CartScreens.xml#minipromotext]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at location
>> [com
>>
> ponent://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.bsh]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at
>>
> [component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.b
>> sh], line [40]: Sourc
>> ed file:
>>
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
>> h : null : at Line: 40 : in file:
>>
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
>> h : productPromosAll .size ( )
>>
>> Target exception: java.lang.NullPointerException: Null Pointer in Method
>> Invocation
>>  (Sourced file:
>>
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
>> h : null) (Error running BSH script at
>>
> [component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.b
>> sh], line [40]: Sourced file: com
>> ponent://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.bsh
> :
>> null : at Line: 40 : in file:
>>
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
>> h : productPromosAll .size ( )
>>
>> Target exception: java.lang.NullPointerException: Null Pointer in Method
>> Invocation
>>  (Sourced file:
>>
> component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
>> h : null)). Rolling back transaction.
>> 1123360 (http-0.0.0.0-8080-Processor4) [    TransactionUtil.java:276:WARN
> ]
>> ---- exception report
>> ----------------------------------------------------------
>> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
> this
>> stack trace shows where this is happening:
>> Exception: java.lang.Exception
>> Message: null
>>
>>  
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.ofbiz.org/mailman/listinfo/users
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7076: Broken?

Vinay Agarwal
May be the following experiments would be helpful.

Version 7071: Checkout fresh copy in a new directory, ran ant run-install,
startofbiz, and then tried ecommerce application. Everything OK.

Version 7076-a: Updated previous directory to version 7076. Ran ant (but not
ant run-install) so the data is from 7071 and then startofbiz. Tried
ecommerce. Everything OK.

Version 7076-b: Ran ant run-install (without deleting data from 7071) and
startofbiz. Tried ecommerce. Everything OK.

Version 7076-c: Deleted contents of data directory. Ran ant run-install and
startofbiz. Tried ecommerce. It blows up.

Regards,
Vinay Agarwal

-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
On Behalf Of David E. Jones
Sent: Sunday, March 26, 2006 6:59 PM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - 7076: Broken?


Vinay,

I checked my current sandbox: saw no such problem. I tried a fresh checkout
with a fresh database: saw no problem.

You've either changed files or changes data in the database that are messing
you up. If you are sure it's a fresh data (for Derby make sure
ofbiz/data/derby is empty) then do an "svn st" to see which files you have
changed.

Taking 20 minutes eh... You must be using a Windows machine with it's not so
speedy file system. The slowest part is Derby and it is very disk access
bound. On my Windows XP machine with a 10k RPM SATA drive (just an old 36GB
WD Raptor) it takes about 17 minutes. The processor never gets close to 50%.
On my Mac Desktop with basically RAID 1/0 of 4 of the same disks (about the
same speed of a 2 disk RAID 1) it takes just under 5 minutes pretty
consistently. So, part of it is 2 disks instead of 1, and the rest from the
OS. Linux is also a faster in this way.

-David


Vinay Agarwal wrote:

> On this unmodified version, ant run-install seems to complete successfully
> after taking expected 15-20 min on a fresh install and filling data
> subdirectory with 55MB of stuff. But then it fails like that.
>
> Vinay
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]]
> On Behalf Of David E. Jones
> Sent: Sunday, March 26, 2006 4:33 PM
> To: OFBiz Users / Usage Discussion
> Subject: Re: [OFBiz] Users - 7076: Broken?
>
>
> Looks like, and just a guess here of course, you're running against an
empty

> database (ie no seed data).
>
> -David
>
>
> Vinay Agarwal wrote:
>> Hello,
>>
>> I am getting errors that I have not previously seen on 7076 unmodified
> code
>> (repeats on a second PC). This is what I get when trying to go to
> ecommerce
>> application. Webtools also gives other errors.
>>
>> Regards,
>> Vinay Agarwal
>>
>> Httpd started on port: 9989
>> Sessiond started on port: 9990
>> 792828 (main) [ BeanShellContainer.java:109:INFO ] Started BeanShell
> telnet
>> service on 9989, 9990
>> 792828 (main) [ BeanShellContainer.java:110:INFO ] NOTICE: BeanShell
> service
>> ports are not secure. Please protect the ports
>> 796938 (org.ofbiz.service.jms.JmsListenerFactory@11cb5c7) [
>> JmsListenerFactory.java:82 :INFO ] JMS Listener Factory Thread Finished;
> All
>> listeners connected.
>> 1069703 (http-0.0.0.0-8080-Processor4) [     ControlServlet.java:98 :INFO
> ]
>> The character encoding of the request is: [null]. The character encoding
> we
>> will use for the request and response is: [UTF-8]
>> 1069703 (http-0.0.0.0-8080-Processor4) [
> ControlServlet.java:134:DEBUG]
>> [[[main] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]]
>> 1069703 (http-0.0.0.0-8080-Processor4) [
> ControlServlet.java:183:DEBUG]
>> [[[main] Setup done, doing Event(s) and View(s)- total:0.0,since
> last([main]
>> Servlet St...):0.0]]
>> 1069719 (http-0.0.0.0-8080-Processor4) [
> UtilXml.java:242:DEBUG]
>> XML Read 0.016s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml
>> 1069719 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:552:INFO
> ]
>> ConfigMap Created: (5) records in 0.0s
>> 1069735 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:622:INFO
> ]
>> HandlerMap Created: (2) records in 0.0s
>> 1069735 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:302:INFO
> ]
>> RequestMap Created: (195) records in 0.0s
>> 1069735 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:411:INFO
> ]
>> ViewMap Created: (67) records in 0.0s
>> 1070110 (http-0.0.0.0-8080-Processor4) [
> JavaEventHandler.java:107:ERROR]
>> ---- runtime exception report
>> --------------------------------------------------
>> Problems Processing Event
>> Exception: java.lang.IllegalArgumentException
>> Message: productStoreId cannot be null
>> ---- stack trace
>> ---------------------------------------------------------------
>> java.lang.IllegalArgumentException: productStoreId cannot be null
>> org.ofbiz.order.shoppingcart.ShoppingCart.<init>(ShoppingCart.java:584)
>>
>
org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:56)
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
>> ents.java:565)
>>
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
>> ents.java:584)
>>
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCart
>> Events.java:591)
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>> )
>>
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>> java:25)
>> java.lang.reflect.Method.invoke(Method.java:324)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:99)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
>>
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:191)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:252)
>>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:202)
>>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>>
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
>> va:213)
>>
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
>> va: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:526)
>>
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>>
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>> ction(Http11Protocol.java:744)
>>
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
>> a:527)
>>
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
>> rkerThread.java:80)
>>
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>> a:684)
>> java.lang.Thread.run(Thread.java:534)
>>
>
----------------------------------------------------------------------------

>> ----
>>
>> 1070156 (http-0.0.0.0-8080-Processor4) [
> RequestHandler.java:198:ERROR]
>> ---- exception report
>> ----------------------------------------------------------
>> Exception: org.ofbiz.webapp.event.EventHandlerException
>> Message: Problems processing event: java.lang.IllegalArgumentException:
>> productStoreId cannot be null (productStoreId cannot be null)
>> ---- stack trace
>> ---------------------------------------------------------------
>> org.ofbiz.webapp.event.EventHandlerException: Problems processing event:
>> java.lang.IllegalArgumentException: productStoreId cannot be null
>> (productStoreId cannot be null)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:108)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
>>
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:191)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:252)
>>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:202)
>>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>>
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
>> va:213)
>>
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
>> va: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:526)
>>
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>>
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>> ction(Http11Protocol.java:744)
>>
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
>> a:527)
>>
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
>> rkerThread.java:80)
>>
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>> a:684)
>> java.lang.Thread.run(Thread.java:534)
>> java.lang.IllegalArgumentException: productStoreId cannot be null
>> org.ofbiz.order.shoppingcart.ShoppingCart.<init>(ShoppingCart.java:584)
>>
>
org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:56)
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
>> ents.java:565)
>>
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
>> ents.java:584)
>>
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.keepCartUpdated(ShoppingCart
>> Events.java:591)
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>> )
>>
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>> java:25)
>> java.lang.reflect.Method.invoke(Method.java:324)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:99)
>> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:85)
>> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:415)
>>
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:191)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:252)
>>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:202)
>>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>>
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
>> va:213)
>>
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
>> va: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:526)
>>
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>>
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>> ction(Http11Protocol.java:744)
>>
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
>> a:527)
>>
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
>> rkerThread.java:80)
>>
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>> a:684)
>> java.lang.Thread.run(Thread.java:534)
>>
>
----------------------------------------------------------------------------

>> ----
>>
>> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:211:INFO
> ]
>> [Processing Request]: main
>> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestManager.java:123:INFO
> ]
>> [RequestManager.getRequestAttribute] Value for attribute "null" of uri
>> "main" not found
>> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:394:INFO
> ]
>> [RequestHandler.doRequest]: Response is a view.
>> 1070235 (http-0.0.0.0-8080-Processor4) [     RequestHandler.java:546:INFO
> ]
>> servletName=control, view=main
>> 1070235 (http-0.0.0.0-8080-Processor4) [     UtilJ2eeCompat.java:77 :INFO
> ]
>> serverInfo: Apache Tomcat/5.5.9
>> 1070235 (http-0.0.0.0-8080-Processor4) [     UtilJ2eeCompat.java:86 :INFO
> ]
>> Apache Tomcat detected, using response.getWriter to write text out
instead

>> of response.getOutputStream
>> 1108703 (http-0.0.0.0-8080-Processor4) [
> UtilXml.java:242:DEBUG]
>> XML Read 0.172s:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CommonScreens.xml
>> 1108891 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO
> ]
>> Got 6 screens in 0.5s from:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CommonScreens.xml
>> 1109406 (org.ofbiz.service.job.JobPoller@11674ff)
>> [XAConnectionFactory.java:119:WARN ] no xares in rms for con
>> org.ofbiz.minerva.pool.jdbc.xa.wrapper.XAConnectionImpl@145b02f
>> 1112406 (http-0.0.0.0-8080-Processor4) [
> UtilXml.java:242:DEBUG]
>> XML Read 0.031s:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CartScreens.xml
>> 1112406 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO
> ]
>> Got 7 screens in 0.125s from:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CartScreens.xml
>> 1112594 (http-0.0.0.0-8080-Processor4) [
> UtilXml.java:242:DEBUG]
>> XML Read 0.063s: jndi:/0.0.0.0/ecommerce/WEB-INF/controller.xml
>> 1112594 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:552:INFO
> ]
>> ConfigMap Created: (5) records in 0.0s
>> 1112594 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:622:INFO
> ]
>> HandlerMap Created: (2) records in 0.0s
>> 1112610 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:302:INFO
> ]
>> RequestMap Created: (195) records in 0.016s
>> 1112610 (http-0.0.0.0-8080-Processor4) [    ConfigXMLReader.java:411:INFO
> ]
>> ViewMap Created: (67) records in 0.0s
>> 1112750 (http-0.0.0.0-8080-Processor4) [
> UtilXml.java:242:DEBUG]
>> XML Read 0.015s:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CatalogScreens.xml
>> 1112813 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO
> ]
>> Got 25 screens in 0.172s from:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/CatalogScreens.xml
>> 1114266 (http-0.0.0.0-8080-Processor4) [
> UtilXml.java:242:DEBUG]
>> XML Read 0.016s:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ContentScreens.xml
>> 1114328 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO
> ]
>> Got 8 screens in 0.109s from:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ContentScreens.xml
>> 1114703 (http-0.0.0.0-8080-Processor4) [
> UtilXml.java:242:DEBUG]
>> XML Read 0.125s:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ForumScreens.xml
>> 1114735 (http-0.0.0.0-8080-Processor4) [      ScreenFactory.java:127:INFO
> ]
>> Got 10 screens in 0.282s from:
>> file:/C:/Server/ofbizREF/applications/ecommerce/widget/ForumScreens.xml
>> 1118688 (http-0.0.0.0-8080-Processor4) [ ProductPromoWorker.java:91
> :ERROR]
>> ---- runtime exception report
>> --------------------------------------------------
>> Exception: java.lang.IllegalArgumentException
>> Message: productStoreId cannot be null
>> ---- stack trace
>> ---------------------------------------------------------------
>> java.lang.IllegalArgumentException: productStoreId cannot be null
>> org.ofbiz.order.shoppingcart.ShoppingCart.<init>(ShoppingCart.java:584)
>>
>
org.ofbiz.order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:56)
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
>> ents.java:565)
>>
>
org.ofbiz.order.shoppingcart.ShoppingCartEvents.getCartObject(ShoppingCartEv
>> ents.java:584)
>>
>
org.ofbiz.order.shoppingcart.product.ProductPromoWorker.getStoreProductPromo
>> s(ProductPromoWorker.java:86)
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
>> )
>>
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl

>> java:25)
>> java.lang.reflect.Method.invoke(Method.java:324)
>> bsh.Reflect.invokeOnMethod(Reflect.java:117)
>> bsh.Reflect.invokeStaticMethod(Reflect.java:109)
>> bsh.Name.invokeMethod(Name.java:702)
>> bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:55)
>> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>> bsh.BSHAssignment.eval(BSHAssignment.java:58)
>> bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
>> org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
>>
>
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction
>> java:392)
>>
>
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActionja
>> va:124)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:247)
>>
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
>> odelScreenWidget.java:405)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
>> ScreenWidget.java:310)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
>> odelScreenWidget.java:405)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
>> ScreenWidget.java:310)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
>> (ModelScreenWidget.java:500)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
>>
>
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
>> er.java:85)
>>
>
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:611)
>>
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:252)
>>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:202)
>>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>>
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
>> va:213)
>>
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
>> va: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:526)
>>
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>>
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>> ction(Http11Protocol.java:744)
>>
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
>> a:527)
>>
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
>> rkerThread.java:80)
>>
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>> a:684)
>> java.lang.Thread.run(Thread.java:534)
>>
>
----------------------------------------------------------------------------

>> ----
>>
>> java.lang.NullPointerException: Null Pointer in Method Invocation
>>         at bsh.Name.invokeMethod(Name.java:677)
>>         at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:55)
>>         at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>>         at bsh.BSHArguments.getArguments(BSHArguments.java:47)
>>         at
>>
>
bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:81

>> )
>>         at
> bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:61)
>>         at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>>         at bsh.BSHAssignment.eval(BSHAssignment.java:58)
>>         at bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
>>         at org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction
>> java:392)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActionja
>> va:124)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:247)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
>> odelScreenWidget.java:405)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
>> ScreenWidget.java:310)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
>> odelScreenWidget.java:405)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
>> ScreenWidget.java:310)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
>> (ModelScreenWidget.java:500)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>         at
>>
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>>         at
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
>>         at
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
>>         at
>>
>
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
>> er.java:85)
>>         at
>>
>
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:611)
>>         at
>>
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396)
>>         at
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>         at
>>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:252)
>>         at
>>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>>         at
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>>         at
>>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:202)
>>         at
>>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>>         at
>>
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
>> va:213)
>>         at
>>
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
>> va:178)
>>         at
>>
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
>> )
>>         at
>>
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
>> )
>>         at
>>
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
>> :107)
>>         at
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
>>         at
>>
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>         at
>>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>>         at
>>
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>> ction(Http11Protocol.java:744)
>>         at
>>
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
>> a:527)
>>         at
>>
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
>> rkerThread.java:80)
>>         at
>>
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>> a:684)
>>         at java.lang.Thread.run(Thread.java:534)
>> 1121578 (http-0.0.0.0-8080-Processor4) [            BshUtil.java:185:WARN
> ]
>> ---- exception report
>> ----------------------------------------------------------
>> WARNING: no cause (from getCause) found for BSH EvalError: Sourced file:
>>
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs

>> h : null : at Line: 40 : in file:
>> component://ecommerce/webapp/ecommerce/WEB-INF/actions/ca
>> rt/showpromotext.bsh : productPromosAll .size ( )
>>
>> Target exception: java.lang.NullPointerException: Null Pointer in Method
>> Invocation
>>
>> Exception: bsh.TargetError
>> Message: Sourced file:
>>
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
>> h : null
>> ---- stack trace
>> ---------------------------------------------------------------
>> Sourced file:
>>
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
>> h : null : at Line: 40 : in file:
>>
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs

>> h : productPromosAll .size ( )
>> Target exception: java.lang.NullPointerException: Null Pointer in Method
>> Invocation
>> bsh.UtilTargetError.toEvalError(UtilTargetError.java:70)
>> bsh.UtilEvalError.toEvalError(UtilEvalError.java:87)
>> bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:79)
>> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>> bsh.BSHArguments.getArguments(BSHArguments.java:47)
>>
>
bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:81
>> )
>> bsh.BSHAllocationExpression.eval(BSHAllocationExpression.java:61)
>> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:69)
>> bsh.BSHAssignment.eval(BSHAssignment.java:58)
>> bsh.Interpreter.evalParsedScript(Interpreter.java:1104)
>> org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:169)
>>
>
org.ofbiz.widget.screen.ModelScreenAction$Script.runAction(ModelScreenAction
>> java:392)
>>
>
org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenActionja
>> va:124)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:247)
>>
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
>> odelScreenWidget.java:405)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
>> ScreenWidget.java:310)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>
org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(M
>> odelScreenWidget.java:405)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(Model
>> ScreenWidget.java:310)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString
>> (ModelScreenWidget.java:500)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreen
>> Widget.java:161)
>>
>
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelSc
>> reenWidget.java:254)
>>
>
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:144)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:115)
>> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:100)
>>
>
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandl
>> er.java:85)
>>
>
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:611)
>>
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:396)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:252)
>>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
>>
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>> FilterChain.java:202)
>>
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>> ain.java:173)
>>
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValveja
>> va:213)
>>
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValveja
>> va: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:526)
>>
>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>>
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
>> ction(Http11Protocol.java:744)
>>
>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
>> a:527)
>>
>
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
>> rkerThread.java:80)
>>
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
>> a:684)
>> java.lang.Thread.run(Thread.java:534)
>>
>
----------------------------------------------------------------------------
>> ----
>>
>> 1123141 (http-0.0.0.0-8080-Processor4) [
> ModelScreen.java:158:ERROR]
>> Error rendering screen
>> [component://ecommerce/widget/CartScreens.xml#minipromotext]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at
location
>> [com
>>
>
ponent://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.bsh]:
>> org.ofbiz.base.util.GeneralException: Error running BSH script at
>>
>
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.b
>> sh], line [40]: Sourc
>> ed file:
>>
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
>> h : null : at Line: 40 : in file:
>>
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
>> h : productPromosAll .size ( )
>>
>> Target exception: java.lang.NullPointerException: Null Pointer in Method
>> Invocation
>>  (Sourced file:
>>
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
>> h : null) (Error running BSH script at
>>
>
[component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.b
>> sh], line [40]: Sourced file: com
>>
ponent://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotext.bsh
> :
>> null : at Line: 40 : in file:
>>
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs
>> h : productPromosAll .size ( )
>>
>> Target exception: java.lang.NullPointerException: Null Pointer in Method
>> Invocation
>>  (Sourced file:
>>
>
component://ecommerce/webapp/ecommerce/WEB-INF/actions/cart/showpromotextbs

>> h : null)). Rolling back transaction.
>> 1123360 (http-0.0.0.0-8080-Processor4) [    TransactionUtil.java:276:WARN
> ]
>> ---- exception report
>> ----------------------------------------------------------
>> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
> this
>> stack trace shows where this is happening:
>> Exception: java.lang.Exception
>> Message: null
>>
>>  
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.ofbiz.org/mailman/listinfo/users
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Users - 7076: Broken?

Ray Barlow
In reply to this post by Vinay Agarwal
I've tested today against a clean source r7082 and newly created DB
(20mins on W2K to create Derby!) and have managed to create a simple
order and process it through ordermgr without any problems.

Have you tried "svn st" to check you've not got any modified files
hanging around?

Ray


Vinay Agarwal wrote:

>May be the following experiments would be helpful.
>
>Version 7071: Checkout fresh copy in a new directory, ran ant run-install,
>startofbiz, and then tried ecommerce application. Everything OK.
>
>Version 7076-a: Updated previous directory to version 7076. Ran ant (but not
>ant run-install) so the data is from 7071 and then startofbiz. Tried
>ecommerce. Everything OK.
>
>Version 7076-b: Ran ant run-install (without deleting data from 7071) and
>startofbiz. Tried ecommerce. Everything OK.
>
>Version 7076-c: Deleted contents of data directory. Ran ant run-install and
>startofbiz. Tried ecommerce. It blows up.
>
>Regards,
>Vinay Agarwal
>
>  
>
>  
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users