[ 
http://jira.magnolia-cms.com/browse/BLOSSOM-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=28984#action_28984
 ] 

Hudson CI server commented on BLOSSOM-5:
----------------------------------------

Integrated in !http://hudson.magnolia-cms.com/images/16x16/blue.gif! [blossom 
#3|http://hudson.magnolia-cms.com/job/blossom/3/]
     BLOSSOM-5 fixed NPE when determining type of bean, and changed detection 
methods from private to protected


> NullPointerExeption in BlossomDispatcherServlet while detecting 
> DialogFactories
> -------------------------------------------------------------------------------
>
>                 Key: BLOSSOM-5
>                 URL: http://jira.magnolia-cms.com/browse/BLOSSOM-5
>             Project: Magnolia Blossom Module
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Thomas Kalmar
>            Assignee: Tobias Mattsson
>            Priority: Critical
>             Fix For: 1.1.1
>
>
> context.getType can be null the following fixes the detectDialogFactories 
> Method
>  private void detectDialogFactories() throws RepositoryException {
>         WebApplicationContext context = getWebApplicationContext();
>         String[] beanDefinitionNames = context.getBeanDefinitionNames();
>         for (String beanDefinitionName : beanDefinitionNames) {
>             Class<?> type = context.getType(beanDefinitionName);
>             if (type!=null && type.isAnnotationPresent(DialogFactory.class)) {
>                 
> BlossomModule.getDialogRegistry().registerDialogFactory(context.getBean(beanDefinitionName));
>             }
>         }
>     }

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

        

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to