[
https://issues.apache.org/jira/browse/SHIRO-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16623746#comment-16623746
]
Bas Ven edited comment on SHIRO-610 at 9/21/18 3:17 PM:
--------------------------------------------------------
Upgrading from 1.2.4 to 1.4.0 gives me a null pointer exception at:
Factory<FilterChainResolver> factory = (Factory<FilterChainResolver>)
this.objects.get(FILTER_CHAIN_RESOLVER_NAME);
In IniWebEnvironment. Our shiro.ini file has no entry for a default chain
resolver.
Upgrading to 1.3.2 does not give the NPE.
was (Author: basven):
Upgrading from 1.2.4 to 1.4.0 gives me a null pointer exception at:
Factory<FilterChainResolver> factory = (Factory<FilterChainResolver>)
this.objects.get(FILTER_CHAIN_RESOLVER_NAME);
In IniWebEnvironment. Our shiro.ini file has no entry for a default chain
resolver.
Upgrading to 1.3.2 does have one.
> Incorrect filterchainResolver in 1.4.0-RC2
> ------------------------------------------
>
> Key: SHIRO-610
> URL: https://issues.apache.org/jira/browse/SHIRO-610
> Project: Shiro
> Issue Type: Bug
> Affects Versions: 1.4.0-RC2
> Reporter: John D. Ament
> Priority: Major
>
> Caused by: org.apache.shiro.env.RequiredTypeException: Object named
> 'filterChainResolver' is not of required type
> [org.apache.shiro.web.filter.mgt.FilterChainResolver]
> This happens OOTB when using DefaultWebEnvironment. The actual type is a
> IniFilterChainResolverFactory
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)