[ https://issues.apache.org/jira/browse/OFBIZ-5047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476081#comment-13476081 ]
Chung edited comment on OFBIZ-5047 at 10/16/12 3:06 AM: -------------------------------------------------------- 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-16 14:05:28,048 (http-bio-0.0.0.0-8443-exec-1) [ ContextFilter.java:193:INFO ] [Domain]: localhost [Request]: /webtools/control/xmldsdump [java] 2012-10-16 14:05:28,048 (http-bio-0.0.0.0-8443-exec-1) [ ControlServlet.java:140:INFO ] [[[xmldsdump(Domain:https://localhost)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] [java] 2012-10-16 14:05:28,062 (http-bio-0.0.0.0-8443-exec-1) [ 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-16 14:05:28,069 (http-bio-0.0.0.0-8443-exec-1) [ ConfigXMLReader.java:115:INFO ] controller loaded: 0.001s, 36 requests, 19 views in file:/home/chung/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml [java] 2012-10-16 14:05:28,075 (http-bio-0.0.0.0-8443-exec-1) [ ConfigXMLReader.java:115:INFO ] controller loaded: 0.0s, 25 requests, 10 views in file:/home/chung/ofbiz/framework/common/webcommon/WEB-INF/portal-controller.xml [java] 2012-10-16 14:05:28,084 (http-bio-0.0.0.0-8443-exec-1) [ ConfigXMLReader.java:115:INFO ] controller loaded: 0.002s, 30 requests, 13 views in file:/home/chung/ofbiz/framework/common/webcommon/WEB-INF/security-controller.xml [java] 2012-10-16 14:05:28,089 (http-bio-0.0.0.0-8443-exec-1) [ ConfigXMLReader.java:115:INFO ] controller loaded: 0.0s, 5 requests, 0 views in file:/home/chung/ofbiz/framework/common/webcommon/WEB-INF/tempexpr-controller.xml [java] 2012-10-16 14:05:28,093 (http-bio-0.0.0.0-8443-exec-1) [ RequestHandler.java:775:INFO ] Rendering View [xmldsdump], sessionId=6512009A04FF82222B3416E1B4961805.jvm1 [java] 2012-10-16 14:05:28,217 (http-bio-0.0.0.0-8443-exec-1) [ ScreenFactory.java:130:INFO ] Got 18 screens in 0.015s from: file:/home/chung/ofbiz/framework/webtools/widget/EntityScreens.xml [java] 2012-10-16 14:05:28,416 (http-bio-0.0.0.0-8443-exec-1) [ ScriptUtil.java:347:WARN ] [java] ---- runtime exception report -------------------------------------------------- [java] Error running script at location [component://webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy]: 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 [java] Exception: org.codehaus.groovy.runtime.typehandling.GroovyCastException [java] Message: Cannot cast object '[null]' with class 'java.util.ArrayList' to class 'java.util.TreeSet' due to: java.lang.NullPointerException [java] ---- stack trace --------------------------------------------------------------- [java] 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 [java] org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation.castToType(DefaultTypeTransformation.java:358) [java] org.codehaus.groovy.runtime.DefaultGroovyMethods.asType(DefaultGroovyMethods.java:17918) [java] org.codehaus.groovy.runtime.DefaultGroovyMethods.asType(DefaultGroovyMethods.java:8405) [java] org.codehaus.groovy.runtime.dgm$59.doMethodInvoke(Unknown Source) [java] groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1047) [java] groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:877) [java] org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:781) [java] org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:772) [java] org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:164) [java] org.codehaus.groovy.runtime.ScriptBytecodeAdapter.asType(ScriptBytecodeAdapter.java:587) [java] XmlDsDump.run(XmlDsDump.groovy:37) [java] org.ofbiz.base.util.GroovyUtil.runScriptAtLocation(GroovyUtil.java:173) [java] org.ofbiz.base.util.GroovyUtil.runScriptAtLocation(GroovyUtil.java:166) [java] org.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:342) [java] org.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:324) [java] org.ofbiz.widget.ModelWidgetAction$Script.runAction(ModelWidgetAction.java:414) [java] org.ofbiz.widget.ModelWidgetAction.runSubActions(ModelWidgetAction.java:114) [java] org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:184) [java] org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396) [java] org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:134) [java] org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:96) [java] org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104) [java] org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:877) [java] org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:591) [java] org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:621) [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:722) [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [java] org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:318) [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [java] org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) [java] org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [java] org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) [java] org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) [java] org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [java] org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [java] org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) [java] org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) [java] org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) [java] org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) [java] org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) [java] java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [java] java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [java] java.lang.Thread.run(Thread.java:722) [java] -------------------------------------------------------------------------------- [java] [java] 2012-10-16 14:05:28,416 (http-bio-0.0.0.0-8443-exec-1) [ ModelScreen.java:401:ERROR] 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]: 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. Rolling back transaction. [java] 2012-10-16 14:05:28,416 (http-bio-0.0.0.0-8443-exec-1) [ TransactionUtil.java:352:INFO ] [TransactionUtil.rollback] transaction rolled back [java] 2012-10-16 14:05:28,416 (http-bio-0.0.0.0-8443-exec-1) [ TransactionUtil.java:277:WARN ] [TransactionUtil.commit] Not committing transaction, status is No Transaction (6) [java] 2012-10-16 14:05:28,416 (http-bio-0.0.0.0-8443-exec-1) [ ControlServlet.java:223:ERROR] [java] ---- exception report ---------------------------------------------------------- [java] Error in request handler: [java] Exception: org.ofbiz.widget.screen.ScreenRenderException [java] Message: 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]: 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]: 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) [java] ---- cause --------------------------------------------------------------------- [java] Exception: java.lang.IllegalArgumentException [java] Message: Error running script at location [component://webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy]: 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 [java] ---- stack trace --------------------------------------------------------------- [java] java.lang.IllegalArgumentException: Error running script at location [component://webtools/webapp/webtools/WEB-INF/actions/entity/XmlDsDump.groovy]: 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 [java] org.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:348) [java] org.ofbiz.base.util.ScriptUtil.executeScript(ScriptUtil.java:324) [java] org.ofbiz.widget.ModelWidgetAction$Script.runAction(ModelWidgetAction.java:414) [java] org.ofbiz.widget.ModelWidgetAction.runSubActions(ModelWidgetAction.java:114) [java] org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:184) [java] org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:396) [java] org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:134) [java] org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:96) [java] org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104) [java] org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:877) [java] org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:591) [java] org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:621) [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:722) [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [java] org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:318) [java] org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [java] org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [java] org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) [java] org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [java] org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) [java] org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) [java] org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [java] org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [java] org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) [java] org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) [java] org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) [java] org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) [java] org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) [java] java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [java] java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [java] java.lang.Thread.run(Thread.java:722) [java] -------------------------------------------------------------------------------- [java] [java] 2012-10-16 14:05:28,417 (http-bio-0.0.0.0-8443-exec-1) [ ControlServlet.java:243:ERROR] An error occurred, going to the errorPage: /error/error.jsp [java] 2012-10-16 14:05:28,417 (http-bio-0.0.0.0-8443-exec-1) [ ControlServlet.java:250:ERROR] Including errorPage: /error/error.jsp [java] 2012-10-16 14:05:28,419 (http-bio-0.0.0.0-8443-exec-1) [ ServerHitBin.java:637:INFO ] Visit delegatorName=default, ServerHitBin delegatorName=default [java] 2012-10-16 14:05:28,436 (http-bio-0.0.0.0-8443-exec-1) [ ControlServlet.java:324:INFO ] [[[xmldsdump(Domain:https://localhost)] Request Done- total:0.388,since last([xmldsdump(Domain...):0.388]] [java] 2012-10-16 14:05:40,241 (OFBiz-JobQueue-0) [PersistedServiceJob.java:188:INFO ] Job [1350356712726] Id [10021] -- Next runtime: Thu Jan 01 09:59:59 EST 1970 [java] 2012-10-16 14:05:40,344 (OFBiz-JobQueue-0) [ Log.java:83 :WARN ] [PartyServices.xml#sendUpdatePersonalInfoEmailNotification line 999] No productStoreId specified. [java] 2012-10-16 14:05:40,345 (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-16 14:05:40,358 (OFBiz-JobQueue-0) [ ServiceDispatcher.java:575:INFO ] Slow sync service execution detected: service [default/sendUpdatePersonalInfoEmailNotification] finished in [113] milliseconds was (Author: aradmoney): 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