Skip to content

info: Tile Report fails if GOL is empty #91

@clarisma

Description

@clarisma
  • Run gol info -t on empty gol:

Internal error: Index: 1 Size: 1
java.lang.IndexOutOfBoundsException: Index: 1 Size: 1
at org.eclipse.collections.impl.list.mutable.primitive.LongArrayList.newIndexOutOfBoundsException(LongArrayList.java:137)
at org.eclipse.collections.impl.list.mutable.primitive.LongArrayList.get(LongArrayList.java:132)
at com.geodesk.gol.info.TileReport.createReport(TileReport.java:148)
at com.geodesk.gol.info.TileReport.(TileReport.java:52)
at com.geodesk.gol.InfoCommand.performWithLibrary(InfoCommand.java:77)
at com.geodesk.gol.GolCommand.perform(GolCommand.java:123)
at com.clarisma.common.cli.Application.run(Application.java:98)
at com.geodesk.gol.GolTool.main(GolTool.java:58)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions