Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: f4-import-export
    • Labels:
      None

      Description

      On HEAD as of 317db67dae692d0709b4f9e3a7de2a56930d059c

      Imported plantplatents dataset, successfully exported dataset with:

      [nruest@simian:fcrepo-import-export] (git)-[master]-$ java -jar target/fcrepo-import-export-0.0.1-SNAPSHOT.jar --mode export --resource http://localhost:8080/rest --descDir /tmp/awead --binDir /tmp/awead --rdfExt .jsonld --rdfLang application/ld+json

      Shutdown fcrepo, clear fcrepo-data.

      On import:

      $ java -jar target/fcrepo-import-export-0.0.1-SNAPSHOT.jar --mode import --resource http://localhost:8080/rest --descDir /tmp/awead --binDir /tmp/awead --rdfExt .jsonld --rdfLang application/ld+json
      INFO 11:10:07.746 (ArgParser) Configuration file exists, new file will NOT be created: /tmp/importexport.config
      INFO 11:10:07.750 (Importer) Running importer...
      INFO 11:10:08.292 (Importer) Importing container /tmp/awead/rest/plantpatents.jsonld to http://localhost:8080/rest/plantpatents
      ERROR 11:10:08.894 (ImportExportDriver) Error performing import/export: Error while importing /tmp/awead/rest/plantpatents.jsonld (500):

      Fedora stacktrace:

      INFO 11:07:19.933 (FedoraLdp) GET resource ''
      INFO 11:10:08.557 (FedoraLdp) PUT resource 'plantpatents'
      WARN 11:10:08.685 (PropertyConverter) The namespace of predicate: http://pcdm.org/models#hasMember was possibly misinterpreted as: http://pcdm.org/models#.
      [qtp210100675-21] WARN org.eclipse.jetty.server.HttpChannel - Commit failed
      java.io.IOException: Response header too large
      at org.eclipse.jetty.http.HttpGenerator.generateResponse(HttpGenerator.java:394)
      at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:599)
      at org.eclipse.jetty.util.IteratingCallback.processIterations(IteratingCallback.java:233)
      at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:193)
      at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:448)
      at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:764)
      at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:802)
      at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:139)
      at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:132)
      at org.eclipse.jetty.server.HttpOutput.flush(HttpOutput.java:234)
      at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.flush(ResponseWriter.java:330)
      at org.glassfish.jersey.message.internal.CommittingOutputStream.flush(CommittingOutputStream.java:292)
      at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.flush(WriterInterceptorExecutor.java:304)
      at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
      at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
      at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
      at org.glassfish.jersey.message.internal.ReaderWriter.writeToAsString(ReaderWriter.java:193)
      at org.glassfish.jersey.message.internal.AbstractMessageReaderWriterProvider.writeToAsString(AbstractMessageReaderWriterProvider.java:130)
      at org.glassfish.jersey.message.internal.StringMessageProvider.writeTo(StringMessageProvider.java:99)
      at org.glassfish.jersey.message.internal.StringMessageProvider.writeTo(StringMessageProvider.java:59)
      at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265)
      at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250)
      at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
      at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:106)
      at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
      at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:86)
      at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
      at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130)
      at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:711)
      at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:444)
      at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:490)
      at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:334)
      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
      at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
      at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
      at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
      at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)
      at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)
      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
      at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      at org.eclipse.jetty.server.Server.handle(Server.java:497)
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)
      at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:610)
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:539)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.nio.BufferOverflowException
      at java.nio.Buffer.nextPutIndex(Buffer.java:521)
      at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:169)
      at org.eclipse.jetty.http.HttpGenerator.putSanitisedValue(HttpGenerator.java:1051)
      at org.eclipse.jetty.http.HttpGenerator.putTo(HttpGenerator.java:1073)
      at org.eclipse.jetty.http.HttpGenerator.generateHeaders(HttpGenerator.java:697)
      at org.eclipse.jetty.http.HttpGenerator.generateResponse(HttpGenerator.java:379)
      ... 64 more
      Sep 20, 2016 11:10:08 AM org.glassfish.jersey.server.ServerRuntime$Responder writeResponse
      SEVERE: An I/O error has occurred while writing a response message entity to the container output stream.
      org.glassfish.jersey.server.internal.process.MappableException: java.io.IOException: Response header too large
      at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:92)
      at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
      at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130)
      at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:711)
      at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:444)
      at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:490)
      at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:334)
      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
      at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
      at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
      at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
      at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)
      at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)
      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)
      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)
      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
      at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      at org.eclipse.jetty.server.Server.handle(Server.java:497)
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)
      at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:610)
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:539)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.io.IOException: Response header too large
      at org.eclipse.jetty.http.HttpGenerator.generateResponse(HttpGenerator.java:394)
      at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:599)
      at org.eclipse.jetty.util.IteratingCallback.processIterations(IteratingCallback.java:233)
      at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:193)
      at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:448)
      at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:764)
      at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:802)
      at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:139)
      at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:132)
      at org.eclipse.jetty.server.HttpOutput.flush(HttpOutput.java:234)
      at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.flush(ResponseWriter.java:330)
      at org.glassfish.jersey.message.internal.CommittingOutputStream.flush(CommittingOutputStream.java:292)
      at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.flush(WriterInterceptorExecutor.java:304)
      at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
      at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
      at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
      at org.glassfish.jersey.message.internal.ReaderWriter.writeToAsString(ReaderWriter.java:193)
      at org.glassfish.jersey.message.internal.AbstractMessageReaderWriterProvider.writeToAsString(AbstractMessageReaderWriterProvider.java:130)
      at org.glassfish.jersey.message.internal.StringMessageProvider.writeTo(StringMessageProvider.java:99)
      at org.glassfish.jersey.message.internal.StringMessageProvider.writeTo(StringMessageProvider.java:59)
      at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265)
      at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250)
      at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
      at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:106)
      at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
      at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:86)
      ... 39 more
      Caused by: java.nio.BufferOverflowException
      at java.nio.Buffer.nextPutIndex(Buffer.java:521)
      at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:169)
      at org.eclipse.jetty.http.HttpGenerator.putSanitisedValue(HttpGenerator.java:1051)
      at org.eclipse.jetty.http.HttpGenerator.putTo(HttpGenerator.java:1073)
      at org.eclipse.jetty.http.HttpGenerator.generateHeaders(HttpGenerator.java:697)
      at org.eclipse.jetty.http.HttpGenerator.generateResponse(HttpGenerator.java:379)
      ... 64 more


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                awoods Andrew Woods
                Reporter:
                nruest Nick Ruest
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: