On 2012-03-21 16:22, Antonio Gioia wrote:
Hi to all,I tried the follow query : String sql = "select * from [my:type]"; Query query = qm.createQuery(sql, Query.JCR_SQL2); and query.execute() throws the follow exception Exception in thread "main" java.lang.IllegalArgumentException: null argument at org.apache.jackrabbit.util.Text.replace(Text.java:192) at org.apache.jackrabbit.value.ValueHelper.deserialize(ValueHelper.java:745) at org.apache.jackrabbit.webdav.jcr.search.SearchResultProperty.parseColumnElement(SearchResultProperty.java:125) at org.apache.jackrabbit.webdav.jcr.search.SearchResultProperty.<init>(SearchResultProperty.java:94) at org.apache.jackrabbit.spi2dav.QueryResultRowImpl.<init>(QueryResultRowImpl.java:74) at org.apache.jackrabbit.spi2dav.QueryInfoImpl.<init>(QueryInfoImpl.java:72) at org.apache.jackrabbit.spi2dav.RepositoryServiceImpl.executeQuery(RepositoryServiceImpl.java:1811) at org.apache.jackrabbit.jcr2spi.WorkspaceManager.executeQuery(WorkspaceManager.java:341) at org.apache.jackrabbit.jcr2spi.query.QueryImpl.execute(QueryImpl.java:149) somebody can help me? ...
So this is with WebDAV remoting... Do other query languages work, such as Query.JCR_XPATH?
