[ 
https://issues.apache.org/jira/browse/ZEST-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14638039#comment-14638039
 ] 

Niclas Hedhman commented on ZEST-39:
------------------------------------

I suspect that the FileEntityStore ends up being "available" before the 
initialize() method has been called, during lazy instantiation of services.

I am opening up a new ticket to investigate and document the exact lifecycle of 
services, especially with respect to lazy-instantiation, activation and 
availability.

> FileEntityStoreMixin throws ArithmeticException
> -----------------------------------------------
>
>                 Key: ZEST-39
>                 URL: https://issues.apache.org/jira/browse/ZEST-39
>             Project: Zest
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Niclas Hedhman
>
> This exception is quite interesting. No idea how this was possible, but 
> happened;
> java.lang.ArithmeticException: / by zero
>       at 
> org.qi4j.entitystore.file.FileEntityStoreMixin.getDataFile(FileEntityStoreMixin.java:358)
>       at 
> org.qi4j.entitystore.file.FileEntityStoreMixin.getDataFile(FileEntityStoreMixin.java:369)



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

Reply via email to