[
https://issues.apache.org/jira/browse/IGNITE-2422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denis Magda updated IGNITE-2422:
--------------------------------
Description:
Presently it's possible to serialize {{BinaryObjectBuilder}} but it will lead
to the errors at deserialization stage.
After a brief investigation I see that this happens because neither
{{org.apache.ignite.binary.BinaryObjectBuilder}} nor
{{org.apache.ignite.internal.binary.builder.BinaryObjectBuilderImpl}} presents
in {{META-INF/classnames.properties}} file.
was:
Presently it's possible to serialize {{BinaryObjectBuilder}} but it will lead
to the errors at deserialization stage.
We have to prevent serialization of the builder throwing a meaningful exception.
Run an example from attach and you will see an exception that is caused by the
serialization/deserialization of the builder.
> Unable to deserialize BinaryObjectBuilder
> -----------------------------------------
>
> Key: IGNITE-2422
> URL: https://issues.apache.org/jira/browse/IGNITE-2422
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 1.5.0.final
> Reporter: Denis Magda
> Assignee: Maksim Kozlov
> Labels: important
> Fix For: 2.0
>
> Attachments: ExampleNodeStartup.java
>
>
> Presently it's possible to serialize {{BinaryObjectBuilder}} but it will lead
> to the errors at deserialization stage.
> After a brief investigation I see that this happens because neither
> {{org.apache.ignite.binary.BinaryObjectBuilder}} nor
> {{org.apache.ignite.internal.binary.builder.BinaryObjectBuilderImpl}}
> presents in {{META-INF/classnames.properties}} file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)