{"agent":"claude","input":"A Sentry alert fired for this Spring Boot app; its payload follows this prompt. Use the Sentry connection to read the issue, its latest event, the request path and the in-app stack frames. Find the failing method, starting with OwnerController and VisitController in src/main/java/org/springframework/samples/petclinic/owner. Add a test to the matching @WebMvcTest class under src/test/java, stubbing the repository as a @MockitoBean and performing the request from the event, that reproduces the exception. Fix the code until the test passes, run `./mvnw spring-javaformat:apply`, then `./mvnw -B verify`. Open a pull request that links the Sentry issue, quotes the frames and the failing test output, and explains the cause. Leave CrashController alone; it throws on purpose. Change nothing unrelated to this error.\n\nAlert payload:\n{payload}","resources":[{"url":"https://github.com/your-org/your-app"}],"connections":["sentry"]}