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
    Priority: Minor


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to