You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Stefan Guggisberg (JIRA)" <ji...@apache.org> on 2014/10/28 16:52:38 UTC

[jira] [Resolved] (OAK-2237) NodeStoreKernel.getNodes throws when passing filter=""

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

Stefan Guggisberg resolved OAK-2237.
------------------------------------
    Resolution: Fixed

fixed in svn r1634898

> NodeStoreKernel.getNodes throws when passing filter=""
> ------------------------------------------------------
>
>                 Key: OAK-2237
>                 URL: https://issues.apache.org/jira/browse/OAK-2237
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mk
>            Reporter: Stefan Guggisberg
>            Assignee: Stefan Guggisberg
>             Fix For: 1.0.8, 1.2, 1.1.2
>
>
> calling {{NodeStoreKernel.getNodes}} with {{filter=""}} results in the following stacktrace:
> {code}
> IllegalArgumentException: [*] expected: '{'
>     at org.apache.jackrabbit.oak.commons.json.JsopTokenizer.getFormatException(JsopTokenizer.java:373)
>     at org.apache.jackrabbit.oak.commons.json.JsopTokenizer.read(JsopTokenizer.java:107)
>     at org.apache.jackrabbit.oak.kernel.JsonFilter.<init>(JsonFilter.java:43)
>     at org.apache.jackrabbit.oak.kernel.JsonSerializer.<init>(JsonSerializer.java:69)
>     at org.apache.jackrabbit.oak.kernel.NodeStoreKernel.getNodes(NodeStoreKernel.java:499)
>     at ...
> {code}
> according to {{MicroKernel.getNodes}}:
> {quote}
>      @param filter        optional filter on property and/or node names; if {{null}} or {{""}} the default filter will be assumed
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)