-
Bug
-
Resolution: Duplicate
-
Medium
-
Jakarta Release
-
None
-
Personal local environment running cps from latest master `b5a9ec3`
Steps to reproduce:
- Start CPS and NCP application
- Send a request to create cm handles:
curl -X POST 'http://localhost:8080/ncmpInventory/v1/ch' \ -H 'Authorization: Basic Y3BzdXNlcjpjcHNyMGNrcyE=' \ -H 'Content-Type: application/json' \ -H 'Cookie: JSESSIONID=node01g3jijb3xorh9a4gb5rgxnocr0.node0' \ --data-raw '{ "dmiPlugin": "http://localhost:8080", "createdCmHandles": [ { "cmHandle": "cmHandleId1" }, { "cmHandle": "cmHandleId2" }, { "cmHandle": "cmHandleId3" } ] }'
Current behaviour:
HTTP request response code is `500 Internal Server Error` with body:
{ "status": "500 INTERNAL_SERVER_ERROR", "message": "Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: org.springframework.core.log.LogFormatUtils.formatValue(Ljava/lang/Object;IZ)Ljava/lang/String;", "details": "Check logs for details." }
and server logs: error.log
Additional note:
3 cm handles are created and committed in fragment table before the error occurs.
Expected behaviour:
HTTP response code is 2xx success