[Codenarc-user] Unable to use CodeNarc Web Console
Brought to you by:
chrismair
From: Roshan D. <ros...@gm...> - 2011-07-04 12:12:48
|
Hi, I am trying to use CodeNarc Web Console first time today, and am wondering if I am using it right. I am trying to run the following piece of code: --------------------------------------------------------------------- class Dummy {} def d = new Dummy() --------------------------------------------------------------------- and it seems to be resulting in: --------------------------------------------------------------------- java.lang.IllegalAccessException: Reflection is not allowed on java.lang.String java.lang.ThreadGroup.name at org.codenarc.rule.concurrency.ThreadGroupAstVisitor.isConstructorNamed(ThreadGroupRule.groovy:57) at org.codenarc.rule.concurrency.ThreadGroupAstVisitor.visitConstructorCallExpression(ThreadGroupRule.groovy:40) at org.codenarc.rule.AbstractAstVisitor.super$3$visitConstructorOrMethod(AbstractAstVisitor.groovy) at org.codenarc.rule.AbstractAstVisitor$_visitConstructorOrMethod_closure4.doCall(AbstractAstVisitor.groovy:186) at org.codenarc.rule.AbstractAstVisitor$_visitConstructorOrMethod_closure4.doCall(AbstractAstVisitor.groovy) --------------------------------------------------------------------- -- Roshan Blog: http://roshandawrani.wordpress.com/ Twitter: @roshandawrani <http://twitter.com/roshandawrani> Skype: roshandawrani |