Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3742

Python and Ruby language bundle throw exception with sling scripting console

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Console, Extensions
    • None

    Description

      When running Ruby and Python language bundles from contrib/scripting with sling scripting console I am getting following exception

      java.lang.NullPointerException
      at org.apache.sling.scripting.python.PythonScriptEngine.eval(PythonScriptEngine.java:69)
      at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)
      at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)
      at org.apache.sling.scripting.console.internal.ScriptConsolePlugin.doPost(ScriptConsolePlugin.java:112)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:526)
      at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:450)
      at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96)
      at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)
      at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42)

      Attachments

        1. SLING-3742.patch
          1 kB
          Nitin Nizhawan

        Activity

          People

            chetanm Chetan Mehrotra
            nnizhawa Nitin Nizhawan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: