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

Michael Dürig resolved OAK-4925.
--------------------------------
    Resolution: Fixed

Fixed at http://svn.apache.org/viewvc?rev=1764299&view=rev

> Don't call @Nonnull TypeEditor.getEffective() from constructor
> --------------------------------------------------------------
>
>                 Key: OAK-4925
>                 URL: https://issues.apache.org/jira/browse/OAK-4925
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 1.5.13
>
>
> {{TypeEditor.getEffective()}} is declared {{@Nonnull}}. However when called 
> from within the constructor and before its underlying field {{effective}} is 
> initialised in actually *does* return {{null}}. The fix would be to avoid 
> calling this method from the constructor. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to