ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre Smits (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (OFBIZ-7939) Webtools throws an error
Date Wed, 03 Aug 2016 07:37:20 GMT

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

Pierre Smits edited comment on OFBIZ-7939 at 8/3/16 7:36 AM:
-------------------------------------------------------------

Should we not create a new JIRA issue to tackle the SeoConfig configuration?

With any addition of a new and deletion of a existing website (cmssite and ecommerce store)
this needs to be adjusted, and current way (modifying SeoConfig.xml) isn't particularly flexible.


was (Author: pfm.smits):
Should we not create a new JIRA issue to tackle the SeoConfig configuration?

With any addition and deletion of a new website (cmssite and ecommerce store) this needs to
be adjusted, and current way (modifying SeoConfig.xml) isn't particularly flexible.

> 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)

Mime
View raw message