MockHttpServletRequest.getHeaders(String) breaks for nonexistent headers
------------------------------------------------------------------------
Key: JBSEAM-3770
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3770
Project: Seam
Issue Type: Bug
Components: Test Harness
Affects Versions: 2.1.1.CR1, 2.0.3.CR1
Reporter: Matt Drees
Assignee: Matt Drees
Priority: Minor
Checked against 2.0.3.CR1
java.lang.NullPointerException
at java.util.Arrays$ArrayList.<init>(Arrays.java:3357)
at java.util.Arrays.asList(Arrays.java:3343)
at
org.jboss.seam.mock.MockHttpServletRequest.getHeaders(MockHttpServletRequest.java:100)
at
org.uscm.crs.filter.MojarraBugWorkaroundFilter.doFilter(MojarraBugWorkaroundFilter.java:60)
...
I didn't check against trunk, but from a glance over the source code, it looks like
it'll break there too.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira