[ http://jira.magnolia.info/browse/MAGNOLIA-1615?page=comments#action_14310 
] 
            
Chris Miner commented on MAGNOLIA-1615:
---------------------------------------

The problem relates to filtering.  The filterchain contains a null entry at the 
end. This is caused by init in info.magnolia.cms.beans.config.FilterManager.  
In this method, if a filter definition can't be used to create a filter, the 
filter definition is removed from the array of filterdefinitions.  However, the 
filters array remains its original length.  resulting in NPE when other code 
iterates over this array.  for example in magnolia managed filter.

> filterChain contains null entries if filter manager fails to create filter 
> from filter definition loaded from jcr.  (leads to nullpointer exception)
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-1615
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1615
>             Project: Magnolia
>          Issue Type: Bug
>    Affects Versions: 3.0.2
>            Reporter: Chris Miner
>         Assigned To: Chris Miner
>             Fix For: 3.0.x
>
>
> Steps to reproduce
> 1. install enterprise edition modules
> 2. start up magnolia
> 3. enter license info
> 4. remove enterprise edition modules
> 5. start up magnolia
> found:  null pointer exception while trying to access application
> expected: to be able to access the repository and otherwise use magnolia 
> without the ee features.

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

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to