[seam-issues] [JBoss JIRA] Commented: (JBSEAM-3770) MockHttpServletRequest.getHeaders(String) breaks for nonexistent headers

Marek Novotny (JIRA) jira-events at lists.jboss.org
Fri Dec 17 09:24:19 EST 2010


    [ https://issues.jboss.org/browse/JBSEAM-3770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571019#comment-12571019 ] 

Marek Novotny commented on JBSEAM-3770:
---------------------------------------

The fix caused weird NPE more in http://seamframework.org/Community/Seam221SNAPSHOTUpdateQuestion

> MockHttpServletRequest.getHeaders(String) breaks for nonexistent headers
> ------------------------------------------------------------------------
>
>                 Key: JBSEAM-3770
>                 URL: https://issues.jboss.org/browse/JBSEAM-3770
>             Project: Seam
>          Issue Type: Bug
>          Components: Test Harness
>    Affects Versions: 2.0.3.CR1, 2.1.1.CR1
>            Reporter: Matt Drees
>            Assignee: Marek Novotny
>            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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list