Are you sure that is the right line? I do not see how that would cause an exception, most probably a for loop on messages right after?
On Wed, Feb 13, 2013 at 12:04 PM, Maria Stylianou <mars...@gmail.com> wrote: > Hey, > > I am trying to run the example SimpleMasterComputeVertex, but no matter > which Input Format and graph I give, it doesn't work. Each worker gives the > error: > > Caused by: java.lang.*NullPointerException* > at > org.apache.giraph.examples.*SimpleMasterComputeVertex.compute*(SimpleMasterComputeVertex.java:*42*) > > This line 42 is the first line of the compute() > public void compute(Iterable<DoubleWritable> messages){ > > So I guess, the initialization is not done correctly, because the input > file does not have the correct format. > > Any help would be appreciated, > Thanks! > Maria > -- > Maria Stylianou > Intern at Telefonica, Barcelona, Spain > Master Student of European Master in Distributed > Computing<http://www.kth.se/en/studies/programmes/master/em/emdc> > Universitat Politècnica de Catalunya - BarcelonaTech, Barcelona, Spain > KTH Royal Institute of Technology, Stockholm, Sweden > > -- Claudio Martella claudio.marte...@gmail.com