Exception thrown when deserializing immutable property + constraints.
---------------------------------------------------------------------

                 Key: QI-137
                 URL: http://issues.ops4j.org/jira/browse/QI-137
             Project: Qi4j
          Issue Type: Bug
            Reporter: Edward Yakop
            Assignee: Rickard Öberg
            Priority: Critical



Test case:
org.qi4j.spi.serialization.CompositeSerializationTest#testDeserialization()
Remove @Ignore to run the test.

It seems the problem lies on:
CompositeInputStream line 61:
           Composite composite = builder.newInstance();
           ( (Qi4jSPI) is ).setMixins( composite, mixins );

We need to initialize composite state before invoking #newInstance()

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

       

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to