Uploaded image for project: 'edge-connexion'
  1. edge-connexion
  2. EDGCONX-11

Fail to export from OCLC Connexion browser client

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • 1.0.1
    • 1.0.2, 1.1.0
    • None
    • Mjolnir

    Description

      When exporting a record using the OCLC Connexion browser client, the client reports "Record Exported", but the record is not loaded into the target system. The edge-connexion log reports:

      19:51:54 ERROR ?                    Unhandled exception
      java.lang.IllegalArgumentException: end must be greater or equal than start
      	at io.vertx.core.impl.Arguments.require(Arguments.java:29) ~[edge-connexion-fat.jar:?]
      	at io.vertx.core.buffer.impl.BufferImpl.getBytes(BufferImpl.java:222) ~[edge-connexion-fat.jar:?]
      	at io.vertx.core.buffer.impl.BufferImpl.getBuffer(BufferImpl.java:251) ~[edge-connexion-fat.jar:?]
      	at org.folio.edge.connexion.ConnexionRequest.handle(ConnexionRequest.java:81) ~[edge-connexion-fat.jar:?]
      	at org.folio.edge.connexion.MainVerticle.lambda$start$7(MainVerticle.java:107) ~[edge-connexion-fat.jar:?]
      	at io.vertx.core.net.impl.NetSocketImpl$DataMessageHandler.handle(NetSocketImpl.java:397) ~[edge-connexion-fat.jar:?]
      	at io.vertx.core.net.impl.NetSocketImpl.lambda$new$1(NetSocketImpl.java:90) ~[edge-connexion-fat.jar:?]
      	at io.vertx.core.streams.impl.InboundBuffer.handleEvent(InboundBuffer.java:240) ~[edge-connexion-fat.jar:?]
      	at io.vertx.core.streams.impl.InboundBuffer.write(InboundBuffer.java:130) ~[edge-connexion-fat.jar:?]
      	at io.vertx.core.net.impl.NetSocketImpl.lambda$handleMessage$9(NetSocketImpl.java:378) ~[edge-connexion-fat.jar:?]
      	at io.vertx.core.impl.EventLoopContext.emit(EventLoopContext.java:52) [edge-connexion-fat.jar:?]
      	at io.vertx.core.impl.ContextImpl.emit(ContextImpl.java:294) [edge-connexion-fat.jar:?]
      	at io.vertx.core.impl.EventLoopContext.emit(EventLoopContext.java:24) [edge-connexion-fat.jar:?]
      	at io.vertx.core.net.impl.NetSocketImpl.handleMessage(NetSocketImpl.java:377) [edge-connexion-fat.jar:?]
      	at io.vertx.core.net.impl.ConnectionBase.read(ConnectionBase.java:153) [edge-connexion-fat.jar:?]
      	at io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:148) [edge-connexion-fat.jar:?]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [edge-connexion-fat.jar:?]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [edge-connexion-fat.jar:?]
      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [edge-connexion-fat.jar:?]
      	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) [edge-connexion-fat.jar:?]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [edge-connexion-fat.jar:?]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [edge-connexion-fat.jar:?]
      	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) [edge-connexion-fat.jar:?]
      	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [edge-connexion-fat.jar:?]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) [edge-connexion-fat.jar:?]
      	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) [edge-connexion-fat.jar:?]
      	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [edge-connexion-fat.jar:?]
      	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) [edge-connexion-fat.jar:?]
      	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714) [edge-connexion-fat.jar:?]
      	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650) [edge-connexion-fat.jar:?]
      	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576) [edge-connexion-fat.jar:?]
      	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) [edge-connexion-fat.jar:?]
      	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [edge-connexion-fat.jar:?]
      	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [edge-connexion-fat.jar:?]
      	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [edge-connexion-fat.jar:?]
      	at java.lang.Thread.run(Thread.java:834) [?:?]
      

      Tested against both edge-connexion-1.0.1 and head of master (on folio-snapshot).

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                adam Adam Dickmeiss (Inactive)
                wayne Wayne Schneider
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases