https://issues.apache.org/bugzilla/show_bug.cgi?id=53958

--- Comment #8 from Sean Owen <sro...@gmail.com> ---
PS I don't know if any of the rest of this is useful, or rings a bell, but:

I updated to 7.0.32 just to make sure that wasn't the issue. Same thing.

The issue is that a RequestDispatcher to "/error.jspx" is null. Ultimately that
comes from this bit of ApplicationContext.getRequestDispatcher(String):

            context.getMapper().map(uriMB, mappingData);
            if (mappingData.wrapper == null) {
                return (null);
            }

When it goes to find /error.jspx, in map(), it doesn't seem to find it where
maybe it is intended to? In Mapper...

        // Rule 1 -- Exact Match
        Wrapper[] exactWrappers = contextVersion.exactWrappers;
        internalMapExactWrapper(exactWrappers, path, mappingData);

... doesn't find it. But it should match on the exact path /error.jspx.

I'm not sure whether it still just incorrect use of embedded Tomcat. Anything
at all that causes it to work is fine by me -- different ordering of calls or
whatever.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to