[ https://issues.apache.org/jira/browse/OLINGO-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17016486#comment-17016486 ]
Ramya commented on OLINGO-1421: ------------------------------- This is fixed as part of the commit https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=a1dfb5596b4266f30ae503d3d3e116f269561640 > Handling incorrect message in UriHelperImpl > ------------------------------------------- > > Key: OLINGO-1421 > URL: https://issues.apache.org/jira/browse/OLINGO-1421 > Project: Olingo > Issue Type: Bug > Components: odata4-server > Reporter: Ramya > Assignee: Ramya > Priority: Major > > In UriHelperImpl class, when property is null, an exception is thrown. There > is only 1 argument passed to the Message Key. However, the actual error > message is expecting 2 arguments which is throwing the exception > Missing replacement for place holder in message 'The value '%2$s' is not > valid for property '%1$s'.' for following arguments '[ID] > Error at > at > org.apache.olingo.server.core.uri.UriHelperImpl.findPropertyRefValue(UriHelperImpl.java:127) > ~[odata-v4-lib-1.2.0-20200114.114227-90.jar:?] > at > org.apache.olingo.server.core.uri.UriHelperImpl.buildKeyPredicate(UriHelperImpl.java:88) > ~[odata-v4-lib-1.2.0-20200114.114227-90.jar:?] -- This message was sent by Atlassian Jira (v8.3.4#803005)