[ https://issues.apache.org/jira/browse/GIRAPH-644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13640687#comment-13640687 ]
Maria Stylianou commented on GIRAPH-644: ---------------------------------------- So, I created a VertexValueFactory as you said, but I get the following exception: Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:604) at java.util.ArrayList.get(ArrayList.java:382) at org.apache.giraph.job.GiraphConfigurationValidator.verifyVertexValueFactoryGenericTypes(GiraphConfigurationValidator.java:349) at org.apache.giraph.job.GiraphConfigurationValidator.validateConfiguration(GiraphConfigurationValidator.java:127) at org.apache.giraph.utils.ConfigurationUtils.parseArgs(ConfigurationUtils.java:154) at org.apache.giraph.GiraphRunner.run(GiraphRunner.java:74) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) at org.apache.giraph.GiraphRunner.main(GiraphRunner.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.apache.hadoop.util.RunJar.main(RunJar.java:156) > In the SimpleShortestPathVertex, vertex values get not initialized with edge > list input format > ----------------------------------------------------------------------------------------------- > > Key: GIRAPH-644 > URL: https://issues.apache.org/jira/browse/GIRAPH-644 > Project: Giraph > Issue Type: Bug > Components: examples > Reporter: Maria Stylianou > Priority: Trivial > Attachments: GIRAPH-644.diff, GIRAPH-644.diff > > > Vertices that get created by receiving a message (and not created on > superstep 0) do not get the value initialized by MAX_VALUE. > This happens when the vertex is not given on the first column in the input > file. This means that the vertex is not created at the beginning but only > when it receives a message, hence the initialization call is not executed and > the vertex value is set to 0. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira