Hello,

I get the following error when I try to create a new user on ofbiz's
webstore:
"Error running the simple-method: Error in simple-method operation []:
java.lang.IllegalArgumentException: Could not find resource bundle
[security] in the locale [en_US] null".

The ofbiz version I am using is (svn info): Revision: 614533

I haven't done any modification, I am just testing with the demo data.

The complete trace that ofbiz generates is:

2008-01-23 15:55:52,412 (http-0.0.0.0-8443-Processor2) [    
ControlServlet.java:93 :INFO ] The character encoding of the request is:
[null]. The character encoding we will use for the request and response is:
[UTF-8]
2008-01-23 15:55:52,462 (http-0.0.0.0-8443-Processor2) [   
ConfigXMLReader.java:564:INFO ] ConfigMap Created: (5) records in 0.0040s
2008-01-23 15:55:52,464 (http-0.0.0.0-8443-Processor2) [   
ConfigXMLReader.java:722:INFO ] HandlerMap Created: (4) view handlers and
(7) request/event handlers in 0.0s
2008-01-23 15:55:52,478 (http-0.0.0.0-8443-Processor2) [   
ConfigXMLReader.java:297:INFO ] RequestMap Created: (246) records in 0.012s
2008-01-23 15:55:52,481 (http-0.0.0.0-8443-Processor2) [   
ConfigXMLReader.java:391:INFO ] ViewMap Created: (89) records in 0.0010s
2008-01-23 15:55:52,486 (http-0.0.0.0-8443-Processor2) [    
RequestHandler.java:243:INFO ] [Processing Request]: createcustomer
sessionId=DB6EDA4FF725C329CD50BD87701A61B4.jvm1
2008-01-23 15:55:52,578 (http-0.0.0.0-8443-Processor2) [    
UtilProperties.java:530:INFO ] XML properties file invalid or empty
2008-01-23 15:55:52,587 (http-0.0.0.0-8443-Processor2) [    
UtilProperties.java:530:INFO ] XML properties file invalid or empty
2008-01-23 15:55:52,595 (http-0.0.0.0-8443-Processor2) [    
UtilProperties.java:530:INFO ] XML properties file invalid or empty
2008-01-23 15:55:52,602 (http-0.0.0.0-8443-Processor2) [      
SimpleMethod.java:936:ERROR]
---- runtime exception report
--------------------------------------------------
Error in simple-method operation [<property-to-field
field-name="username_lowercase" map-name=""/>]:
java.lang.IllegalArgumentException: Could not find resource bundle
[security] in the locale [en_US]
Exception: java.lang.IllegalArgumentException
Message: Could not find resource bundle [security] in the locale [en_US]
---- stack trace
---------------------------------------------------------------
java.lang.IllegalArgumentException: Could not find resource bundle
[security] in the locale [en_US]
org.ofbiz.base.util.UtilProperties.getResourceBundle(UtilProperties.java:486)
org.ofbiz.base.util.UtilProperties.getMessage(UtilProperties.java:380)
org.ofbiz.minilang.method.otherops.PropertyToField.exec(PropertyToField.java:64)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:931)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:568)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:105)
org.ofbiz.minilang.SimpleMethod.runSimpleEvent(SimpleMethod.java:66)
org.ofbiz.webapp.event.SimpleEventHandler.invoke(SimpleEventHandler.java:72)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2008-01-23 15:55:52,604 (http-0.0.0.0-8443-Processor2) [      
SimpleMethod.java:572:ERROR] Error running the simple-method: Error in
simple-method operation [<property-to-field field-name="username_lowercase"
map-name=""/>]: java.lang.IllegalArgumentException: Could not find resource
bundle [security] in the locale [en_US]
2008-01-23 15:55:52,606 (http-0.0.0.0-8443-Processor2) [      
SimpleMethod.java:613:INFO ] No response code string found, but error
messages found so assuming error; returning code [error]
2008-01-23 15:55:52,609 (http-0.0.0.0-8443-Processor2) [   
TransactionUtil.java:275:ERROR]
---- exception report
----------------------------------------------------------
[TransactionUtil.rollback]
Exception: java.lang.Exception
Message: Stack Trace
---- stack trace
---------------------------------------------------------------
java.lang.Exception: Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:274)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:256)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:699)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:105)
org.ofbiz.minilang.SimpleMethod.runSimpleEvent(SimpleMethod.java:66)
org.ofbiz.webapp.event.SimpleEventHandler.invoke(SimpleEventHandler.java:72)
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78)
javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:248)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
java.lang.Thread.run(Thread.java:595)
--------------------------------------------------------------------------------

2008-01-23 15:55:52,630 (http-0.0.0.0-8443-Processor2) [   
TransactionUtil.java:285:INFO ] [TransactionUtil.rollback] transaction
rolled back
2008-01-23 15:55:52,632 (http-0.0.0.0-8443-Processor2) [    
RequestHandler.java:314:ERROR] Request createcustomer caused an error with
the following message: Error running the simple-method: Error in
simple-method operation [<property-to-field field-name="username_lowercase"
map-name=""/>]: java.lang.IllegalArgumentException: Could not find resource
bundle [security] in the locale [en_US]<br/>null
2008-01-23 15:55:52,634 (http-0.0.0.0-8443-Processor2) [    
RequestHandler.java:433:INFO ] [RequestHandler.doRequest]: Response is a
view. sessionId=DB6EDA4FF725C329CD50BD87701A61B4.jvm1
2008-01-23 15:55:52,635 (http-0.0.0.0-8443-Processor2) [    
RequestHandler.java:584:INFO ] servletName=control, view=newcustomer
sessionId=DB6EDA4FF725C329CD50BD87701A61B4.jvm1
2008-01-23 15:55:52,678 (http-0.0.0.0-8443-Processor2) [     
ScreenFactory.java:118:INFO ] Got 22 screens in 0.033s from:
file:/home/ultradia/version/ofbiz/applications/ecommerce/widget/CustomerScreens.xml
2008-01-23 15:55:52,721 (http-0.0.0.0-8443-Processor2) [     
ScreenFactory.java:118:INFO ] Got 14 screens in 0.028s from:
file:/home/ultradia/version/ofbiz/applications/ecommerce/widget/CommonScreens.xml
2008-01-23 15:55:52,785 (http-0.0.0.0-8443-Processor2) [     
ScreenFactory.java:118:INFO ] Got 7 screens in 0.025s from:
file:/home/ultradia/version/ofbiz/applications/ecommerce/widget/CartScreens.xml
2008-01-23 15:55:52,799 (http-0.0.0.0-8443-Processor2) [ 
ModelScreenWidget.java:340:INFO ] In the include-screen tag the screen name
was empty, ignoring include; in screen [main-decorator]
2008-01-23 15:55:52,801 (http-0.0.0.0-8443-Processor2) [ 
ModelScreenWidget.java:340:INFO ] In the include-screen tag the screen name
was empty, ignoring include; in screen [main-decorator]
2008-01-23 15:55:52,887 (http-0.0.0.0-8443-Processor2) [     
ScreenFactory.java:118:INFO ] Got 18 screens in 0.027s from:
file:/home/ultradia/version/ofbiz/framework/common/widget/CommonScreens.xml

Thank you for your help,

Javier.

-- 
View this message in context: 
http://www.nabble.com/Error-when-creating-new-account-on-the-webstore-tp15043385p15043385.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to