Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-17014

Fix marketplace packaging of HF11 (can't access search tab)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.0-HF11
    • Fix Version/s: 6.0-HF11
    • Component/s: Search Tab

      Description

      Clicking on the search tab on a 6.0 HF11 upgraded through the Marketplace (package version 1.0.0), I get the following error:

                    javax.servlet.ServletException: /incl/content_view.xhtml @85,16 value="#{contentView.pageProvider.hasAggregateSupport() ? contentView.pageProvider.aggregates : null}" /incl/content_view.xhtml @85,16 value="#{contentView.pageProvider.hasAggregateSupport() ? contentView.pageProvider.aggregates : null}": Error reading 'aggregates' on type org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider
      	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:659)
      	...
      Caused by: javax.faces.view.facelets.TagAttributeException: /incl/content_view.xhtml @85,16 value="#{contentView.pageProvider.hasAggregateSupport() ? contentView.pageProvider.aggregates : null}" /incl/content_view.xhtml @85,16 value="#{contentView.pageProvider.hasAggregateSupport() ? contentView.pageProvider.aggregates : null}": Error reading 'aggregates' on type org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider
      	at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:358)
      	... 82 more
      Caused by: javax.el.ELException: /incl/content_view.xhtml @85,16 value="#{contentView.pageProvider.hasAggregateSupport() ? contentView.pageProvider.aggregates : null}": Error reading 'aggregates' on type org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider
      	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:114)
      	at com.sun.faces.facelets.tag.TagAttributeImpl.getObject(TagAttributeImpl.java:356)
      	... 397 more
      Caused by: javax.el.ELException: Error reading 'aggregates' on type org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider
      	at javax.el.BeanELResolver.getValue(BeanELResolver.java:110)
      	at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
      	at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
      	at org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
      	at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
      	at org.jboss.el.parser.AstChoice.getValue(AstChoice.java:29)
      	at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
      	at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
      	... 398 more
      Caused by: java.lang.NoSuchFieldError: esHint
      	at org.nuxeo.elasticsearch.query.NxqlQueryConverter$1.visitExpression(NxqlQueryConverter.java:160)
      	at org.nuxeo.ecm.core.query.sql.model.Expression.accept(Expression.java:42)
      	at org.nuxeo.ecm.core.query.sql.model.DefaultQueryVisitor.visitExpression(DefaultQueryVisitor.java:101)
      	at org.nuxeo.elasticsearch.query.NxqlQueryConverter$1.visitExpression(NxqlQueryConverter.java:134)
      	at org.nuxeo.ecm.core.query.sql.model.Expression.accept(Expression.java:42)
      	at org.nuxeo.ecm.core.query.sql.model.DefaultQueryVisitor.visitExpression(DefaultQueryVisitor.java:101)
      	at org.nuxeo.elasticsearch.query.NxqlQueryConverter$1.visitExpression(NxqlQueryConverter.java:134)
      	at org.nuxeo.ecm.core.query.sql.model.Expression.accept(Expression.java:42)
      	at org.nuxeo.ecm.core.query.sql.model.DefaultQueryVisitor.visitExpression(DefaultQueryVisitor.java:101)
      	at org.nuxeo.elasticsearch.query.NxqlQueryConverter$1.visitExpression(NxqlQueryConverter.java:134)
      	at org.nuxeo.ecm.core.query.sql.model.Expression.accept(Expression.java:42)
      	at org.nuxeo.ecm.core.query.sql.model.DefaultQueryVisitor.visitExpression(DefaultQueryVisitor.java:101)
      	at org.nuxeo.elasticsearch.query.NxqlQueryConverter$1.visitExpression(NxqlQueryConverter.java:134)
      	at org.nuxeo.ecm.core.query.sql.model.Expression.accept(Expression.java:42)
      	at org.nuxeo.ecm.core.query.sql.model.DefaultQueryVisitor.visitExpression(DefaultQueryVisitor.java:101)
      	at org.nuxeo.elasticsearch.query.NxqlQueryConverter$1.visitExpression(NxqlQueryConverter.java:134)
      	at org.nuxeo.ecm.core.query.sql.model.Expression.accept(Expression.java:42)
      	at org.nuxeo.ecm.core.query.sql.model.DefaultQueryVisitor.visitWhereClause(DefaultQueryVisitor.java:57)
      	at org.nuxeo.ecm.core.query.sql.model.WhereClause.accept(WhereClause.java:39)
      	at org.nuxeo.ecm.core.query.sql.model.DefaultQueryVisitor.visitQuery(DefaultQueryVisitor.java:30)
      	at org.nuxeo.ecm.core.query.sql.model.SQLQuery.accept(SQLQuery.java:119)
      	at org.nuxeo.elasticsearch.query.NxqlQueryConverter.toESQueryBuilder(NxqlQueryConverter.java:91)
      	at org.nuxeo.elasticsearch.query.NxQueryBuilder.makeQuery(NxQueryBuilder.java:212)
      	at org.nuxeo.elasticsearch.query.NxQueryBuilder.updateRequest(NxQueryBuilder.java:305)
      	at org.nuxeo.elasticsearch.core.ElasticSearchServiceImpl.buildEsSearchRequest(ElasticSearchServiceImpl.java:167)
      	at org.nuxeo.elasticsearch.core.ElasticSearchServiceImpl.search(ElasticSearchServiceImpl.java:153)
      	at org.nuxeo.elasticsearch.core.ElasticSearchServiceImpl.queryAndAggregate(ElasticSearchServiceImpl.java:99)
      	at org.nuxeo.elasticsearch.ElasticSearchComponent.queryAndAggregate(ElasticSearchComponent.java:488)
      	at org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider.getCurrentPage(ElasticSearchNxqlPageProvider.java:90)
      	at org.nuxeo.elasticsearch.provider.ElasticSearchNxqlPageProvider.getAggregates(ElasticSearchNxqlPageProvider.java:156)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:483)
      	at javax.el.BeanELResolver.getValue(BeanELResolver.java:99)
      	... 405 more
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: