[prev in list] [next in list] [prev in thread] [next in thread]
List: groovy-scm
Subject: [groovy-scm] [jira] Assigned: (GROOVY-3711) NPE when using JSR223 implementation
From: "Roshan Dawrani (JIRA)" <jira () codehaus ! org>
Date: 2009-08-30 17:49:41
Message-ID: 14584578.86321251654581652.JavaMail.haus-jira () codehaus01 ! managed ! contegix ! com
[Download RAW message or body]
[ http://jira.codehaus.org/browse/GROOVY-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Roshan Dawrani reassigned GROOVY-3711:
--------------------------------------
Assignee: Roshan Dawrani
> NPE when using JSR223 implementation under some conditions
> ----------------------------------------------------------
>
> Key: GROOVY-3711
> URL: http://jira.codehaus.org/browse/GROOVY-3711
> Project: groovy
> Issue Type: Bug
> Components: JSR / TCK / GLS
> Affects Versions: 1.6.4
> Reporter: Vincent Massol
> Assignee: Roshan Dawrani
> Attachments: 17x_Patch.txt
>
>
> Example:
> {noformat}
> import java.lang.*
> {noformat}
> This causes:
> {noformat}
> ...
> Caused by: javax.script.ScriptException
> at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:306)
> at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:113)
>
> ... 92 more
> Caused by: java.lang.NullPointerException
> at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:253)
> {noformat}
> The reason is that GroovyScriptEngineImpl.getScriptClass() returns null in this \
> case (I tried to understand why but couldn't). Since it's null the eval() method \
> fails at line 253. Note that there was another error hiding this error, this time \
> caused by livetribe, which is now fixed in livetribe 2.0.6. You can see more \
> information here: http://jira.xwiki.org/jira/browse/XWIKI-4246
> Thanks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: \
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
<hr/>
<p>
To unsubscribe from this list please visit:
</p>
<p>
<a href="http://xircles.codehaus.org/manage_email">http://xircles.codehaus.org/manage_email</a>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic