You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Nelson Costa (JIRA)" <ji...@apache.org> on 2018/01/24 15:42:00 UTC

[jira] [Created] (ZEPPELIN-3189) Cannot run paragraph via API

Nelson Costa created ZEPPELIN-3189:
--------------------------------------

             Summary: Cannot run paragraph via API
                 Key: ZEPPELIN-3189
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3189
             Project: Zeppelin
          Issue Type: Bug
          Components: rest-api
    Affects Versions: 0.8.0
            Reporter: Nelson Costa
            Assignee: Nelson Costa
             Fix For: 0.8.0


NPE when running curl command after init:

Request:
{noformat}
curl -i -X POST http://localhost:8080/api/notebook/run/2D6M5CB83/20180119-153031_1637783067
{noformat}

Response:
{noformat}
HTTP/1.1 500 Request failed.
{noformat}
 
Logs:
{noformat}
ERROR [2018-01-24 15:34:28,603] ({qtp2028017635-16} Job.java[run]:188) - Job failed
java.lang.NullPointerException
	at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:380)
	at org.apache.zeppelin.scheduler.Job.run(Job.java:186)
	at org.apache.zeppelin.rest.NotebookRestApi.runParagraphSynchronously(NotebookRestApi.java:800)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
{noformat}

How to reproduce:
1. Checkout latest master (commit c9df68cf5c0f0e9e)
2. Build Zep (mvn clean package -DskipTests)
3. Start Zep
4. Run curl command in shell




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)