You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2017/03/24 11:58:41 UTC

[jira] [Closed] (CAY-2077) Bug in CayenneRuntimeException using wrong specified string in Formatter

     [ https://issues.apache.org/jira/browse/CAY-2077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikita Timofeev closed CAY-2077.
--------------------------------
    Resolution: Fixed
      Assignee: Nikita Timofeev

https://github.com/apache/cayenne/commit/2be06d62b2626dea132d6eb891e6242983dfd16b

> Bug in CayenneRuntimeException using wrong specified string in Formatter
> ------------------------------------------------------------------------
>
>                 Key: CAY-2077
>                 URL: https://issues.apache.org/jira/browse/CAY-2077
>             Project: Cayenne
>          Issue Type: Bug
>    Affects Versions: 4.0.M4
>            Reporter: Olga Bondareva
>            Assignee: Nikita Timofeev
>
> INFO: Exception processing message org.apache.cayenne.remote.QueryMessage of type Query
> java.util.UnknownFormatConversionException: Conversion = '"'
> 	at java.util.Formatter.checkText(Formatter.java:2579)
> 	at java.util.Formatter.parse(Formatter.java:2565)
> 	at java.util.Formatter.format(Formatter.java:2501)
> 	at java.util.Formatter.format(Formatter.java:2455)
> 	at java.lang.String.format(String.java:2928)
>         at org.apache.cayenne.access.ClientServerChannelQueryAction.interceptSinglePageQuery(ClientServerChannelQueryAction.java:99)
>         at org.apache.cayenne.access.ClientServerChannelQueryAction.execute(ClientServerChannelQueryAction.java:64)
>         at org.apache.cayenne.access.ClientServerChannel.onQuery(ClientServerChannel.java:51)
>         at org.apache.cayenne.remote.service.DispatchHelper.dispatch(DispatchHelper.java:39)
>         at org.apache.cayenne.remote.service.BaseRemoteService.processMessage(BaseRemoteService.java:135)
>         at org.apache.cayenne.rop.ROPServlet.doPost(ROPServlet.java:122)
> invalid format specifiers
> String.format(messageFormat, messageArgs)
> For example , Painting/name likeIgnoreCase "gi%"/l2 can't be used as messageFormat



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)