Thanks Aljoscha, That was the issue - I had the constructor but it was private!
Jon On Tue, Jul 24, 2012 at 11:45 PM, Aljoscha Krettek < aljoscha.kret...@googlemail.com> wrote: > 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....@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) >> >> >