Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-357

Livy UI throw MIME type exception

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: Server
    • Labels:
      None

      Description

      17/05/10 11:01:37 WARN util.MimeTypes$: There was an error detecting the mime type.
      eu.medsea.mimeutil.MimeException: InputStream must support the mark() and reset() methods.
      	at eu.medsea.mimeutil.MimeUtil2.getMimeTypes(MimeUtil2.java:495)
      	at org.scalatra.util.Mimes$$anonfun$inputStreamMime$1.apply(Mimes.scala:54)
      	at org.scalatra.util.Mimes$$anonfun$inputStreamMime$1.apply(Mimes.scala:54)
      	at scala.util.control.Exception$Catch.apply(Exception.scala:102)
      	at org.scalatra.util.Mimes$class.detectMime(Mimes.scala:87)
      	at org.scalatra.util.Mimes$class.inputStreamMime(Mimes.scala:53)
      	at org.scalatra.util.MimeTypes$.inputStreamMime(Mimes.scala:102)
      	at org.scalatra.util.Mimes$class.apply(Mimes.scala:96)
      	at org.scalatra.util.MimeTypes$.apply(Mimes.scala:102)
      	at org.scalatra.ScalatraBase$$anonfun$contentTypeInferrer$1.applyOrElse(ScalatraBase.scala:381)
      	at scala.PartialFunction$Lifted.apply(PartialFunction.scala:218)
      	at scala.PartialFunction$Lifted.apply(PartialFunction.scala:214)
      	at org.scalatra.ScalatraBase$class.renderResponse(ScalatraBase.scala:363)
      	at org.scalatra.ScalatraServlet.renderResponse(ScalatraServlet.scala:49)
      	at org.scalatra.ScalatraBase$class.executeRoutes(ScalatraBase.scala:189)
      	at org.scalatra.ScalatraServlet.executeRoutes(ScalatraServlet.scala:49)
      	at org.scalatra.ScalatraBase$$anonfun$handle$1.apply$mcV$sp(ScalatraBase.scala:113)
      	at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
      	at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
      	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
      	at org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:80)
      	at org.scalatra.ScalatraServlet.withResponse(ScalatraServlet.scala:49)
      	at org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:60)
      	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:57)
      	at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
      	at org.scalatra.ScalatraServlet.withRequest(ScalatraServlet.scala:49)
      	at org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:59)
      	at org.scalatra.ScalatraServlet.withRequestResponse(ScalatraServlet.scala:49)
      	at org.scalatra.ScalatraBase$class.handle(ScalatraBase.scala:111)
      	at org.scalatra.ScalatraServlet.org$scalatra$servlet$ServletBase$$super$handle(ScalatraServlet.scala:49)
      	at org.scalatra.servlet.ServletBase$class.handle(ServletBase.scala:43)
      	at org.scalatra.ScalatraServlet.handle(ScalatraServlet.scala:49)
      	at org.scalatra.ScalatraServlet.service(ScalatraServlet.scala:54)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      	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:499)
      	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
      	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            • Assignee:
              ajbozarth Alex Bozarth
              Reporter:
              jerryshao Saisai Shao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: