You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@turbine.apache.org by "Thomas Vandahl (JIRA)" <ji...@apache.org> on 2009/01/06 22:05:44 UTC

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

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

Thomas Vandahl closed TRB-8.
----------------------------


Fix is in 2.3.3-release

> Incorrect handling of a null return value
> -----------------------------------------
>
>                 Key: TRB-8
>                 URL: https://issues.apache.org/jira/browse/TRB-8
>             Project: Turbine
>          Issue Type: Bug
>          Components: Core
>    Affects 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.
-
You can reply to this email to add a comment to the issue online.