axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (AXIS2-3285) NullpointerException in AbstractHTTPHeader
Date Mon, 12 Nov 2007 18:01:51 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Deepal Jayasinghe reassigned AXIS2-3285:
----------------------------------------

    Assignee: Deepal Jayasinghe

> NullpointerException in AbstractHTTPHeader
> ------------------------------------------
>
>                 Key: AXIS2-3285
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3285
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.3
>         Environment: Windows 32, Java 1.5_11
>            Reporter: Martin Genhart
>            Assignee: Deepal Jayasinghe
>         Attachments: AbstractHTTPSender.java
>
>
> The nullpointer happens in the following method if a cookie does not have any parameters:
>     private String processCookieHeader(HeaderElement element) {
>         String cookie = element.getName() + "=" + element.getValue();
>         NameValuePair[] parameters =  element.getParameters();
>         for (int j = 0; j < parameters.length; j++) {
>             NameValuePair parameter = parameters[j];
>             cookie = cookie + "; " + parameter.getName() + "=" + parameter.getValue();
>         }
>         return cookie;
>     }

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message