[f.g.j.p.runner.rest.PHPRunnerRest] Exception while executing script: null java.lang.NullPointerException

Issue #12 resolved
Kai Stibitz created an issue

This Sample works fine with php but chrashes as groovy in console

import org.apache.log4j.Category

def Category log = Category.getInstance("com.onresolve.jira.groovy") log.setLevel(org.apache.log4j.Level.DEBUG) log.debug("debug statements") log.warn("Logging!") log.error("Logging!") log.fatal("Logging!")

[f.g.j.p.runner.rest.PHPRunnerRest] Exception while executing script: null java.lang.NullPointerException at fr.gfi.jira.plugins.runner.rest.PHPRunnerRest.run(PHPRunnerRest.java:205)

Comments (9)

  1. Haithem SOUALA repo owner

    Hi Kai,

    There are two console, one for PHP and another for Groovy, please use the groovy console for your script.

  2. Kai Stibitz reporter

    I Know and I uses the groovy Console. Every groovy Script throws this exception:

    [f.g.j.p.runner.rest.PHPRunnerRest] Exception while executing script: null

  3. Log in to comment