Grph is not really serializable

106 views
Skip to first unread message

Masoud Kiaeeha

unread,
Aug 12, 2015, 4:11:57 AM8/12/15
to Grph: High Performance Graph Library for Java
Hi,

I am trying to serialize a class which contains a member field of type Grph. When I try to serialize the class an exception is thrown because Grph contains some field(s) of type com.carrotsearch.hppc.Bitset and this class is not serializable!

So regarding the fact that Grph implements the interface Serializable, you should be aware that in fact it can not be serialized.

--
Masoud

Luc Hogie

unread,
Jun 10, 2016, 9:45:29 AM6/10/16
to Masoud Kiaeeha, Grph: High Performance Graph Library for Java
Hi Masoud,

Sorry for the late answer. I'm currently looking at this.

Luc


--
You received this message because you are subscribed to the Google Groups "Grph: High Performance Graph Library for Java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grph-high-performance-gr...@googlegroups.com.
To post to this group, send an email to grph-high-performa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Luc Hogie 

Phone: 06 80 91 40 71

Skype: luchogie


"Je suis heureux parce que c'est bon pour la santé" Voltaire


frederic...@gmail.com

unread,
Jun 21, 2017, 10:40:42 AM6/21/17
to Grph: High Performance Graph Library for Java, masoud....@gmail.com
Hi,
Did you implement the serialization of InMemoryGrpah in version 1.10.2 ?
cheers
Fred

Luc Hogie

unread,
Jul 20, 2017, 12:25:32 PM7/20/17
to frederic...@gmail.com, Grph: High Performance Graph Library for Java, Masoud Kiaeeha
Ih Frederic,

Serialization is available in version 1.10.5.

Best,
Luc.

On Wed, Jun 21, 2017 at 4:40 PM, <frederic...@gmail.com> wrote:
Hi,
Did you implement the serialization of InMemoryGrpah in version 1.10.2 ?
cheers
Fred

On Friday, June 10, 2016 at 3:45:29 PM UTC+2, Luc Hogie wrote:
> Hi Masoud,
>
> Sorry for the late answer. I'm currently looking at this.
>
> Luc
>
>
>
> On Wed, Aug 12, 2015 at 10:11 AM, Masoud Kiaeeha <masoud....@gmail.com> wrote:
> Hi,
>
>
>
> I am trying to serialize a class which contains a member field of type Grph. When I try to serialize the class an exception is thrown because Grph contains some field(s) of type com.carrotsearch.hppc.Bitset and this class is not serializable!
>
>
>
> So regarding the fact that Grph implements the interface Serializable, you should be aware that in fact it can not be serialized.
>
>
>
> --
>
> Masoud
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "Grph: High Performance Graph Library for Java" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to grph-high-performance-graphs-for-java+unsubscribe@googlegroups.com.
>
> To post to this group, send an email to grph-high-performance-graphs-for-...@googlegroups.com.

>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
>
>
>
> Luc Hogie 
>
> Phone: 06 80 91 40 71
>
>
> Skype: luchogie
>
>
>
>
> "Je suis heureux parce que c'est bon pour la santé" Voltaire
--
You received this message because you are subscribed to the Google Groups "Grph: High Performance Graph Library for Java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grph-high-performance-graphs-for-java+unsubscribe@googlegroups.com.
To post to this group, send an email to grph-high-performance-graphs-for-...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Luc Hogie

unread,
Nov 8, 2017, 5:08:40 AM11/8/17
to Grph: High Performance Graph Library for Java
The recent migration to Fastutil allows better serialization.
Reply all
Reply to author
Forward
0 new messages