[ http://issues.apache.org/jira/browse/TAPESTRY-526?page=all ]
     
Howard M. Lewis Ship closed TAPESTRY-526:
-----------------------------------------

    Fix Version: 4.0
     Resolution: Fixed

> Tapestry throws a NPE if you try to configure an asset without an extension
> ---------------------------------------------------------------------------
>
>          Key: TAPESTRY-526
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-526
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>     Reporter: Marcus Brito
>     Assignee: Howard M. Lewis Ship
>      Fix For: 4.0
>  Attachments: extensionlessResource.patch
>
> If you try to configure an asset pointing to a resource without an extension, 
> let's say:
> <asset name="tr_curve_white" path="context:/images/tr_curve_white"/>
> Tapestry throws an NPE:
> # java.lang.String.substring(String.java:1768)
> # 
> org.apache.tapestry.web.LocalizedWebContextResourceFinder.resolve(LocalizedWebContextResourceFinder.java:49)
> # 
> org.apache.tapestry.web.WebContextResource.getLocalization(WebContextResource.java:65)

-- 
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