Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-941

jsoup NoSuchMethodError in ZeppelinRDisplay.scala

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.6.0
    • 0.6.0
    • Interpreters
    • None

    Description

      Starting from 1.8.2 version of jsoup, method get(int index) in class org.jsoup.select.Elements has been removed. This leads to following error during execution of %r code:

      ERROR [2016-05-31 19:54:45,980] ({pool-2-thread-6} Job.java[run]:189) - Job failed
      java.lang.NoSuchMethodError: org.jsoup.select.Elements.get(I)Lorg/jsoup/nodes/Element;
              at org.apache.zeppelin.spark.ZeppelinRDisplay$.textDisplay(ZeppelinRDisplay.scala:71)
              at org.apache.zeppelin.spark.ZeppelinRDisplay$.render(ZeppelinRDisplay.scala:55)
              at org.apache.zeppelin.spark.ZeppelinRDisplay.render(ZeppelinRDisplay.scala)
              at org.apache.zeppelin.spark.SparkRInterpreter.interpret(SparkRInterpreter.java:120)
              at org.apache.zeppelin.interpreter.ClassloaderInterpreter.interpret(ClassloaderInterpreter.java:57)
              at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:93)
              at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:345)
              at org.apache.zeppelin.scheduler.Job.run(Job.java:176)
              at org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Arkoniak Andrey Oskin
            Arkoniak Andrey Oskin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment