giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aljoscha Krettek <aljoscha.kret...@googlemail.com>
Subject Re: Exception when replacing EdgeListVertex VertexValue with my own class
Date Wed, 25 Jul 2012 06:45:03 GMT
Hi Jon
du you have a public constructor that takes no arguments? That is required
for it to work and it seems to be the problem here.

--
aljoscha

On Wed, Jul 25, 2012 at 8:27 AM, Jonathan Bishop <jbishop.rwc@gmail.com>wrote:

> Hi,
>
> I have been investigating the exception below. It happens when I attempt to replace the
vertex value class, which had been LongWritable, with a new class I am writing, MyGraphVertexValue.
>
> I am using Giraph-0.1. I have declared MyGraphVertex public so I am not sure why this
would be happening.
>
>
> Thanks,
>
> Jon
>
>
>
> java.lang.IllegalAccessException: Class org.apache.giraph.graph.BspUtils can not access
a member of class MyGraphVertexValue with modifiers ""
> 	at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95)
>
> 	at java.lang.Class.newInstance0(Class.java:366)
> 	at java.lang.Class.newInstance(Class.java:325)
> 	at org.apache.giraph.graph.BspUtils.createVertexValue(BspUtils.java:379)
>
>

Mime
View raw message