2009-12-11 13:05:39,562 (http-0.0.0.0-8444-3) [
ProductStoreWorker.java:101:ERROR] No product store found in request, cannot
set locale!

I'm guessing that you haven't updated the webSiteId context-param inside the web.xml file for the order manager webapp. Change it to the id of the record that you replaced the OrderEntry WebSite record with.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com


On 11/12/2009, at 8:41 PM, Prabhakaran Duraisamy wrote:

Hi, Scott Gray this is the portion of the log containing the errors pls fix
the error

file:/D:/ofbiz/applications/order/widget/ordermgr/OrderViewScreens.xml
2009-12-11 13:05:29,156 (http-0.0.0.0-8444-1) [
UtilProperties.java:870:INFO ] ResourceBundle OrderEntityLabels (en_US)
created in 0.063s with 80 properties
2009-12-11 13:05:29,515 (http-0.0.0.0-8444-1) [
ScreenFactory.java:129:INFO ] Got 4 screens in 0.015s from:
file:/D:/ofbiz/applications/order/widget/ordermgr/CommonScreens.xml
2009-12-11 13:05:29,640 (http-0.0.0.0-8444-1) [
UtilProperties.java:870:INFO ] ResourceBundle ContentUiLabels (en_US)
created in 0.125s with 458 properties
2009-12-11 13:05:29,671 (http-0.0.0.0-8444-1) [
ScreenFactory.java:129:INFO ] Got 22 screens in 0.015s from:
file:/D:/ofbiz/framework/common/widget/CommonScreens.xml
2009-12-11 13:05:29,828 (http-0.0.0.0-8444-1) [
ControlServlet.java:299:INFO ] [[[main] Request Done- total: 1.094,since
last([main] Request Be...):1.094]]
2009-12-11 13:05:31,843 (http-0.0.0.0-8444-4) [
ControlServlet.java:130:INFO ] [[[orderentry] Request Begun,
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2009-12-11 13:05:31,843 (http-0.0.0.0-8444-4) [
LoginWorker.java:880:INFO ] INSIDE HAS BASE PERMISSION....
2009-12-11 13:05:31,843 (http-0.0.0.0-8444-4) [
LoginWorker.java:883:INFO ] security
....org.ofbiz.security.ofbizsecur...@13a73db
2009-12-11 13:05:31,843 (http-0.0.0.0-8444-4) [
LoginWorker.java:889:INFO ] INFO
....org.ofbiz.base.component.componentconfig$webappi...@8c40ee
2009-12-11 13:05:31,843 (http-0.0.0.0-8444-4) [
LoginWorker.java:890:INFO ] info.getBasePermission()
....[Ljava.lang.String;@1faf398
2009-12-11 13:05:31,843 (http-0.0.0.0-8444-4) [
LoginWorker.java:894:INFO ] permission in for loop....OFBTOOLS
2009-12-11 13:05:31,843 (http-0.0.0.0-8444-4) [
LoginWorker.java:894:INFO ] permission in for loop....ORDERMGR
2009-12-11 13:05:31,875 (http-0.0.0.0-8444-4) [
RequestHandler.java:588:INFO ] Ran Event
[java:org .ofbiz.order.shoppingcart.ShoppingCartEvents#routeOrderEntry] from
[request], result is [init]
2009-12-11 13:05:31,875 (http-0.0.0.0-8444-4) [
RequestHandler.java:692:INFO ] Rendering View [checkinits],
sessionId=5019AD045F39B52663EDC56C711B15D9.jvm1
2009-12-11 13:05:31,890 (http-0.0.0.0-8444-4) [
ScreenFactory.java:129:INFO ] Got 6 screens in 0.015s from:
file:/D:/ofbiz/applications/order/widget/ordermgr/ OrderEntryScreens.xml
2009-12-11 13:05:32,234 (http-0.0.0.0-8444-4) [
ScreenFactory.java:129:INFO ] Got 1 screens in 0.016s from:
file:/D:/ofbiz/applications/commonext/widget/CommonScreens.xml
2009-12-11 13:05:32,453 (http-0.0.0.0-8444-4) [
ControlServlet.java:299:INFO ] [[[orderentry] Request Done- total: 0.61,since
last([orderentry] Requ...):0.61]]
2009-12-11 13:05:39,484 (http-0.0.0.0-8444-3) [
ControlServlet.java:130:INFO ] [[[initorderentry] Request Begun,
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2009-12-11 13:05:39,515 (http-0.0.0.0-8444-3) [
ConfigXMLReader.java:118:INFO ] controller loaded: 0.0s, 17 requests, 13
views in
file:/D:/ofbiz/framework/common/webcommon/WEB-INF/common- controller.xml
2009-12-11 13:05:39,515 (http-0.0.0.0-8444-3) [
ConfigXMLReader.java:118:INFO ] controller loaded: 0.015s, 322 requests, 143
views in jndi:/0.0.0.0/ordermgr/WEB-INF/controller.xml
2009-12-11 13:05:39,531 (http-0.0.0.0-8444-3) [
LoginWorker.java:880:INFO ] INSIDE HAS BASE PERMISSION....
2009-12-11 13:05:39,531 (http-0.0.0.0-8444-3) [
LoginWorker.java:883:INFO ] security
....org.ofbiz.security.ofbizsecur...@13a73db
2009-12-11 13:05:39,531 (http-0.0.0.0-8444-3) [
LoginWorker.java:889:INFO ] INFO
....org.ofbiz.base.component.componentconfig$webappi...@8c40ee
2009-12-11 13:05:39,531 (http-0.0.0.0-8444-3) [
LoginWorker.java:890:INFO ] info.getBasePermission()
....[Ljava.lang.String;@1faf398
2009-12-11 13:05:39,531 (http-0.0.0.0-8444-3) [
LoginWorker.java:894:INFO ] permission in for loop....OFBTOOLS
2009-12-11 13:05:39,531 (http-0.0.0.0-8444-3) [
LoginWorker.java:894:INFO ] permission in for loop....ORDERMGR
2009-12-11 13:05:39,562 (http-0.0.0.0-8444-3) [
ProductStoreWorker.java:101:ERROR] No product store found in request, cannot
set locale!
2009-12-11 13:05:39,562 (http-0.0.0.0-8444-3) [
JavaEventHandler.java:100:ERROR]
---- runtime exception report
--------------------------------------------------
Problems Processing Event
Exception: java.lang.NullPointerException
Message: null
---- stack trace
---------------------------------------------------------------
java.lang.NullPointerException
org .ofbiz .product .store .ProductStoreWorker.getStoreCurrencyUomId(ProductStoreWorker.java:95) org .ofbiz .order.shoppingcart.WebShoppingCart.<init>(WebShoppingCart.java:44) org .ofbiz .order .shoppingcart .ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:821) org .ofbiz .order .shoppingcart .ShoppingCartEvents.getCartObject(ShoppingCartEvents.java:840) org .ofbiz .order .shoppingcart .ShoppingCartEvents.initializeOrderEntry(ShoppingCartEvents.java:1386)
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:585)
org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java: 92) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java: 78) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java: 587) org .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: 361)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:201)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 290) org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: 259) org .apache .catalina .core .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: 235) org .apache .catalina .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org .apache .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 233) org .apache .catalina.core.StandardContextValve.invoke(StandardContextValve.java: 175) org .apache .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org .apache .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org .apache .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: 109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 568) org .ofbiz .catalina .container .CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44) org .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 286) org .apache.coyote.http11.Http11Processor.process(Http11Processor.java: 844) org.apache.coyote.http11.Http11Protocol $Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: 447)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2009-12-11 13:05:39,609 (http-0.0.0.0-8444-3) [
UtilProperties.java:870:INFO ] ResourceBundle WebappUiLabels (en_US) created
in 0.047s with 26 properties
2009-12-11 13:05:39,609 (http-0.0.0.0-8444-3) [
RequestHandler.java:399:ERROR] Request initorderentry caused an error with
the following message: Error calling event:
org.ofbiz.webapp.event.EventHandlerException: Problems processing event:
java.lang.NullPointerException (null)
2009-12-11 13:05:39,609 (http-0.0.0.0-8444-3) [
RequestHandler.java:692:INFO ] Rendering View [checkinits],
sessionId=5019AD045F39B52663EDC56C711B15D9.jvm1
2009-12-11 13:05:39,625 (http-0.0.0.0-8444-3) [
ScreenFactory.java:129:INFO ] Got 4 screens in 0.0s from:
file:/D:/ofbiz/applications/order/widget/ordermgr/CommonScreens.xml
2009-12-11 13:05:40,265 (http-0.0.0.0-8444-3) [
ControlServlet.java:299:INFO ] [[[initorderentry] Request Done-
total:0.781,since last([initorderentry] ...):0.781]]


On Fri, Dec 11, 2009 at 12:58 PM, Scott Gray <scott.g...@hotwaxmedia.com >wrote:

Hi Prabhakaran,

Please send along the portion of the log containing the errors, you'll find
the logs in runtime/logs/ofbiz.log

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com


On 11/12/2009, at 8:20 PM, Prabhakaran Duraisamy wrote:

Thanks Vivek

After ant clean-all I Run ant run-install and ant run... where there is a Default Facilty And Stores are deleted... Here I Created a new Inventory
and Stores But i Can't make Order's

On Fri, Dec 11, 2009 at 12:35 PM, Vivek Mishra <
vivek.mis...@hotwaxmedia.com

wrote:


Hi Prabhakaran,

Refer Ofbiz/build.xml file for knowing the use of clean-all target. You don't have database and even the jar file to run OFBiz if you are using
derby database.

Create a jar and install the data.

Thanks!

-- Vivek Mishra


Prabhakaran Duraisamy wrote:

Hi  ,

In Ofbiz , after ant clean - all, i tried to make Purchase Order but
cant,yet I got Error as
org.ofbiz.webapp.event.EventHandlerException: Problems processing event:
java.lang.NullPointerException (null)
pls Guide me






--
Regards,

Prabhakaran.D

+91 99 520 93 900





--
Regards,

Prabhakaran.D

+91 99 520 93 900

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to