-
Notifications
You must be signed in to change notification settings - Fork 440
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
IllegalAccessError when using Raise #3235
Comments
Hey @CLOVIS-AI, Your code doesn't compile for me 🤯 Removing for (suppressed in trace.suppressedExceptions)
addSuppressed(suppressed) But I think it's actually related somehow to how |
I don't understand it, then. The Arrow documentation does say it is a function… It doesn't compile on my side if I try to access it any other way. |
Debugging, I think it has something to do with |
Can confirm this is fixed for me with Arrow 1.2.3. |
Arrow version: 1.2.1
I'm trying to integrate
Raise
into my test library, Prepared. Since raising usually represents an error, I want to be able to declare that a test fails if an error is raised. To help with debugging, I'd like to enable tracing in those cases (since this is only for testing, I don't mind the performance implications).I want to be able to declare something like:
For now, here's the implementation I have:
However, when I execute it, I get:
The stack trace is unhelpful (it doesn't go further than the test function).
Do you know what could cause this?
The entire code is available here.
As an aside, would it be possible to expose the underlying exception in
traced
? It would be easier to simply mark it as thecause
of theAssertionError
.The text was updated successfully, but these errors were encountered: