You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Freedman (JIRA)" <de...@myfaces.apache.org> on 2009/05/21 01:05:45 UTC

[jira] Resolved: (PORTLETBRIDGE-75) ExternalContext.getPathfromRelatevePath throws NullPointException if paths aren't computed yet.

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

Michael Freedman resolved PORTLETBRIDGE-75.
-------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.0.0

> ExternalContext.getPathfromRelatevePath throws NullPointException if paths aren't computed yet.
> -----------------------------------------------------------------------------------------------
>
>                 Key: PORTLETBRIDGE-75
>                 URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-75
>             Project: MyFaces Portlet Bridge
>          Issue Type: Bug
>    Affects Versions: 1.0.0-beta, 2.0.0-alpha
>            Reporter: Michael Freedman
>            Assignee: Michael Freedman
>             Fix For: 1.0.0, 2.0.0
>
>
> We ran into a situation where the paths hadn't been computed yet (this is deferred until someone calls getrequestPathInfo or ServletPath), but the getPathFromrelativePath code was called -- as it referenced the internal data members which are null -- we get the exception.  Instead this method should call the above methods.

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