beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlin Rogers (JIRA)" <>
Subject [jira] Created: (BEEHIVE-1182) NPE in ScopedResponseImpl.getFirstHeader()
Date Tue, 06 Mar 2007 20:26:24 GMT
NPE in ScopedResponseImpl.getFirstHeader()

                 Key: BEEHIVE-1182
             Project: Beehive
          Issue Type: Bug
          Components: NetUI
    Affects Versions: 1.0.2, 1.0.1, 1.0
            Reporter: Carlin Rogers
         Assigned To: Carlin Rogers
             Fix For: V.Next

Passing a name of a header that does not exist in to the getFirstHeader() method implemented
in ScopedResponseImpl will throw a NullPointerException.

Looks like ScopedResponseImpl.getFirstHeader() checks to see if the List of headers for a
given name is empty but does not first check that the List is not null.

Found this while creating a junit test for ScopedResponse.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message