| Anonymous | Login | Signup for a new account | 11-17-2025 19:43 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0004410 | [Resin] | major | always | 02-25-11 12:49 | 02-28-11 15:27 | ||||
| Reporter | brandonkearby | View Status | public | ||||||
| Assigned To | ferg | ||||||||
| Priority | normal | Resolution | fixed | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 4.0.16 | Product Version | 4.0.15 | ||||
| Product Build | |||||||||
| Summary | 0004410: NPE in AbstractHttpResponse.fillCookies | ||||||||
| Description | When the cookie value is null an NPE is thrown. See additional info for the fix. | ||||||||
| Steps To Reproduce | |||||||||
| Additional Information |
Subversion is a tool for version control. For additional information, see http://subversion.tigris.org/ [^] brandonmac:trunk brandon$ svn diff Index: modules/resin/src/com/caucho/server/http/AbstractHttpResponse.java =================================================================== --- modules/resin/src/com/caucho/server/http/AbstractHttpResponse.java (revision 7912) +++ modules/resin/src/com/caucho/server/http/AbstractHttpResponse.java (working copy) @@ -844,7 +844,7 @@ else { cb.append("="); String v = cookie.getValue(); - int len = v.length(); + int len = v == null ? 0 : v.length(); for (int i = 0; i < len; i++) { char ch = v.charAt(i); |
||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 26 unique queries executed. |