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

Getting Executing Error Statement in the app deployed to BTP #238

Closed
rashmiangadi11 opened this issue Oct 16, 2024 · 5 comments
Closed

Getting Executing Error Statement in the app deployed to BTP #238

rashmiangadi11 opened this issue Oct 16, 2024 · 5 comments

Comments

@rashmiangadi11
Copy link

rashmiangadi11 commented Oct 16, 2024

I deployed a bookshop app from https://github.com/SAP-samples/cloud-cap-samples-java/
with cds-feature-attachments 1.0.4-SNAPSHOT and then when I access the app and upload an attachment and just select it and click on delete I get "Error executing statement".

App link https://sdmgoogleworkspacedev-rashmi-bookshop-app.cfapps.eu12.hana.ondemand.com/app/fiori.html

Logs are STDOUT EXPANDLIST []
2024-10-16T10:01:46.168+0000 [APP/PROC/WEB/0] STDOUT STATEMENT {"ref":[{"id":"AdminService.Books.attachments","where":[{"ref":["IsActiveEntity"]},"=",{"val":true},"and",{"ref":["up__ID"]},"=",{"val":"fc1d65f8-172d-4aa8-ab6f-c24aacbda80a"},"and",{"ref":["ID"]},"=",{"val":"f83cd1fe-8003-4678-b6e2-9ea63062251d"}]}]}
2024-10-16T10:01:46.169+0000 [APP/PROC/WEB/0] STDOUT SELECT {"SELECT":{"from":{"ref":[{"id":"AdminService.Books.attachments","where":[{"ref":["IsActiveEntity"]},"=",{"val":true},"and",{"ref":["up__ID"]},"=",{"val":"fc1d65f8-172d-4aa8-ab6f-c24aacbda80a"},"and",{"ref":["ID"]},"=",{"val":"f83cd1fe-8003-4678-b6e2-9ea63062251d"}]}]},"columns":["*"],"forUpdate":{"wait":10}}}
2024-10-16T10:01:46.180+0000 [APP/PROC/WEB/0] STDOUT {"msg":"Exception marked the ChangeSet 161 as cancelled: Error executing the statement (service 'PersistenceService$Default', event 'READ', entity 'AdminService.Books.attachments')","tenant_id":"sdmgoogleworkspace","component_id":"d53a99bc-16db-4cb8-823f-8489a9969086","level":"INFO","written_ts":"1729072906180211492","logger":"com.sap.cds.adapter.odata.v4.processors.CdsProcessor","component_name":"bookshop-srv","thread":"http-nio-8080-exec-6","organization_name":"sdmgoogleworkspacedev","type":"log","space_name":"Rashmi","organization_id":"86ed15cb-107b-4f0c-a7b1-4da3746bd26c","correlation_id":"fbe573ee-b951-42e0-6a1b-a89e453818ab","written_at":"2024-10-16T10:01:46.180Z","space_id":"cc864b82-3ce9-4b71-b611-fca2e66e0578","request_id":"fbe573ee-b951-42e0-6a1b-a89e453818ab","container_id":"10.0.201.13"}
2024-10-16T10:01:46.183+0000 [APP/PROC/WEB/0] STDOUT {"msg":"Error executing the statement (service 'PersistenceService$Default', event 'READ', entity 'AdminService.Books.attachments')","tenant_id":"sdmgoogleworkspace","component_id":"d53a99bc-16db-4cb8-823f-8489a9969086","level":"ERROR","written_ts":"1729072906181865975","logger":"com.sap.cds.adapter.odata.v4.processors.CdsProcessor","component_name":"bookshop-srv","thread":"http-nio-8080-exec-6","organization_name":"sdmgoogleworkspacedev","type":"log","exception_message":"Error executing the statement (service 'PersistenceService$Default', event 'READ', entity 'AdminService.Books.attachments')","space_name":"Rashmi","organization_id":"86ed15cb-107b-4f0c-a7b1-4da3746bd26c","exception_type":"com.sap.cds.services.impl.ContextualizedServiceException","correlation_id":"fbe573ee-b951-42e0-6a1b-a89e453818ab","written_at":"2024-10-16T10:01:46.180Z","space_id":"cc864b82-3ce9-4b71-b611-fca2e66e0578","request_id":"fbe573ee-b951-42e0-6a1b-a89e453818ab","container_id":"10.0.201.13","stacktrace":["com.sap.cds.services.impl.ContextualizedServiceException: Error executing the statement","\tat com.sap.cds.services.impl.ServiceImpl.dispatch(ServiceImpl.java:256)","\tat com.sap.cds.services.impl.ServiceImpl.emit(ServiceImpl.java:177)","\tat com.sap.cds.services.ServiceDelegator.emit(ServiceDelegator.java:33)","\tat com.sap.cds.services.utils.services.AbstractCqnService.run(AbstractCqnService.java:53)","\tat com.sap.cds.services.utils.services.AbstractCqnService.run(AbstractCqnService.java:43)","\tat com.sap.cds.feature.attachments.handler.common.DefaultAttachmentsReader.readAttachments(DefaultAttachmentsReader.java:57)","\tat com.sap.cds.feature.attachments.handler.draftservice.DraftCancelAttachmentsHandler.readAttachments(DraftCancelAttachmentsHandler.java:113)","\tat com.sap.cds.feature.attachments.handler.draftservice.DraftCancelAttachmentsHandler.getCondensedActiveAttachments(DraftCancelAttachmentsHandler.java:117)","\tat com.sap.cds.feature.attachments.handler.draftservice.DraftCancelAttachmentsHandler.processBeforeDraftCancel(DraftCancelAttachmentsHandler.java:66)","\tat com.sap.cds.services.impl.handlerregistry.HandlerRegistryTools$DescribedHandler.process(HandlerRegistryTools.java:165)","\tat com.sap.cds.services.impl.ServiceImpl.dispatch(ServiceImpl.java:221)","\tat com.sap.cds.services.impl.Service

Screenshot 2024-10-16 at 3 31 51 PM
@mofterdinger
Copy link
Collaborator

Hi, please try this PR: SAP-samples/cloud-cap-samples-java#377
Locally it works fine, didn't test it yet on BTP.
Thanks,
Markus

@rashmiangadi11
Copy link
Author

Sure I will check with your PR. Locally for me also it works

Regards,
Rashmi

@mofterdinger
Copy link
Collaborator

mofterdinger commented Oct 16, 2024

Thanks for reporting, I'm able to reproduce with bookshop and my PR on BTP. Will investigate this issue.

@mofterdinger
Copy link
Collaborator

mofterdinger commented Oct 16, 2024

With some logger groups enabled I found this error in the log:

com.sap.cds.services.impl.ServiceImpl.dispatch(ServiceImpl.java:236)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT ... 202 common frames omitted
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT Caused by: com.sap.cds.CdsDataStoreException: SQL: SELECT T0."UP__ID", T0."ID", T0."CREATEDAT", T0."CREATEDBY", T0."MODIFIEDAT", T0."MODIFIEDBY", T0."CONTENT", T0."MIMETYPE", T0."FILENAME", T0."CONTENTID", T0."STATUS", T0."SCANNEDAT", T0."NOTE", TRUE as "IsActiveEntity", FALSE as "HasActiveEntity", T0."HASDRAFTENTITY", T0."DRAFTADMINISTRATIVEDATA_DRAFTUUID" FROM (SELECT ACTIVE.*, COALESCE(DRAFT.HasActiveEntity, false) as HasDraftEntity, DRAFT.DraftAdministrativeData_DraftUUID as DraftAdministrativeData_DraftUUID from "ADMINSERVICE_BOOKS_COVERS" ACTIVE left outer join "ADMINSERVICE_BOOKS_COVERS_DRAFTS" DRAFT on ACTIVE."ID" = DRAFT."ID" AND ACTIVE."UP__ID" = DRAFT."UP__ID") T0 WHERE T0."UP__ID" = ? and T0."ID" = ? FOR UPDATE WAIT 10
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT ... 218 common frames omitted
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT Caused by: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [2]: general error: no target table or view available for FOR UPDATE clause: line 1 col 310 (at pos 309)
2024-10-16T11:38:16.288+0000 [APP/PROC/WEB/0] STDOUT 2024-10-16T11:38:16.288Z DEBUG 8 --- [nio-8080-exec-3] com.sap.cds.services.impl.ServiceImpl    : Executing ON handler 'protected com.sap.cds.Result com.sap.cds.services.impl.persistence.JdbcPersistenceService.defaultRead(com.sap.cds.services.cds.CdsReadEventContext)' (order 11000) for event 'READ' on service 'PersistenceService$Default' and entity 'AdminService.Books.covers'
2024-10-16T11:38:16.289+0000 [APP/PROC/WEB/0] STDOUT 2024-10-16T11:38:16.289Z DEBUG 8 --- [nio-8080-exec-3] com.sap.cds.impl.CdsDataStoreImpl        : CQN {"SELECT":{"from":{"ref":[{"id":"AdminService.Books.covers","where":[{"ref":["IsActiveEntity"]},"=",{"val":true},"and",{"ref":["up__ID"]},"=",{"val":"4a519e61-3c3a-4bd9-ab12-d7e0c5329933"},"and",{"ref":["ID"]},"=",{"val":"a341c417-df73-438c-b6b7-0c591ac95ddb"}]}]},"columns":["*"],"forUpdate":{"wait":10}}} started
2024-10-16T11:38:16.303+0000 [APP/PROC/WEB/0] STDOUT 2024-10-16T11:38:16.303Z DEBUG 8 --- [nio-8080-exec-3] com.sap.cds.impl.JDBCClient              : SQL >>SELECT T0."UP__ID", T0."ID", T0."CREATEDAT", T0."CREATEDBY", T0."MODIFIEDAT", T0."MODIFIEDBY", T0."CONTENT", T0."MIMETYPE", T0."FILENAME", T0."CONTENTID", T0."STATUS", T0."SCANNEDAT", T0."NOTE", TRUE as "IsActiveEntity", FALSE as "HasActiveEntity", T0."HASDRAFTENTITY", T0."DRAFTADMINISTRATIVEDATA_DRAFTUUID" FROM (SELECT ACTIVE.*, COALESCE(DRAFT.HasActiveEntity, false) as HasDraftEntity, DRAFT.DraftAdministrativeData_DraftUUID as DraftAdministrativeData_DraftUUID from "ADMINSERVICE_BOOKS_COVERS" ACTIVE left outer join "ADMINSERVICE_BOOKS_COVERS_DRAFTS" DRAFT on ACTIVE."ID" = DRAFT."ID" AND ACTIVE."UP__ID" = DRAFT."UP__ID") T0 WHERE T0."UP__ID" = ? and T0."ID" = ? FOR UPDATE WAIT 10<< failed with exception SAP DBTech JDBC: [2]: general error: no target table or view available for FOR UPDATE clause: line 1 col 310 (at pos 309)
2024-10-16T11:38:16.305+0000 [APP/PROC/WEB/0] STDOUT 2024-10-16T11:38:16.305Z  INFO 8 --- [nio-8080-exec-3] c.s.c.a.o.v4.processors.CdsProcessor     : Exception marked the ChangeSet 19 as cancelled: Error executing the statement (service 'PersistenceService$Default', event 'READ', entity 'AdminService.Books.covers')
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT 2024-10-16T11:38:16.306Z ERROR 8 --- [nio-8080-exec-3] c.s.c.a.o.v4.processors.CdsProcessor     : Error executing the statement (service 'PersistenceService$Default', event 'READ', entity 'AdminService.Books.covers')
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT com.sap.cds.services.impl.ContextualizedServiceException: Error executing the statement (service 'PersistenceService$Default', event 'READ', entity 'AdminService.Books.covers')
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.ServiceImpl.dispatch(ServiceImpl.java:256)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.ServiceImpl.emit(ServiceImpl.java:177)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.ServiceDelegator.emit(ServiceDelegator.java:33)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.utils.services.AbstractCqnService.run(AbstractCqnService.java:53)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.utils.services.AbstractCqnService.run(AbstractCqnService.java:43)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.feature.attachments.handler.common.DefaultAttachmentsReader.readAttachments(DefaultAttachmentsReader.java:55)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.feature.attachments.handler.draftservice.DraftCancelAttachmentsHandler.readAttachments(DraftCancelAttachmentsHandler.java:113)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.feature.attachments.handler.draftservice.DraftCancelAttachmentsHandler.getCondensedActiveAttachments(DraftCancelAttachmentsHandler.java:117)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.feature.attachments.handler.draftservice.DraftCancelAttachmentsHandler.processBeforeDraftCancel(DraftCancelAttachmentsHandler.java:66)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.handlerregistry.HandlerRegistryTools$DescribedHandler.process(HandlerRegistryTools.java:165)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.ServiceImpl.dispatch(ServiceImpl.java:221)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.ServiceImpl.emit(ServiceImpl.java:177)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.ServiceDelegator.emit(ServiceDelegator.java:33)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.draft.DraftServiceImpl.cancelDraft(DraftServiceImpl.java:132)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.draft.DraftServiceImpl.cancelDraft(DraftServiceImpl.java:144)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.draft.DraftServiceImpl.cancelDraft(DraftServiceImpl.java:139)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at java.base/java.lang.reflect.Method.invoke(Method.java:580)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.cds.TypedCqnServiceInvocationHandler.invoke(TypedCqnServiceInvocationHandler.java:70)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at jdk.proxy2/jdk.proxy2.$Proxy43.cancelDraft(Unknown Source)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.adapter.odata.v4.processors.CdsProcessor.delete(CdsProcessor.java:666)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.adapter.odata.v4.processors.CdsProcessor.delegateRequest(CdsProcessor.java:237)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.adapter.odata.v4.processors.CdsProcessor.lambda$processRequest$1(CdsProcessor.java:157)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.runtime.RequestContextRunnerImpl.lambda$run$3(RequestContextRunnerImpl.java:213)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.runtime.RequestContextRunnerImpl.run(RequestContextRunnerImpl.java:272)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.runtime.RequestContextRunnerImpl.run(RequestContextRunnerImpl.java:212)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.adapter.odata.v4.processors.CdsProcessor.processRequest(CdsProcessor.java:154)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.adapter.odata.v4.processors.CdsProcessor.lambda$processRequest$0(CdsProcessor.java:145)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.runtime.ChangeSetContextRunnerImpl.open(ChangeSetContextRunnerImpl.java:70)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.runtime.ChangeSetContextRunnerImpl.run(ChangeSetContextRunnerImpl.java:49)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.adapter.odata.v4.processors.CdsProcessor.processRequest(CdsProcessor.java:144)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.adapter.odata.v4.processors.AbstractODataProcessor.processRequest(AbstractODataProcessor.java:164)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.adapter.odata.v4.processors.AbstractODataProcessor.processNoContentRequest(AbstractODataProcessor.java:102)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.adapter.odata.v4.processors.OlingoProcessor.deleteEntity(OlingoProcessor.java:245)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.olingo.server.core.ODataDispatcher.handleSingleEntityDispatching(ODataDispatcher.java:655)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.olingo.server.core.ODataDispatcher.handleEntityDispatching(ODataDispatcher.java:526)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.olingo.server.core.ODataDispatcher.handleResourceDispatching(ODataDispatcher.java:154)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.olingo.server.core.ODataDispatcher.dispatch(ODataDispatcher.java:120)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.olingo.server.core.ODataHandlerImpl.processInternal(ODataHandlerImpl.java:174)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.olingo.server.core.ODataHandlerImpl.process(ODataHandlerImpl.java:95)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.olingo.server.core.batchhandler.BatchPartHandler.handle(BatchPartHandler.java:74)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.olingo.server.core.batchhandler.BatchPartHandler.handleBatchRequest(BatchPartHandler.java:57)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.olingo.server.core.batchhandler.BatchFacadeImpl.handleBatchRequest(BatchFacadeImpl.java:56)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.adapter.odata.v4.processors.OlingoProcessor.processBatch(OlingoProcessor.java:319)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.olingo.server.core.batchhandler.BatchHandler.process(BatchHandler.java:56)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.olingo.server.core.ODataDispatcher.dispatch(ODataDispatcher.java:126)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.olingo.server.core.ODataHandlerImpl.processInternal(ODataHandlerImpl.java:174)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.olingo.server.core.ODataHandlerImpl.process(ODataHandlerImpl.java:95)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.olingo.server.core.ODataHttpHandlerImpl.process(ODataHttpHandlerImpl.java:80)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.olingo.server.core.ODataHttpHandlerImpl.process(ODataHttpHandlerImpl.java:94)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.adapter.odata.v4.CdsODataV4Servlet.lambda$service$0(CdsODataV4Servlet.java:132)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.runtime.RequestContextRunnerImpl.lambda$run$3(RequestContextRunnerImpl.java:213)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.runtime.RequestContextRunnerImpl.run(RequestContextRunnerImpl.java:272)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.runtime.RequestContextRunnerImpl.run(RequestContextRunnerImpl.java:212)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.adapter.odata.v4.CdsODataV4Servlet.service(CdsODataV4Servlet.java:90)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.framework.spring.config.adapter.ServletAdapterRestController.handleRequest(ServletAdapterRestController.java:30)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:51)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.CompositeFilter$InternalFilterChain.doFilter(CompositeFilter.java:86)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.GenerateRequestLogFilter.doFilter(GenerateRequestLogFilter.java:95)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.GenerateRequestLogFilter.doFilterRequest(GenerateRequestLogFilter.java:62)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.AbstractLoggingFilter.doFilter(AbstractLoggingFilter.java:20)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.CompositeFilter$InternalFilterChain.doFilter(CompositeFilter.java:84)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.AbstractLoggingFilter.doFilterRequest(AbstractLoggingFilter.java:47)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.AbstractLoggingFilter.doFilter(AbstractLoggingFilter.java:20)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.CompositeFilter$InternalFilterChain.doFilter(CompositeFilter.java:84)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.AbstractLoggingFilter.doFilterRequest(AbstractLoggingFilter.java:47)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.AbstractLoggingFilter.doFilter(AbstractLoggingFilter.java:20)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.CompositeFilter$InternalFilterChain.doFilter(CompositeFilter.java:84)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.AbstractLoggingFilter.doFilterRequest(AbstractLoggingFilter.java:47)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.AbstractLoggingFilter.doFilter(AbstractLoggingFilter.java:20)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.CompositeFilter$InternalFilterChain.doFilter(CompositeFilter.java:84)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.AbstractLoggingFilter.doFilterRequest(AbstractLoggingFilter.java:47)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.AbstractLoggingFilter.doFilter(AbstractLoggingFilter.java:20)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.CompositeFilter$InternalFilterChain.doFilter(CompositeFilter.java:84)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at com.sap.hcp.cf.logging.servlet.filter.CompositeFilter.doFilter(CompositeFilter.java:59)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:108)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.FilterChainProxy.lambda$doFilterInternal$3(FilterChainProxy.java:231)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$FilterObservation$SimpleFilterObservation.lambda$wrap$1(ObservationFilterChainDecorator.java:479)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$AroundFilterObservation$SimpleAroundFilterObservation.lambda$wrap$1(ObservationFilterChainDecorator.java:340)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator.lambda$wrapSecured$0(ObservationFilterChainDecorator.java:82)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:128)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.access.intercept.AuthorizationFilter.doFilter(AuthorizationFilter.java:100)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:126)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:120)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:131)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:85)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:100)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:179)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.oauth2.server.resource.web.authentication.BearerTokenAuthenticationFilter.doFilterInternal(BearerTokenAuthenticationFilter.java:145)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:107)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:93)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.header.HeaderWriterFilter.doHeadersAfter(HeaderWriterFilter.java:90)
2024-10-16T11:38:16.310+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:75)
2024-10-16T11:38:16.311+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
2024-10-16T11:38:16.311+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240)
2024-10-16T11:38:16.311+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227)
2024-10-16T11:38:16.311+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137)
2024-10-16T11:38:16.311+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:82)
2024-10-16T11:38:16.311+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.context.SecurityContextHolderFilter.doFilter(SecurityContextHolderFilter.java:69)
2024-10-16T11:38:16.311+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240)
2024-10-16T11:38:16.311+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227)
2024-10-16T11:38:16.311+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137)
2024-10-16T11:38:16.311+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:62)
2024-10-16T11:38:16.311+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
2024-10-16T11:38:16.311+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240)
2024-10-16T11:38:16.311+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:227)
2024-10-16T11:38:16.311+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137)
2024-10-16T11:38:16.311+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.session.DisableEncodeUrlFilter.doFilterInternal(DisableEncodeUrlFilter.java:42)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.wrapFilter(ObservationFilterChainDecorator.java:240)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$AroundFilterObservation$SimpleAroundFilterObservation.lambda$wrap$0(ObservationFilterChainDecorator.java:323)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$ObservationFilter.doFilter(ObservationFilterChainDecorator.java:224)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.ObservationFilterChainDecorator$VirtualFilterChain.doFilter(ObservationFilterChainDecorator.java:137)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:233)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:191)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.servlet.handler.HandlerMappingIntrospector.lambda$createCacheFilter$3(HandlerMappingIntrospector.java:195)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:113)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:74)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.security.config.annotation.web.configuration.WebMvcSecurityConfiguration$CompositeFilterChainProxy.doFilter(WebMvcSecurityConfiguration.java:230)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:352)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:268)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.ServerHttpObservationFilter.doFilterInternal(ServerHttpObservationFilter.java:113)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:164)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:731)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:384)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at java.base/java.lang.Thread.run(Thread.java:1583)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT Caused by: com.sap.cds.CdsDataStoreException: Error executing the statement
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.impl.ExceptionHandler.dataStoreException(ExceptionHandler.java:62)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.impl.JDBCClient.executeQuery(JDBCClient.java:211)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.impl.CdsDataStoreImpl.executeResolvedQuery(CdsDataStoreImpl.java:179)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.impl.CdsDataStoreImpl.execute(CdsDataStoreImpl.java:165)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.impl.CdsDataStoreImpl.resolveAndExecuteQuery(CdsDataStoreImpl.java:148)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.impl.CdsDataStoreImpl.lambda$execute$0(CdsDataStoreImpl.java:130)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.impl.TimingLogger.time(TimingLogger.java:103)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.impl.TimingLogger.debug(TimingLogger.java:56)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.impl.TimingLogger.cqn(TimingLogger.java:64)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.impl.CdsDataStoreImpl.execute(CdsDataStoreImpl.java:130)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.persistence.JdbcPersistenceService.lambda$defaultRead$1(JdbcPersistenceService.java:140)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.persistence.JdbcPersistenceService.checkExceptionAndOtelSpan(JdbcPersistenceService.java:203)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.persistence.JdbcPersistenceService.defaultRead(JdbcPersistenceService.java:140)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.handlerregistry.HandlerRegistryTools$DescribedHandler.process(HandlerRegistryTools.java:165)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.ServiceImpl.lambda$createOnHandlerChain$4(ServiceImpl.java:269)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.ServiceImpl.dispatch(ServiceImpl.java:236)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT ... 202 common frames omitted
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT Caused by: com.sap.cds.CdsDataStoreException: SQL: SELECT T0."UP__ID", T0."ID", T0."CREATEDAT", T0."CREATEDBY", T0."MODIFIEDAT", T0."MODIFIEDBY", T0."CONTENT", T0."MIMETYPE", T0."FILENAME", T0."CONTENTID", T0."STATUS", T0."SCANNEDAT", T0."NOTE", TRUE as "IsActiveEntity", FALSE as "HasActiveEntity", T0."HASDRAFTENTITY", T0."DRAFTADMINISTRATIVEDATA_DRAFTUUID" FROM (SELECT ACTIVE.*, COALESCE(DRAFT.HasActiveEntity, false) as HasDraftEntity, DRAFT.DraftAdministrativeData_DraftUUID as DraftAdministrativeData_DraftUUID from "ADMINSERVICE_BOOKS_COVERS" ACTIVE left outer join "ADMINSERVICE_BOOKS_COVERS_DRAFTS" DRAFT on ACTIVE."ID" = DRAFT."ID" AND ACTIVE."UP__ID" = DRAFT."UP__ID") T0 WHERE T0."UP__ID" = ? and T0."ID" = ? FOR UPDATE WAIT 10
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT ... 218 common frames omitted
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT Caused by: com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: [2]: general error: no target table or view available for FOR UPDATE clause: line 1 col 310 (at pos 309)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.exceptions.SQLExceptionSapDB._newInstance(SQLExceptionSapDB.java:209)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.newInstance(SQLExceptionSapDB.java:42)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.packet.HReplyPacket._buildExceptionChain(HReplyPacket.java:902)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.packet.HReplyPacket.getSQLExceptionChain(HReplyPacket.java:218)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.packet.HPartInfo.getSQLExceptionChain(HPartInfo.java:39)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.ConnectionSapDB._receive(ConnectionSapDB.java:6105)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.ConnectionSapDB.exchange(ConnectionSapDB.java:2744)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.PreparedStatementSapDB._prepare(PreparedStatementSapDB.java:3704)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.PreparedStatementSapDB._doParse(PreparedStatementSapDB.java:3584)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.PreparedStatementSapDB.<init>(PreparedStatementSapDB.java:170)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.PreparedStatementSapDB9.<init>(Unknown Source)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.HanaPreparedStatement.<init>(Unknown Source)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.HanaPreparedStatementClean.<init>(Unknown Source)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.HanaPreparedStatementClean.newInstance(Unknown Source)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.ConnectionSapDB9._prepareStatement(Unknown Source)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.db.jdbc.ConnectionSapDB.prepareStatement(ConnectionSapDB.java:574)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.zaxxer.hikari.pool.ProxyConnection.prepareStatement(ProxyConnection.java:328)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.zaxxer.hikari.pool.HikariProxyConnection.prepareStatement(HikariProxyConnection.java)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at java.base/java.lang.reflect.Method.invoke(Method.java:580)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler.invoke(TransactionAwareDataSourceProxy.java:262)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at jdk.proxy2/jdk.proxy2.$Proxy98.prepareStatement(Unknown Source)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.impl.JDBCClient.lambda$executeQuery$2(JDBCClient.java:224)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.impl.TimingLogger.time(TimingLogger.java:111)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.impl.TimingLogger.sql(TimingLogger.java:90)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.impl.JDBCClient.executeQuery(JDBCClient.java:222)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.impl.JDBCClient.executeQuery(JDBCClient.java:196)
2024-10-16T11:38:16.312+0000 [APP/PROC/WEB/0] STDOUT ... 216 common frames omitted
2024-10-16T11:38:16.313+0000 [APP/PROC/WEB/0] STDOUT 2024-10-16T11:38:16.313Z DEBUG 8 --- [nio-8080-exec-3] com.sap.cds.services.impl.ServiceImpl    : Started emit of 'ApplicationLifecycleService$Default' for event 'ERROR_RESPONSE', entity ''
2024-10-16T11:38:16.313+0000 [APP/PROC/WEB/0] STDOUT 2024-10-16T11:38:16.313Z DEBUG 8 --- [nio-8080-exec-3] com.sap.cds.services.impl.ServiceImpl    : Executing ON handler 'public void com.sap.cds.services.impl.application.ErrorResponseHandler.onErrorResponse(com.sap.cds.services.application.ErrorResponseEventContext)' (order 11000) for event 'ERROR_RESPONSE' on service 'ApplicationLifecycleService$Default' and entity ''
2024-10-16T11:38:16.319+0000 [APP/PROC/WEB/0] STDOUT 2024-10-16T11:38:16.318Z DEBUG 8 --- [nio-8080-exec-3] com.sap.cds.services.impl.ServiceImpl    : Finished emit of 'ApplicationLifecycleService$Default' for event 'ERROR_RESPONSE', entity ''
2024-10-16T11:38:16.326+0000 [APP/PROC/WEB/0] STDOUT 2024-10-16T11:38:16.326Z DEBUG 8 --- [nio-8080-exec-3] c.s.c.s.impl.request.RequestContextImpl  : Closed RequestContext 25

@adamandre79 Hi Andre, maybe you have an idea what could cause this error on BTP only. This error happens when I try to delete an attachment from a book in the bookshop sample application. But it occurs only on BTP / HANA, locally it works fine.

@mofterdinger
Copy link
Collaborator

Hi, the fix is merged and a new snapshot 1.0.4-SNAPSHOT is deployed. Therefore I close this issue.
Thanks,
Markus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants