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

Don't Eat Stacktraces #3020

Closed
opticyclic opened this issue Apr 27, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@opticyclic
Copy link

commented Apr 27, 2018

https://github.com/corda/corda/blob/master/node/src/main/kotlin/net/corda/node/services/vault/NodeVaultService.kt#L462-L465

    } catch (e: java.lang.Exception) {
        log.error(e.message)
        throw e.cause ?: e
    }

Ends up with the really unhelpful log message:

2018-04-26 22:49:16.527 ERROR 6380 --- [nio-8080-exec-2] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.IndexOutOfBoundsException: Index: 0, Size: 0] with root cause

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

https://sbforge.org/sonar/rules/show/squid:S1166?layout=false

@joeldudleyr3

This comment has been minimized.

Copy link
Contributor

commented Apr 27, 2018

@joeldudleyr3

This comment has been minimized.

Copy link
Contributor

commented May 1, 2018

Addressed by #3043.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.