Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StringIndexOutOfBoundsException in some invalid metadata requests #64

Closed
dzikoysk opened this issue May 18, 2020 · 0 comments
Closed

StringIndexOutOfBoundsException in some invalid metadata requests #64

dzikoysk opened this issue May 18, 2020 · 0 comments
Labels
bug Bugs & errors found in Reposilite

Comments

@dzikoysk
Copy link
Owner

dzikoysk commented May 18, 2020

Catched using status command

12:35:41.479 ERROR |  Latest exception: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
        at java.lang.String.substring(String.java:1967)
        at org.panda_lang.nanomaven.metadata.MetadataService.generateSnapshotMetadata(MetadataService.java:97)
        at org.panda_lang.nanomaven.metadata.MetadataService.generateMetadata(MetadataService.java:64)
        at org.panda_lang.nanomaven.repository.DownloadController.serve(DownloadController.java:92)
        at org.panda_lang.nanomaven.repository.RepositoryController.serveOrCatch(RepositoryController.java:58)
        at org.panda_lang.nanomaven.repository.RepositoryController.serve(RepositoryController.java:46)
        at org.panda_lang.nanomaven.NanoHttpServer.serve(NanoHttpServer.java:55)
        at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:945)
        at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192)
        at java.lang.Thread.run(Thread.java:748)
@dzikoysk dzikoysk added the bug Bugs & errors found in Reposilite label May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs & errors found in Reposilite
Projects
None yet
Development

No branches or pull requests

1 participant