Pierre Smits created OFBIZ-7939:
----------------------------------- Summary: Webtools throws an error Key: OFBIZ-7939 URL: https://issues.apache.org/jira/browse/OFBIZ-7939 Project: OFBiz Issue Type: Bug Components: framework/webtools Affects Versions: Trunk Reporter: Pierre Smits Priority: Critical While working on OFBIZ-7016, I excluded the ecommerce component from the component-load.xml file in the special purpose folder. In a clean, up-to-date setup I executed ./gradlew cleanAll loadDefault ofbiz to start up the new setup. And the following error got thrown: {code} 2016-08-02 11:46:53,805 |0.0.0.0-startStop-1 |[/webtools] |E| StandardWrapper.Throwable java.lang.ExceptionInInitializerError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_45] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_45] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_45] at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_45] at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_45] at org.apache.ofbiz.base.util.template.FreeMarkerWorker.loadTransforms(FreeMarkerWorker.java:151) ~[ofbiz.jar:?] at org.apache.ofbiz.base.util.template.FreeMarkerWorker.makeConfiguration(FreeMarkerWorker.java:133) ~[ofbiz.jar:?] at org.apache.ofbiz.base.util.template.FreeMarkerWorker.<clinit>(FreeMarkerWorker.java:85) ~[ofbiz.jar:?] at org.apache.ofbiz.webapp.ftl.FreeMarkerViewHandler.<init>(FreeMarkerViewHandler.java:48) ~[ofbiz.jar:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_45] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_45] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_45] at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_45] at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_45] at org.apache.ofbiz.base.util.ObjectType.getInstance(ObjectType.java:159) ~[ofbiz.jar:?] at org.apache.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:49) ~[ofbiz.jar:?] at org.apache.ofbiz.webapp.control.RequestHandler.<init>(RequestHandler.java:99) ~[ofbiz.jar:?] at org.apache.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:84) ~[ofbiz.jar:?] at org.apache.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:329) ~[ofbiz.jar:?] at org.apache.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:80) ~[ofbiz.jar:?] at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1238) [tomcat-catalina-8.0.33.jar:8.0.33] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1151) [tomcat-catalina-8.0.33.jar:8.0.33] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1038) [tomcat-catalina-8.0.33.jar:8.0.33] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4996) [tomcat-catalina-8.0.33.jar:8.0.33] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285) [tomcat-catalina-8.0.33.jar:8.0.33] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) [tomcat-catalina-8.0.33.jar:8.0.33] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408) [tomcat-catalina-8.0.33.jar:8.0.33] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398) [tomcat-catalina-8.0.33.jar:8.0.33] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_45] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45] Caused by: java.lang.NullPointerException at org.apache.ofbiz.product.category.SeoConfigUtil.init(SeoConfigUtil.java:119) ~[ofbiz.jar:?] at org.apache.ofbiz.product.category.ftl.CatalogUrlSeoTransform.<clinit>(CatalogUrlSeoTransform.java:76) ~[ofbiz.jar:?] ... 32 more 2016-08-02 11:46:53,811 |0.0.0.0-startStop-1 |[/webtools] |E| Servlet [ControlServlet] in web application [/webtools] threw load() exception java.lang.NullPointerException at org.apache.ofbiz.product.category.SeoConfigUtil.init(SeoConfigUtil.java:119) ~[ofbiz.jar:?] at org.apache.ofbiz.product.category.ftl.CatalogUrlSeoTransform.<clinit>(CatalogUrlSeoTransform.java:76) ~[ofbiz.jar:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_45] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_45] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_45] at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_45] at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_45] at org.apache.ofbiz.base.util.template.FreeMarkerWorker.loadTransforms(FreeMarkerWorker.java:151) ~[ofbiz.jar:?] at org.apache.ofbiz.base.util.template.FreeMarkerWorker.makeConfiguration(FreeMarkerWorker.java:133) ~[ofbiz.jar:?] at org.apache.ofbiz.base.util.template.FreeMarkerWorker.<clinit>(FreeMarkerWorker.java:85) ~[ofbiz.jar:?] at org.apache.ofbiz.webapp.ftl.FreeMarkerViewHandler.<init>(FreeMarkerViewHandler.java:48) ~[ofbiz.jar:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_45] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_45] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_45] at java.lang.reflect.Constructor.newInstance(Constructor.java:422) ~[?:1.8.0_45] at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_45] at org.apache.ofbiz.base.util.ObjectType.getInstance(ObjectType.java:159) ~[ofbiz.jar:?] at org.apache.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:49) ~[ofbiz.jar:?] at org.apache.ofbiz.webapp.control.RequestHandler.<init>(RequestHandler.java:99) ~[ofbiz.jar:?] at org.apache.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:84) ~[ofbiz.jar:?] at org.apache.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:329) ~[ofbiz.jar:?] at org.apache.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:80) ~[ofbiz.jar:?] at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1238) ~[tomcat-catalina-8.0.33.jar:8.0.33] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1151) ~[tomcat-catalina-8.0.33.jar:8.0.33] at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1038) ~[tomcat-catalina-8.0.33.jar:8.0.33] at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4996) [tomcat-catalina-8.0.33.jar:8.0.33] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285) [tomcat-catalina-8.0.33.jar:8.0.33] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) [tomcat-catalina-8.0.33.jar:8.0.33] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408) [tomcat-catalina-8.0.33.jar:8.0.33] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398) [tomcat-catalina-8.0.33.jar:8.0.33] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_45] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45] {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) |
Free forum by Nabble | Edit this page |