Details

      Description

      Steps to Reproduce:
      On JSF:

      • Go to Search tab
      • In the Text Search field, enter the name of a document that exists already.
        => Error page displays with the following message:

        An error occurred.
        An unexpected error occurred. Click on the following links to get more information or go back to the application.

      On Web UI:

      • Click on the Search item in the left menu.
      • In the Full Text field, enter the name of a document that exists already.
        => No results appear.

      Server logs show the following error:

      2018-06-22 12:17:23,246 ERROR [http-nio-0.0.0.0-8080-exec-26] [org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] java.lang.IllegalArgumentException: Unknown NamedWriteable [org.elasticsearch.index.query.QueryBuilder][^Db]
      java.lang.IllegalArgumentException: Unknown NamedWriteable [org.elasticsearch.index.query.QueryBuilder][^Db]
              at org.elasticsearch.common.io.stream.NamedWriteableRegistry.getReader(NamedWriteableRegistry.java:112)
              at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:45)
              at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:39)
              at org.elasticsearch.index.query.AbstractQueryBuilder.readQueries(AbstractQueryBuilder.java:256)
              at org.elasticsearch.index.query.BoolQueryBuilder.<init>(BoolQueryBuilder.java:90)
              at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:46)
              at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:39)
              at org.elasticsearch.index.query.AbstractQueryBuilder.readQueries(AbstractQueryBuilder.java:256)
              at org.elasticsearch.index.query.BoolQueryBuilder.<init>(BoolQueryBuilder.java:90)
              at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:46)
              at org.elasticsearch.common.io.stream.NamedWriteableAwareStreamInput.readNamedWriteable(NamedWriteableAwareStreamInput.java:39)
              at org.elasticsearch.common.io.stream.StreamInput.readOptionalNamedWriteable(StreamInput.java:852)
              at org.elasticsearch.search.builder.SearchSourceBuilder.<init>(SearchSourceBuilder.java:197)
              at org.elasticsearch.common.io.stream.StreamInput.readOptionalWriteable(StreamInput.java:711)
              at org.elasticsearch.action.search.SearchRequest.readFrom(SearchRequest.java:397)
              at org.elasticsearch.transport.TcpTransport.handleRequest(TcpTransport.java:1487)
              at org.elasticsearch.transport.TcpTransport.messageReceived(TcpTransport.java:1374)
              at org.elasticsearch.transport.netty4.Netty4MessageChannelHandler.channelRead(Netty4MessageChannelHandler.java:74)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
              at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
              at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
              at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:297)
              at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:413)
              at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
              at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
              at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
              at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
              at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
              at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
              at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:134)
              at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:644)
              at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:544)
              at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:498)
              at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458)
              at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
              at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m