- marked as critical
[f.g.j.p.runner.rest.PHPRunnerRest] Exception while executing script: null java.lang.NullPointerException
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)
-
reporter -
repo owner Hi Kai,
There are two console, one for PHP and another for Groovy, please use the groovy console for your script.
-
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
-
repo owner - changed status to resolved
-
repo owner - changed status to open
-
repo owner Is script runner add-ons installed in your JIRA?
-
reporter Yes It is
-
repo owner - changed status to resolved
That will be fixed in next version, it should be online tomorrow.
-
repo owner - changed component to code-runner
- edited description
- Log in to comment