https://issues.apache.org/bugzilla/show_bug.cgi?id=53958
--- Comment #11 from Sean Owen ---
One last post with good news -- this *does* work:
Tomcat.addServlet(context, "error_jspx", new error_jspx());
context.addServletMapping("/error.jspx", "error_jspx");
This doesn't, which was my or
https://issues.apache.org/bugzilla/show_bug.cgi?id=53958
--- Comment #10 from Sean Owen ---
It is the exact code I'm testing, of course. I even copied it back from the
attachment. I don't know what could be different between the two setups.
The change you suggested was actually already implement
https://issues.apache.org/bugzilla/show_bug.cgi?id=53958
--- Comment #9 from Mark Thomas ---
(In reply to comment #7)
> Thank you, though with that change it still shows the same behavior. The
> error page itself is fine, and serves if you access it directly. This
> exception occurs if you trigge
https://issues.apache.org/bugzilla/show_bug.cgi?id=53958
--- Comment #8 from Sean Owen ---
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"
https://issues.apache.org/bugzilla/show_bug.cgi?id=53958
--- Comment #7 from Sean Owen ---
Thank you, though with that change it still shows the same behavior. The error
page itself is fine, and serves if you access it directly. This exception
occurs if you trigger a 404 by navigating to a non-ex
https://issues.apache.org/bugzilla/show_bug.cgi?id=53958
Mark Thomas changed:
What|Removed |Added
Status|NEEDINFO|RESOLVED
Resolution|---
https://issues.apache.org/bugzilla/show_bug.cgi?id=53958
--- Comment #5 from Sean Owen ---
Try running Test.java, then browse to "http://localhost:8080/foo"; and see the
NullPointerException.
I've looked at the examples in test/, and looked at this code, and don't see
anything being done wrongly
https://issues.apache.org/bugzilla/show_bug.cgi?id=53958
--- Comment #4 from Sean Owen ---
Created attachment 29442
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29442&action=edit
Accompanying error jspx
--
You are receiving this mail because:
You are the assignee for the bug.
---
https://issues.apache.org/bugzilla/show_bug.cgi?id=53958
--- Comment #3 from Sean Owen ---
Created attachment 29441
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29441&action=edit
Test program showing NPE error
This is a (pretty) minimal example that reproduces the issue describe he
https://issues.apache.org/bugzilla/show_bug.cgi?id=53958
--- Comment #2 from Sean Owen ---
Will do -- I will try to reduce this to a minimal test case. I already caught
that maybe the context needs to be "" instead of "/", but that didn't change
behavior.
--
You are receiving this mail because:
https://issues.apache.org/bugzilla/show_bug.cgi?id=53958
Konstantin Kolinko changed:
What|Removed |Added
Status|NEW |NEEDINFO
OS|
11 matches
Mail list logo