Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-2642

ClassCastException while using plugin.query.XWikiQuery

    XMLWordPrintable

Details

    Description

      Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.String;
      at com.xpn.xwiki.util.Util.getSubMap(Util.java:222)
      at com.xpn.xwiki.plugin.query.XWikiCriteria.getParameters(XWikiCriteria.java:15)
      at com.xpn.xwiki.objects.classes.BaseClass.makeQuery(BaseClass.java:679)
      at com.xpn.xwiki.plugin.query.QueryPlugin.makeQuery(QueryPlugin.java:239)
      at com.xpn.xwiki.plugin.query.QueryPluginApi.makeQuery(QueryPluginApi.java:94)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
      at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
      ... 80 more

      Attachments

        Activity

          People

            amelentev Artem Melentev
            amelentev Artem Melentev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: