Skip to content

String index out of range exception #12

Description

@dhoffer

I'm trying to use iso9660-maven-plugin to generate an iso image and I'm getting string index out of range errors. My input does have long file names, e.g. 7b0a8ad702ee0be0b971a082023550bd71bd33d3cbb4fa17f1de6af66f1871d4-comps-Server.x86_64.xml.gz and I suspect this is causing the problem.

How can I resolve this? I don't technically need/want an 9660 image as I'm creating DVD images (actually these will be used by vSphere and I think it's quite tolerant of ISO format). Is there a way to configure iso9660-maven-plugin to allow long file names or is there a different goal/plugin that I should be using that supports this? Currently I'm running the 'iso' goal on iso9660-maven-plugin.

Execution generate-iso of goal com.github.stephenc.java-iso-tools:iso9660-maven-plugin:2.0.0:iso failed: String index out of range: -2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions