On Thu, Aug 27, 2015 at 4:33 PM,
vincent@massol.net(mailto:vincent@massol.net)(mailto:vincent@massol.net) wrote:
Hi Mohit,
My fix is NOT in 7.2-milestone-2!
See
http://jira.xwiki.org/browse/XWIKI-12425 it says fix version = 7.2-milestone-3
Thanks
-Vincent
PS: Please always reply to the list!
On 27 Aug 2015 at 12:31:07, Mohit Gupta
(motgupta@gmail.com(mailto:motgupta@gmail.com)(mailto:motgupta@gmail.com)(mailto:motgupta@gmail.com))
wrote:
> Thanks vincet.
>
> After applying your xwiki.oracle.hbm.xml in
xwiki-platform-legacy-oldcore-7.2-milestone-2 .jar that problem went away But i am getting
below error
>
>
> root cause
>
> org.xwiki.query.QueryException: Exception while executing query. Query statement = [
select doc.fullName from XWikiDocument as doc , BaseObject as _o1 where ( doc.object (
XWiki.XWikiServerClass ) . server = :wikiAlias and
doc.name(http://doc.name)(http://doc.name)(http://doc.name) like 'XWikiServer%' )
and doc.fullName=_o1.name(http://o1.name)(http://o1.name)(http://o1.name) and
_o1.className='XWiki.XWikiServerClass' ]
>
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:160)
>
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
> org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
> org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:118)
>
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
> org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
>
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
>
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
>
org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
>
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:67)
>
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
>
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
>
org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
>
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:87)
>
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
>
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
>
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
>
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:64)
>
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
>
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
>
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
> com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:742)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:688)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
>
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
>
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
> org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
>
> root cause
>
> com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate
execute
>
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305)
>
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1366)
>
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:141)
>
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
> org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
> org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:118)
>
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
> org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
>
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
>
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
>
org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
>
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:67)
>
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
>
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
>
org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
>
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:87)
>
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
>
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
>
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
>
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:64)
>
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
>
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
>
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
> com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:742)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:688)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
>
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
>
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
> org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
>
> root cause
>
> java.lang.NullPointerException
> org.hibernate.hql.ast.HqlSqlWalker.lookupProperty(HqlSqlWalker.java:560)
> org.hibernate.hql.antlr.HqlSqlBaseWalker.addrExpr(HqlSqlBaseWalker.java:4774)
> org.hibernate.hql.antlr.HqlSqlBaseWalker.expr(HqlSqlBaseWalker.java:1326)
> org.hibernate.hql.antlr.HqlSqlBaseWalker.exprOrSubquery(HqlSqlBaseWalker.java:4471)
> org.hibernate.hql.antlr.HqlSqlBaseWalker.comparisonExpr(HqlSqlBaseWalker.java:3944)
> org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:2047)
> org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1972)
> org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1972)
> org.hibernate.hql.antlr.HqlSqlBaseWalker.logicalExpr(HqlSqlBaseWalker.java:1972)
> org.hibernate.hql.antlr.HqlSqlBaseWalker.whereClause(HqlSqlBaseWalker.java:831)
> org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:617)
> org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:301)
> org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:244)
> org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:256)
> org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:187)
> org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:138)
> org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:101)
> org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:80)
> org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:124)
>
org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
> org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
> org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1770)
>
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.createHibernateQuery(HqlQueryExecutor.java:208)
>
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor$1.doInHibernate(HqlQueryExecutor.java:147)
>
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor$1.doInHibernate(HqlQueryExecutor.java:142)
>
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299)
>
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1366)
>
com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:141)
>
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
> org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
> org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:118)
>
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:71)
> org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
>
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
>
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
>
org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
>
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:67)
>
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
>
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
>
org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
>
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:87)
>
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
>
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
>
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
>
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:64)
>
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
>
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
>
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
> com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:742)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:688)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:229)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:184)
>
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
>
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
>
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
>
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
> org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
>
>
>
> On Thu, Aug 27, 2015 at 1:50 PM,
vincent@massol.net(mailto:vincent@massol.net)(mailto:vincent@massol.net)(mailto:vincent@massol.net)
wrote:
> > Hi Mohit,
> >
> > As I hint in my previous reply it’s been fixed already, see
http://jira.xwiki.org/browse/XWIKI-12425
> >
> > Thanks
> > -Vincent
[snip]