Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.1.26
-
Fix Version/s: None
-
Component/s: HTTP
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
When Jetty throws an java.lang.IllegalStateException("Form too large") from the extractParameters() method in the Request class, the Request instance is left in an inconsistent state. In particular, the _paramsExtracted is set to true, but the _parameters can be null. This leads to a NPE when invoking e.g. the Request.getParameterNames() method, which is how I found the problem.
Easy to fix, patch included.
Activity
Jan Bartel
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
I think this is the same as https://bugs.eclipse.org/bugs/show_bug.cgi?id=353267.
So I've fixed it the same way.
Feel free to checkout jetty-6 head, build it and try it out.
thanks
Jan