You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by "Scott Eade (JIRA)" <ji...@apache.org> on 2006/06/26 03:12:30 UTC

[jira] Resolved: (TRB-8) Incorrect handling of a null return value

     [ http://issues.apache.org/jira/browse/TRB-8?page=all ]
     
Scott Eade resolved TRB-8:
--------------------------

    Resolution: Fixed
     Assign To: Scott Eade

Patch committed.

Thanks.

> Incorrect handling of a null return value
> -----------------------------------------
>
>          Key: TRB-8
>          URL: http://issues.apache.org/jira/browse/TRB-8
>      Project: Turbine
>         Type: Bug

>   Components: Core
>     Versions: Core 2.3.2
>     Reporter: Gunther Olesch
>     Assignee: Scott Eade
>     Priority: Minor
>  Attachments: npe_patch.txt, npe_patch.txt, test-TRB-8.txt
>
> I have found a bug within turbine 2.3.2 which results in a NullPointer to be thrown within TemplateURI Line 274. 
> I found the Bug because I used $link.addPathInfo($data.getParameters()) which takes all keys within the request, and adds the Keys and their values to the link. The Problem is within getStrings(String key) which returns null of no values are found. TemplateURI does not check the return value for null. I have a patch ready.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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