[ 
https://issues.apache.org/jira/browse/OFBIZ-5047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476081#comment-13476081
 ] 

Chung commented on OFBIZ-5047:
------------------------------

exact steps to produce the error:

1. svn co http://svn.apache.org/repos/asf/ofbiz/trunk ofbiz
2.  ant load-extseed
3. ant create-admin-user-login
4. ant start
5. https://localhost:8443/webtools/control/xmldsdum

 [java] 2012-10-15 21:53:41,345 (http-bio-0.0.0.0-8443-exec-4) [      
ContextFilter.java:193:INFO ] [Domain]: localhost [Request]: 
/webtools/control/login
     [java] 2012-10-15 21:53:41,345 (http-bio-0.0.0.0-8443-exec-4) [     
ControlServlet.java:140:INFO ] [[[login(Domain:https://localhost)] Request 
Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
     [java] 2012-10-15 21:53:41,353 (http-bio-0.0.0.0-8443-exec-4) [    
ConfigXMLReader.java:115:INFO ] controller loaded: 0.002s, 113 requests, 70 
views in jndi:/0.0.0.0/webtools/WEB-INF/controller.xml
     [java] 2012-10-15 21:53:41,357 (http-bio-0.0.0.0-8443-exec-4) [    
ConfigXMLReader.java:115:INFO ] controller loaded: 0.001s, 36 requests, 19 
views in 
file:/home/chung/ofbiz2/framework/common/webcommon/WEB-INF/common-controller.xml
     [java] 2012-10-15 21:53:41,360 (http-bio-0.0.0.0-8443-exec-4) [    
ConfigXMLReader.java:115:INFO ] controller loaded: 0.0s, 25 requests, 10 views 
in 
file:/home/chung/ofbiz2/framework/common/webcommon/WEB-INF/portal-controller.xml
     [java] 2012-10-15 21:53:41,363 (http-bio-0.0.0.0-8443-exec-4) [    
ConfigXMLReader.java:115:INFO ] controller loaded: 0.0s, 30 requests, 13 views 
in 
file:/home/chung/ofbiz2/framework/common/webcommon/WEB-INF/security-controller.xml
     [java] 2012-10-15 21:53:41,366 (http-bio-0.0.0.0-8443-exec-4) [    
ConfigXMLReader.java:115:INFO ] controller loaded: 0.0s, 5 requests, 0 views in 
file:/home/chung/ofbiz2/framework/common/webcommon/WEB-INF/tempexpr-controller.xml
     [java] 2012-10-15 21:53:41,383 (http-bio-0.0.0.0-8443-exec-4) [      
LoginServices.java:921:INFO ]  password.change.history.limit is set to 0
     [java] 2012-10-15 21:53:41,383 (http-bio-0.0.0.0-8443-exec-4) [      
LoginServices.java:922:INFO ]  userLogin is set to 
[GenericEntity:UserLogin][createdStamp,2012-10-15 
21:49:04.644(java.sql.Timestamp)][createdTxStamp,2012-10-15 
21:49:04.63(java.sql.Timestamp)][currentPassword,$SHA$GJrNe20OiIb2IG5$8OR_SZbNQb2a6cUQ2QWQwFyRbYo(java.lang.String)][disabledDateTime,null()][enabled,null()][externalAuthId,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2012-10-15
 21:53:21.8(java.sql.Timestamp)][lastUpdatedTxStamp,2012-10-15 
21:53:21.781(java.sql.Timestamp)][partyId,null()][passwordHint,null()][requirePasswordChange,N(java.lang.String)][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,admin(java.lang.String)]
     [java] 2012-10-15 21:53:41,385 (http-bio-0.0.0.0-8443-exec-4) [     
ServiceEcaRule.java:157:INFO ] Running Service ECA Service: 
sendUpdatePersonalInfoEmailNotification, triggered by rule on Service: 
updatePassword
     [java] 2012-10-15 21:53:41,385 (http-bio-0.0.0.0-8443-exec-4) [  
ServiceDispatcher.java:606:INFO ] [[ASync service started...- total:0.0,since 
last(Begin):0.0]] - 'webtools / sendUpdatePersonalInfoEmailNotification'
     [java] 2012-10-15 21:53:41,386 (http-bio-0.0.0.0-8443-exec-4) [  
ServiceDispatcher.java:887:INFO ] Service auth failed for userLoginId [admin] 
because UserLogin record currentPassword fields did not match; note that the 
UserLogin object passed into a service may need to have the currentPassword 
encrypted.
     [java] 2012-10-15 21:53:41,395 (http-bio-0.0.0.0-8443-exec-4) [ 
GenericAsyncEngine.java:134:INFO ] Persisted job queued : 1350298421391
     [java] 2012-10-15 21:53:41,395 (http-bio-0.0.0.0-8443-exec-4) [  
ServiceDispatcher.java:702:INFO ] [[ASync service finished...- total:0.01,since 
last(ASync service sta...):0.01]] - 'webtools / 
sendUpdatePersonalInfoEmailNotification'
     [java] 2012-10-15 21:53:41,473 (http-bio-0.0.0.0-8443-exec-4) [  
ServiceDispatcher.java:575:INFO ] Slow sync service execution detected: service 
[webtools/updatePassword] finished in [92] milliseconds
     [java] 2012-10-15 21:53:41,549 (OFBiz-JobQueue-0) 
[PersistedServiceJob.java:188:INFO ] Job  [1350298402086] Id [10015] -- Next 
runtime: Thu Jan 01 09:59:59 EST 1970
     [java] 2012-10-15 21:53:41,568 (http-bio-0.0.0.0-8443-exec-4) [        
LoginWorker.java:674:INFO ] Running autoLogin check.
     [java] 2012-10-15 21:53:41,570 (http-bio-0.0.0.0-8443-exec-4) [     
RequestHandler.java:673:INFO ] Ran Event 
[java:org.ofbiz.webapp.control.LoginWorker#login] from [request], result is 
[success]
     [java] 2012-10-15 21:53:41,570 (http-bio-0.0.0.0-8443-exec-4) [     
RequestHandler.java:775:INFO ] Rendering View [main], 
sessionId=843D635FEDFFD990E5DA1CA3FE28ED7F.jvm1
     [java] 2012-10-15 21:53:41,599 (OFBiz-JobQueue-1) 
[PersistedServiceJob.java:188:INFO ] Job  [1350298421391] Id [10016] -- Next 
runtime: Thu Jan 01 09:59:59 EST 1970
     [java] 2012-10-15 21:53:41,600 (OFBiz-JobQueue-0) [                
Log.java:83 :WARN ] [PartyServices.xml#sendUpdatePersonalInfoEmailNotification 
line 999] No productStoreId specified.
     [java] 2012-10-15 21:53:41,600 (OFBiz-JobQueue-0) [   
PrimaryKeyFinder.java:153:INFO ] Returning null because found incomplete 
primary key in find: 
[GenericEntity:ProductStoreEmailSetting][emailType,UPD_PRSNL_INF_CNFRM(java.lang.String)][productStoreId,null()]
     [java] 2012-10-15 21:53:41,601 (OFBiz-JobQueue-1) [                
Log.java:83 :WARN ] [PartyServices.xml#sendUpdatePersonalInfoEmailNotification 
line 999] No productStoreId specified.
     [java] 2012-10-15 21:53:41,601 (OFBiz-JobQueue-1) [   
PrimaryKeyFinder.java:153:INFO ] Returning null because found incomplete 
primary key in find: 
[GenericEntity:ProductStoreEmailSetting][emailType,UPD_PRSNL_INF_CNFRM(java.lang.String)][productStoreId,null()]
     [java] 2012-10-15 21:53:41,619 (OFBiz-JobQueue-0) [  
ServiceDispatcher.java:575:INFO ] Slow sync service execution detected: service 
[default/sendUpdatePersonalInfoEmailNotification] finished in [68] milliseconds
     [java] 2012-10-15 21:53:41,668 (http-bio-0.0.0.0-8443-exec-4) [      
ScreenFactory.java:130:INFO ] Got 11 screens in 0.007s from: 
file:/home/chung/ofbiz2/framework/webtools/widget/CommonScreens.xml
     [java] 2012-10-15 21:53:41,678 (http-bio-0.0.0.0-8443-exec-4) [      
ScreenFactory.java:130:INFO ] Got 24 screens in 0.009s from: 
file:/home/chung/ofbiz2/framework/common/widget/CommonScreens.xml
     [java] 2012-10-15 21:53:41,819 (http-bio-0.0.0.0-8443-exec-4) [       
ModelService.java:475:INFO ] Set default value [SECURITY] for parameter 
[primaryPermission]
     [java] 2012-10-15 21:53:41,835 (http-bio-0.0.0.0-8443-exec-4) [       
ModelService.java:475:INFO ] Set default value [SECURITY] for parameter 
[primaryPermission]
     [java] 2012-10-15 21:53:41,839 (http-bio-0.0.0.0-8443-exec-4) [       
ModelService.java:475:INFO ] Set default value [SECURITY] for parameter 
[primaryPermission]
     [java] 2012-10-15 21:53:41,866 (http-bio-0.0.0.0-8443-exec-4) [       
ServerHitBin.java:637:INFO ] Visit delegatorName=default, ServerHitBin 
delegatorName=default
     [java] 2012-10-15 21:53:41,881 (http-bio-0.0.0.0-8443-exec-4) [     
ControlServlet.java:324:INFO ] [[[login(Domain:https://localhost)] Request 
Done- total:0.536,since last([login(Domain:htt...):0.536]]







                
> Import/export
> -------------
>
>                 Key: OFBIZ-5047
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5047
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 12.04
>         Environment: ubuntu 12_4, ofBIZ_12_4
>            Reporter: sergio kosik
>            Assignee: Jacques Le Roux
>         Attachments: ofbiz_result_screen.png, start_screen.png
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> I just check out code from SVN,
> - invoked <ant load-demo> command and  
> - just tried invoke Import/export functionality from backoffice page
> The Faield :ERROR MESSAGE: was result:
> https://localhost:8443/webtools/control/xmldsdump
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen 
> [component://webtools/widget/EntityScreens.xml#xmldsdump]: 
> java.lang.IllegalArgumentException: Error running script at location 
> [component://webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy]:
>  javax.script.ScriptException: 
> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast 
> object '[null]' with class 'java.util.ArrayList' to class 'java.util.TreeSet' 
> due to: java.lang.NullPointerException (Error running script at location 
> [component://webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy]:
>  javax.script.ScriptException: 
> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast 
> object '[null]' with class 'java.util.ArrayList' to class 'java.util.TreeSet' 
> due to: java.lang.NullPointerException)
> ---- stack trace 
> ---------------------------------------------------------------
> java.lang.IllegalArgumentException: Error running script at location 
> [component://webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy]:
>  javax.script.ScriptException: 
> org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast 
> object '[null]' with class 'java.util.ArrayList' to class 'java.util.TreeSet' 
> due to: java.lang.NullPointerException
> org.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:348)
> org.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:324)
> org.ofbiz.widget.ModelWidgetAction$Script.runAction(ModelWidgetAction.java:416)
> org.ofbiz.widget.ModelWidgetAction.runSubActions(ModelWidgetAction.java:116)
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:184)
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135)
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97)
> org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:864)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:581)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:337)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> java.lang.Thread.run(Thread.java:722)
> ----------------------------------------------------------------------------
> I will check it for 11_x release soon

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to