Skip to content

Upgrading to 8.58.0 caused NoSuchMethodError in our spring-boot 4.1.1 app. #6182

Description

@kevinm416

Integration

sentry-spring-boot-jakarta

Java Version

25

Other Error Monitoring Solution

Yes

Other Error Monitoring Solution Name

No response

Version

8.58.0

Steps to Reproduce

  1. Upgrade to 8.58.0 in our spring-boot 4.1.1 app
  2. Try to service a request

Expected Result

Smooth upgrade without issues.

Actual Result

{"@timestamp":"2026-09-28T23:54:47.822031741Z","level":"ERROR","logger_name":"o.a.c.c.C.[.[.[.[dispatcherServlet]","thread":"http-nio-8080-exec-3","message":"Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Filter execution threw an exception] with root cause","stack_trace":"j.lang.NoSuchMethodError: 'io.sentry.DataCollectionResolver io.sentry.SentryOptions.getDataCollectionResolver()'\n\tat i.s.s.SentrySpringFilter.resolveHttpServletRequest(SentrySpringFilter.java:113)\n\tat i.s.s.SentrySpringFilter.doFilterInternal(SentrySpringFilter.java:67)\n\tat o.s.w.f.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)\n\tat o.a.c.c.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:111)\n\tat o.a.c.c.StandardWrapperValve.invoke(StandardWrapperValve.java:165)\n\tat o.a.c.c.StandardContextValve.invoke(StandardContextValve.java:77)\n\tat o.a.c.a.AuthenticatorBase.invoke(AuthenticatorBase.java:535)\n\tat o.a.c.c.StandardHostValve.invoke(StandardHostValve.java:115)\n\tat o.a.c.v.ErrorReportValve.invoke(ErrorReportValve.java:86)\n\tat o.a.c.v.ErrorReportValve.invoke(ErrorReportValve.java:86)\n\tat o.a.c.c.StandardEngineValve.invoke(StandardEngineValve.java:71)\n\tat o.a.c.v.RemoteIpValve.invoke(RemoteIpValve.java:725)\n\tat o.a.c.c.CoyoteAdapter.service(CoyoteAdapter.java:347)\n\tat o.a.c.h.Http11Processor.service(Http11Processor.java:406)\n\tat o.a.c.AbstractProcessorLight.process(AbstractProcessorLight.java:71)\n\tat o.a.c.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:1307)\n\tat o.a.t.u.n.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:2036)\n\tat o.a.t.u.n.SocketProcessorBase.run(SocketProcessorBase.java:74)\n\tat o.a.t.u.t.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:949)\n\tat o.a.t.u.t.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:483)\n\tat o.a.t.u.t.TaskThread$WrappingRunnable.run(TaskThread.java:74)\n\tat java.lang.Thread.run(Unknown Source)\n"}

Downgrading back to 8.56.0 got it working again

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions