[jira] [Commented] (OFBIZ-9837) The online help is broken

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-9837) The online help is broken

JIRA jira@apache.org

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

Jacques Le Roux commented on OFBIZ-9837:
----------------------------------------

OK, this is quite weird.
# To render the online help relies on the FlatGrey theme (considered as default). Actually it needs the flatgrey/webapp/flatgrey/docbook.css file
# despite being *visibly* loaded (in log) with _gradlew loadAll_ the data in *ThemeData.xml are not loaded but
bq. FLAT_GREY VT_NAME 01 FLAT_GREY
# If you import the whole data of one of the *ThemeData.xml files manually it seems to work but the data are not loaded
# If you import one line of one of the *ThemeData.xml files manually it's *really* loaded

So if you manually import
bq. <VisualThemeResource visualThemeId="FLAT_GREY" resourceTypeEnumId="VT_DOCBOOKSTYLESHEET" resourceValue="/flatgrey/webapp/flatgrey/docbook.css" sequenceId="01"/>
the online help works again.

I suspect it was broken with the creation of the common-theme, but why data are not *really* loaded but line by line is very strange to me

> The online help is broken
> -------------------------
>
>                 Key: OFBIZ-9837
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-9837
>             Project: OFBiz
>          Issue Type: Bug
>          Components: cmssite
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>
> When you get to cmssite/cms/APACHE_OFBIZ_HTML in trunk HEAD you get this error
> ERROR in error page, (infinite loop or error page not found with name [/error/error.jsp]), but here is the text just in case it helps you: java.lang.StackOverflowError
> and here is a summary of the log
> {code}
> 2017-10-10 18:16:50,150 |jsse-nio-8443-exec-4 |RequestHandler                |E| Request cms caused an error with the following message: Erreur lors de l'appel de l'événement: org.apache.ofbiz.webapp.event.EventHandlerException: Problems processing event: java.lang.NullPointerException (null)
> 2017-10-10 18:16:50,187 |jsse-nio-8443-exec-4 |JavaEventHandler              |E| Problems Processing Event
> java.lang.StackOverflowError
> at org.apache.catalina.core.ApplicationHttpRequest$AttributeNamesEnumerator.nextElement(ApplicationHttpRequest.java:976) ~[tomcat-catalina-8.5.23.jar:8.5.23]
> at org.apache.catalina.core.ApplicationHttpRequest$AttributeNamesEnumerator.nextElement(ApplicationHttpRequest.java:939) ~[tomcat-catalina-8.5.23.jar:8.5.23]
> ....
> at org.apache.ofbiz.base.util.UtilHttp.getAttributeMap(UtilHttp.java:313) ~[ofbiz.jar:?]
> at org.apache.ofbiz.base.util.UtilHttp.getAttributeMap(UtilHttp.java:301) ~[ofbiz.jar:?]
> at org.apache.ofbiz.base.util.UtilHttp.getCombinedMap(UtilHttp.java:104) ~[ofbiz.jar:?]
> at org.apache.ofbiz.widget.renderer.ScreenRenderer.populateContextForRequest(ScreenRenderer.java:198) ~[ofbiz.jar:?]
> at org.apache.ofbiz.content.cms.CmsEvents.cms(CmsEvents.java:280) ~[ofbiz.jar:?]
> at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source) ~[?:?]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_112]
> at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_112]
> at org.apache.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:100) ~[ofbiz.jar:?]
> at org.apache.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:80) ~[ofbiz.jar:?]
> at org.apache.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:730) ~[ofbiz.jar:?]
> at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:454) ~[ofbiz.jar:?]
> at org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:212) ~[ofbiz.jar:?]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) ~[javax.servlet-api-3.1.0.jar:3.1.0]
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[javax.servlet-api-3.1.0.jar:3.1.0]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) ~[tomcat-catalina-8.5.23.jar:8.5.23]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) ~[tomcat-catalina-8.5.23.jar:8.5.23]
> at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:728) ~[tomcat-catalina-8.5.23.jar:8.5.23]
> at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590) ~[tomcat-catalina-8.5.23.jar:8.5.23]
> at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:524) ~[tomcat-catalina-8.5.23.jar:8.5.23]
> at org.apache.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:78) ~[ofbiz.jar:?]
> at org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:985) ~[ofbiz.jar:?]
> at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:646) ~[ofbiz.jar:?]
> at org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:212) ~[ofbiz.jar:?]
> ...
> 2017-10-10 18:16:50,194 |jsse-nio-8443-exec-4 |RequestHandler                |E| Request cms caused an error with the following message: Erreur lors de l'appel de l'�v�nement: org.apache.ofbiz.webapp.event.EventHandlerException: Problems processing event: java.lang.StackOverflowError (null)
> 2017-10-10 18:16:50,223 |jsse-nio-8443-exec-4 |JspViewHandler                |E| ServletException rendering JSP view
> java.lang.StackOverflowError
> at org.apache.catalina.core.ApplicationHttpRequest$AttributeNamesEnumerator.nextElement(ApplicationHttpRequest.java:939) ~[tomcat-catalina-8.5.23.jar:8.5.23]
> at org.apache.catalina.core.ApplicationHttpRequest$AttributeNamesEnumerator.findNext(ApplicationHttpRequest.java:986) ~[tomcat-catalina-8.5.23.jar:8.5.23]
> {code}
> When you get to cmssite/cms/APACHE_OFBIZ_HTML in stable demo (R16) you get this error
> This website is under maintenancePage. Please try after some time.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)