Hi Carmen, Question--did you only define an arguments constructor? If so, I think you are getting this because you did not define a no-arguments constructor with public visibility. If this is not the case, I recommend posting your source code and I will be happy to help.
--John On Mon, Jun 30, 2014 at 9:38 AM, Carmen Manzulli <carmenmanzu...@gmail.com> wrote: > Hi, > > I'm trying to run a selectionComputation with my own code for > VertexInputFormat but giraph' job starts to work and then fails with: > > > > > java.lang.IllegalStateException: run: Caught an unrecoverable exception > newInstance: Couldn't instantiate sisinflab.SimpleRDFVertexInputFormat > at org.apache.giraph.graph.GraphMapper.run(GraphMapper.java:101) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:364) > at org.apache.hadoop.mapred.Child$4.run(Child.java:255) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:415) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1190) > at org.apache.hadoop.mapred.Child.main(Child.java:249) > Caused by: java.lang.IllegalStateException: newInstance: Couldn't instantiate > sisinflab.SimpleRDFVertexInputFormat > at > org.apache.giraph.utils.ReflectionUtils.newInstance(ReflectionUtils.java:105) > at > org.apache.giraph.conf.ImmutableClassesGiraphConfiguration.createVertexInputFormat(ImmutableClassesGiraphConfiguration.java:235) > at > org.apache.giraph.conf.ImmutableClassesGiraphConfiguration.createWrappedVertexInputFormat(ImmutableClassesGiraphConfiguration.java:246) > at > org.apache.giraph.graph.GraphTaskManager.checkInput(GraphTaskManager.java:171) > at > org.apache.giraph.graph.GraphTaskManager.setup(GraphTaskManager.java:207) > at org.apache.giraph.graph.GraphMapper.setup(GraphMapper.java:59) > at org.apache.giraph.graph.GraphMapper.run(GraphMapper.java:89) > ... 7 more > Caused by: java.lang.InstantiationException > at > sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48) > at java.lang.reflect.Constructor.newInstance(Constructor.java:526) > at java.lang.Class.newInstance(Class.java:374) > at > org.apache.giraph.utils.ReflectionUtils.newInstance(ReflectionUtils.java:103) > ... 13 more > > > what does it mean? where is the problem? > > Who can help me? > > Carmen > >