Re: [Codenarc-user] Unable to use CodeNarc Web Console
Brought to you by:
chrismair
From: Hamlet D. <ham...@ca...> - 2011-07-04 12:56:16
|
OK, I will try and fix this. It looks like reflection is being used and GAE doesn't like that. ----- Original Message ----- > > 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 > Skype: roshandawrani > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously > valuable. > Why? It contains a definitive record of application performance, > security > threats, fraudulent activity, and more. Splunk takes this data and > makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Codenarc-user mailing list > Cod...@li... > https://lists.sourceforge.net/lists/listinfo/codenarc-user > |