Project

General

Profile

Actions

Bug #1425

closed

Query mark without a "query" causes NullPointerException

Added by Anonymous about 17 years ago. Updated 11 months ago.

Status:
Obsolete
Priority:
Normal
Category:
mod_proxy_backend_ajp13
Target version:
ASK QUESTIONS IN Forums:
No

Description

I'm using mod_proxy_backend_ajp13 to push specific requests to a Content Management System (Magnolia) running on Tomcat5. When I add a query mark without the query (http://127.0.0.1/magnolia/page.html?) I get the following error:


ERROR  info.magnolia.cms.filters.MgnlCmsFilter MgnlCmsFilter.java(handle:158) 29.10.2007 02:40:35
java.lang.NullPointerException
        at org.apache.coyote.tomcat5.CoyoteRequest.getQueryString(CoyoteRequest.java:1992)
        at org.apache.coyote.tomcat5.CoyoteRequestFacade.getQueryString(CoyoteRequestFacade.java:481)
        at org.apache.catalina.core.ApplicationHttpRequest.setRequest(ApplicationHttpRequest.java:620)
        at org.apache.catalina.core.ApplicationHttpRequest.<init>(ApplicationHttpRequest.java:97)
        at org.apache.catalina.core.ApplicationDispatcher.wrapRequest(ApplicationDispatcher.java:987)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:383)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
        at info.magnolia.module.templating.renderers.JspTemplateRenderer.renderTemplate(JspTemplateRenderer.java:74)
        at info.magnolia.cms.filters.MgnlCmsFilter.handle(MgnlCmsFilter.java:146)
        at info.magnolia.cms.filters.MgnlCmsFilter.doFilter(MgnlCmsFilter.java:102)
        at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
        at info.magnolia.cms.cache.CacheFilter.doFilter(CacheFilter.java:96)
        at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
        at info.magnolia.cms.filters.MgnlInterceptFilter.doFilter(MgnlInterceptFilter.java:130)
        at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
        at info.magnolia.cms.filters.MgnlContextFilter.doFilter(MgnlContextFilter.java:45)
        at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
        at info.magnolia.cms.security.SecurityFilter.doFilter(SecurityFilter.java:101)
        at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
        at info.magnolia.cms.filters.MultipartRequestFilter.doFilter(MultipartRequestFilter.java:80)
        at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
        at info.magnolia.cms.filters.MgnlVirtualUriFilter.doFilter(MgnlVirtualUriFilter.java:83)
        at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
        at info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:66)
        at info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
        at info.magnolia.cms.filters.MagnoliaManagedFilter.doFilter(MagnoliaManagedFilter.java:65)

I'm not sure what's causing this error. I've ended up here because when I bypass lighty and request directly from Tomcat I can't replicate the issue. I'm using 1.5 r1922.

I'm kind of new to all this stuff so I don't really know where or how to start debugging. Any help would be great. Thanks!

-- jackson.nicolas

Actions #1

Updated by moo about 17 years ago

can u pls check the source file at CoyoteRequest.java:1992? it should be some value that is null but is deferenced a = null; a.toUpperString(); (well. i'm giving js example not java :) which mean there is some HTTP_* variable missing. can u figure out which variable is missing by reading the source? maybe QUERY_STRING?

Actions #2

Updated by stbuehler about 16 years ago

  • Status changed from New to Missing Feedback
  • Assignee deleted (jakabosky)
  • Pending changed from Yes to No
  • Patch available set to No
Actions #3

Updated by gstrauss 11 months ago

  • Status changed from Missing Feedback to Obsolete
  • ASK QUESTIONS IN Forums set to No

lighttpd 1.5.x branch has been abandoned.

lighttpd 1.4.x branch is now far more advanced and continues to be maintained.

Actions

Also available in: Atom