Jahia Dev Forum > Unable to access...

0 (0 Good)
0 (0 Bad)

Unable to access Java Action: 'ERROR [http-8080-1] org.jahia.bin.errors.ErrorLoggingFilter: '

by  rali »  2013/12/02 20:30

so I'm running into this problem. 
 
I have a JSP that submits to FormDownloadAction.do; ultimately this will download a PDF that I created using Java. Below I have snppets of codes and errors (jsp, cnd, error)
The Problem is that I am not hitting the actual Java file!!!
 
JSP calling the Java file 
  <form id="form" method="get" action="${url.base}${currentNode.path}.FormDownloadAction.do">
                    <a class="form-link" number="${form.FORMNUMBER}" target="_blank">
                        ${form.FORMNAME}
                    </a>
    </form>
CND file (fyi)
[rha:appsFormsSearchResults] > jmix:rasheedComplex, jnt:content
 - linkText (string)
 - searchLink (weakreference, picker[type='page'])
Error Message 
2013-12-02 14:51:42,362: INFO  [http-8080-1] org.jahia.bin.Render: Rendered [/cms/render/default/en/sites/rasheed/home/sales/apps--forms/apps--forms-results/pageContent/predefined--rows-responsive/predefined--rows-responsive-col1/apps-form-search-results.FormDownloadAction.do] user=[root] ip=[127.0.0.1] sessionID=[7F90AB03F953342A913F6EBFB6A57B2D] in [0ms]
2013-12-02 14:51:42,362: ERROR [http-8080-1] org.jahia.bin.errors.ErrorLoggingFilter: 
java.lang.NullPointerException
at org.jahia.bin.Render.doAction(Render.java:945)
at org.jahia.bin.Render.handleRequest(Render.java:776)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
at org.jahia.services.seo.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:122)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jahia.bin.filters.jcr.JcrSessionFilter.doFilter(JcrSessionFilter.java:104)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jahia.bin.filters.spnego.SpnegoHttpFilter.doFilter(SpnegoHttpFilter.java:104)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:359)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:275)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:272)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jahia.security.license.LicenseFilter.doFilter(LicenseFilter.java:65)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jahia.bin.filters.MaintenanceFilter.doFilter(MaintenanceFilter.java:92)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
 
  • Unable to access Java Action: 'ERROR [http-8080-1] org.jahia.bin.errors.ErrorLoggingFilter: '
    2013/12/02 20:30

    rali <div> so I&#39;m running into this problem.&nbsp;</div> <div> &nbsp;</div> <div> I have a JSP that submits to FormDownloadAction.do; ultimately this will download a PDF that I created using Java. Below I have snppets of codes and errors (jsp, cnd, error)</div> <div> <u><em><strong>The Problem is that I am not hitting the actual Java file!!!</strong></em></u></div> <div> &nbsp;</div> <div> <u>JSP calling the Java file&nbsp;</u></div> <blockquote> <div> <div> &nbsp; &lt;form id=&quot;form&quot; method=&quot;get&quot; action=&quot;${url.base}${currentNode.path}.FormDownloadAction.do&quot;&gt;</div> <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;a class=&quot;form-link&quot; number=&quot;${form.FORMNUMBER}&quot; target=&quot;_blank&quot;&gt;</div> <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ${form.FORMNAME}</div> <div> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/a&gt;</div> <div> &nbsp; &nbsp; &lt;/form&gt;</div> </div> </blockquote> <div> <u>CND file (fyi)</u></div> <div> <blockquote> <div> [rha:appsFormsSearchResults] &gt; jmix:rasheedComplex, jnt:content</div> <div> &nbsp;- linkText (string)</div> <div> &nbsp;- searchLink (weakreference, picker[type=&#39;page&#39;])</div> </blockquote> <div> <u>Error Message&nbsp;</u></div> </div> <blockquote> <div> 2013-12-02 14:51:42,362: INFO &nbsp;[http-8080-1] org.jahia.bin.Render: Rendered [/cms/render/default/en/sites/rasheed/home/sales/apps--forms/apps--forms-results/pageContent/predefined--rows-responsive/predefined--rows-responsive-col1/apps-form-search-results.FormDownloadAction.do] user=[root] ip=[127.0.0.1] sessionID=[7F90AB03F953342A913F6EBFB6A57B2D] in [0ms]</div> <div> <strong>2013-12-02 14:51:42,362: ERROR [http-8080-1] org.jahia.bin.errors.ErrorLoggingFilter:&nbsp;</strong></div> <div> <strong>java.lang.NullPointerException</strong></div> <div> <strong>at org.jahia.bin.Render.doAction(Render.java:945)</strong></div> <div> at org.jahia.bin.Render.handleRequest(Render.java:776)</div> <div> at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)</div> <div> at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)</div> <div> at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)</div> <div> at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)</div> <div> at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)</div> <div> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)</div> <div> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</div> <div> at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)</div> <div> at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)</div> <div> at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)</div> <div> at org.jahia.services.seo.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:122)</div> <div> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)</div> <div> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</div> <div> at org.jahia.bin.filters.jcr.JcrSessionFilter.doFilter(JcrSessionFilter.java:104)</div> <div> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)</div> <div> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</div> <div> at org.jahia.bin.filters.spnego.SpnegoHttpFilter.doFilter(SpnegoHttpFilter.java:104)</div> <div> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)</div> <div> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</div> <div> at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:359)</div> <div> at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:275)</div> <div> at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)</div> <div> at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)</div> <div> at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:344)</div> <div> at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:272)</div> <div> at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:81)</div> <div> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)</div> <div> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</div> <div> at org.jahia.security.license.LicenseFilter.doFilter(LicenseFilter.java:65)</div> <div> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)</div> <div> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</div> <div> at org.jahia.bin.filters.MaintenanceFilter.doFilter(MaintenanceFilter.java:92)</div> <div> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)</div> <div> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</div> <div> at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)</div> <div> at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)</div> <div> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</div> <div> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)</div> <div> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)</div> <div> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)</div> <div> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)</div> <div> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)</div> <div> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)</div> <div> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)</div> <div> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)</div> <div> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)</div> <div> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)</div> <div> at java.lang.Thread.run(Thread.java:662)</div> </blockquote> <div> &nbsp;</div>

  • Number of messages  8
    Registration date Dec 2, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: Unable to access Java Action: 'ERROR [http-8080-1] org.jahia.bin.errors.ErrorLoggingFilter: '

    by  shuber »  2013/12/08 14:31

    Hello,

    Which version of Jahia are you using ? 

    Also I noticed that you are using the form GET method instead of POST, is that really necessary ? Usually actions are designed to be called using the GET HTTP method.

    Best regards,

      Serge Huber.

    Serge Huber (shuber)

    Number of messages  271
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page