-
-
Notifications
You must be signed in to change notification settings - Fork 459
Description
Integration
sentry
Java Version
21.0.7
Version
8.16.0
Steps to Reproduce
The build process uses the Maven-Sentry-Plugin with the uploadSourceBundle goal and sets up the jdk properly with correct debug ids in the debug meta of the exception.
The app also uses the log4j2 sentry appender but the tested exception was made with a generic Sentry.captureException.
- Manually generate source bundle with collected sources in target/sentry/collected-sources (made by the Maven Sentry plugin (the actual uploadSourceBundle goal does the same but bundles less files than found, 900 files found 170 bundled in the case of my project, doing it manually bundles all files))
- Upload Bundle
- Add the bundle id to the Sentry.init options
- Throw a test exception and capture it:

Expected Result
Source code with the exception as seen in the Docs for Source Context

Actual Result
An error with no source code in the Stack trace (both classes are in the source bundle)
And when looking at the images loaded section there is one unreferenced image
which when viewed shows
and opening it in settings shows that there is a file with the correct debug id
It could be i missed something in the docs related to this but i made sure to compare the .jvm files in the .zip and everything seemed in place (.jvm files matching packages with the .java classes) but i found it weird that nothing was showing in the images section
also here's the json of the exception
test-exception.json
If any more information is needed i will happily provide and if it's just that i missed something with my setup please let me know so i can fix my issue.
Metadata
Metadata
Assignees
Labels
Projects
Status