Skip to content

String index out of range! #11

@akanshSirohi

Description

@akanshSirohi

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
My code looks like this

String url=urls.get(options_list.getSelectionModel().getSelectedIndex());
String filename = file.getAbsolutePath();
DownloadManager downloadManager = DownloadManager.getInstance();
DownloadMission mission = new DownloadMission(url,"",filename);
downloadManager.addMission(mission);
downloadManager.start();

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