seqcode/chromosom

Java view error

Opened this issue · 0 comments

Hi,
I successfully created SOM using my hi-c data but I can't use view tool to visualize it. When I try, I get:

Exception in thread "main" java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
	at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
	at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
	at java.base/java.util.Objects.checkIndex(Objects.java:372)
	at java.base/java.util.ArrayList.get(ArrayList.java:459)
	at org.seqcode.projects.chromosom.DrawHex.<init>(DrawHex.java:66)
	at org.seqcode.projects.chromosom.SOMViewer.drawGrid(SOMViewer.java:105)
	at org.seqcode.projects.chromosom.SOMViewer.initViewer(SOMViewer.java:63)
	at org.seqcode.projects.chromosom.ChromoSOM.view(ChromoSOM.java:185)
	at org.seqcode.projects.chromosom.ChromoSOM.<init>(ChromoSOM.java:94)
	at org.seqcode.projects.chromosom.ChromoSOM.main(ChromoSOM.java:170)

I am completely unfamiliar with Java so I have no idea what does it mean.

I am using
openjdk 11.0.9.1 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.18.04)
OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.18.04, mixed mode, sharing)