# java.lang.ArrayIndexOutOfBoundsException: 3 The shortest distance from B to C is 2.449489742783178 The shortest distance from B to C is 2.03100960115899 Hence, Shortest Point from Point A is to B The shortest distance from B to C is 2.449489742783178 The shortest distance from B to C is 2.03100960115899 Hence, Shortest Point from Point B is to C

### Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

## Recommended solutions based on your search

### Solutions on the web

via Stack Overflow by 1337

, 1 year ago`java.lang.ArrayIndexOutOfBoundsException: 3 The shortest distance from B to C is 2.449489742783178 The shortest distance from B to C is 2.03100960115899 Hence, Shortest Point from Point A is to B The shortest distance from B to C is 2.449489742783178 The shortest distance from B to C is 2.03100960115899 Hence, Shortest Point from Point B is to C`

`at TravellingSalesmanProblem.main(TravellingSalesmanProblem.java:197)`