Sonar Update 3.0
Sommaire
Votre avis
Nobody voted on this yet
|
|
Téléchargement et installation
Après avoir téléchargée l'archive depuis le site de sonar, puis décompressée, il faut lancer le script build-war.sh
, situé dans le répertoire war
qui va générer le fichier war à installer dans le serveur Tomcat.
Attention à bien vérifier les compatibilités de versions des différents plugins installés. Par exemple, le plugin Sonargraph
était installé. Après la mise à jour, Sonar ne démarrait plus. Il faut donc penser à désinstaller les plugins avant la migration.
Ce script permet de construire le war à déployer. Cependant, la variable d'environnement sonarHome est construite avec le fichier de configuration build.xml
.
<pathconvert targetos="unix" property="sonarHome">
<path location="${basedir}/.."/>
</pathconvert>
Donc, le répertoire de décompression "devrait" être dans un sous répertoire du "home" de Sonar. Dans le cadre de cette utilisation le "home" se situe à l'emplacement /var/opt/sonar
. Le paramétrage dans le build.xml
<pathconvert targetos="unix" property="sonarHome">
<!-- <path location="${basedir}/.."/> -->
<path location="/var/opt/sonar"/>
</pathconvert>
#./build-war.sh Buildfile: build.xml clean: war: [mkdir] Created dir: /home/etienne/install/sonar/sonar-3.0/war/build/sonar-server [copy] Copying 2127 files to /home/etienne/install/sonar/sonar-3.0/war/build/sonar-server [copy] Copying 4 files to /home/etienne/install/sonar/sonar-3.0/war/build/sonar-server/WEB-INF/lib [war] Building war: /home/etienne/install/sonar/sonar-3.0/war/sonar.war [echo] [echo] ----------------------------------------------------------------------------------------------------------- [echo] sonar.war is ready to be deployed. It is linked to the Sonar home directory: [echo] /var/opt/sonar [echo] [echo] IMPORTANT NOTES : [echo] * supported web servers are Jetty and Tomcat 5.x/6.x/7.x [echo] * the web application uses the Sonar home directory. For this reason it must be deployed on this host only. [echo] * the war file must be rebuilt when : [echo] - the Sonar home directory is moved to other location [echo] - sonar is upgraded to a new version [echo] ----------------------------------------------------------------------------------------------------------- [echo] BUILD SUCCESSFUL Total time: 12 seconds
Le fichier sonar-war.properties
dans WEB-INF/classes
dans le war doit contenir la valeur du "home" modifié précédement:
# This file is used only when deploying the webapp to an application server.
# It is ignored when using the standalone mode shipped by default.
# Path to Sonar installation directory, if the environment variable/system property SONAR_HOME is not defined
SONAR_HOME=/var/opt/sonar
L'installation du war s'effectue par simple copie dans le répertoire webapps
de Tomcat.
#sudo rm -rf /var/lib/tomcat6/webapps/sonar* #sudo cp sonar.war /var/lib/tomcat6/webapps/ #sudo chown tomcat6:tomcat6 /var/lib/tomcat6/webapps/sonar.war
Plugins
Il faut ensuite mettre à jour les extensions et plugins installés. Ceux-ci se trouvent dans le "home" spécifié au niveau du fichier sonar-war.properties
. Attention à ne pas supprimer les extensions téléchargées dans le répertoire SONAR_HOME/extensions/plugins/
, soit /var/opt/sonar/extensions/plugins
.
#sudo rm -rf /var/opt/sonar/extensions/jdbc-driver #sudo rm -rf /var/opt/sonar/extensions/rules #sudo rm -f /var/opt/sonar/lib/*.jar #sudo rm -f /var/opt/sonar/lib/core-plugins/*.jar #sudo rm -f /var/opt/sonar/lib/deprecated-maven-plugin/*.jar #sudo cp -r extensions/jdbc-driver /var/opt/sonar/extensions/jdbc-driver #sudo cp -r extensions/rules /var/opt/sonar/extensions/rules #sudo cp lib/*.jar /var/opt/sonar/lib #sudo cp lib/core-plugins/*.jar /var/opt/sonar/lib/core-plugins #sudo chown -R tomcat6:tomcat6 /var/opt/sonar/extensions/* #sudo chown tomcat6:tomcat6 /var/opt/sonar/lib/*.jar #sudo chown tomcat6:tomcat6 /var/opt/sonar/lib/core-plugins/*.jar
Problèmes post installation
Si le plugin utilisé dans les projets Maven est org.codehaus.sonar.sonar-maven-plugin
, il est nécessaire de mettre à jour l'ensemble des fichiers pom.xml
. La page Sonar Maven Plugin présente la mise en place d'une variable golbale, permettant de ne modifier qu'une seule variable appliquée aux projets.
Si le plugin utilisé est org.codehaus.mojo.sonar-maven-plugin
, il n'est plus nécessaire de modifier la version. Ce plugin se charge de chercher la bonne version.
Comme indiqué en préambule de la mise à jour, le plugin Sonargraph
provoquait une erreur après la mise à jour de la base de données.
2012.04.28 10:59:52 ERROR o.s.s.p.Platform The following rule (repository: Sonargraph) must have a description: Rule[id=<null>,name=Sonargraph Architecture Violation,key=sonargraph.architecture,configKey=sonargraph.architecture,plugin=Sonargraph,enabled=true,severity=MAJOR,cardinality=SINGLE] org.sonar.api.utils.SonarException: The following rule (repository: Sonargraph) must have a description: Rule[id=<null>,name=Sonargraph Architecture Violation,key=sonargraph.architecture,configKey=sonargraph.architecture,plugin=Sonargraph,enabled=true,severity=MAJOR,cardinality=SINGLE] at org.sonar.server.startup.RegisterRules.validateRule(RegisterRules.java:121) ~[RegisterRules.class:na] at org.sonar.server.startup.RegisterRules.registerRepository(RegisterRules.java:98) ~[RegisterRules.class:na] at org.sonar.server.startup.RegisterRules.start(RegisterRules.java:61) ~[RegisterRules.class:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26] at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110) ~[picocontainer-2.14.1.jar:na] at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89) ~[picocontainer-2.14.1.jar:na] at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84) ~[picocontainer-2.14.1.jar:na] at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169) ~[picocontainer-2.14.1.jar:na] at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132) ~[picocontainer-2.14.1.jar:na] at org.picocontainer.behaviors.Stored.start(Stored.java:110) ~[picocontainer-2.14.1.jar:na] at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1009) ~[picocontainer-2.14.1.jar:na] at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1002) ~[picocontainer-2.14.1.jar:na] at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:760) ~[picocontainer-2.14.1.jar:na] at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:70) ~[sonar-plugin-api-3.0.jar:na] at org.sonar.server.platform.Platform.executeStartupTasks(Platform.java:238) ~[Platform.class:na] at org.sonar.server.platform.Platform.start(Platform.java:117) ~[Platform.class:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26] at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:508) [jruby-complete-1.6.1.jar:na] at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:368) [jruby-complete-1.6.1.jar:na] at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:49) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.IfNode.interpret(IfNode.java:119) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.IfNode.interpret(IfNode.java:119) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:171) [jruby-complete-1.6.1.jar:na] at org.jruby.RubyClass.finvoke(RubyClass.java:522) [jruby-complete-1.6.1.jar:na] at org.jruby.RubyBasicObject.send(RubyBasicObject.java:2746) [jruby-complete-1.6.1.jar:na] at org.jruby.RubyKernel.send(RubyKernel.java:2052) [jruby-complete-1.6.1.jar:na] at org.jruby.RubyKernel$s$send.call(RubyKernel$s$send.gen:65535) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrNBlock.call(JavaMethod.java:266) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.IfNode.interpret(IfNode.java:117) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.VCallNode.interpret(VCallNode.java:85) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.IfNode.interpret(IfNode.java:119) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:276) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:211) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:205) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.FCallThreeArgNode.interpret(FCallThreeArgNode.java:40) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.VCallNode.interpret(VCallNode.java:85) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:295) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:229) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.Block.yieldSpecific(Block.java:99) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.ZYieldNode.interpret(ZYieldNode.java:25) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:295) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:229) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.Block.yieldSpecific(Block.java:99) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.ZYieldNode.interpret(ZYieldNode.java:25) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:171) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.WrapperMethod.call(WrapperMethod.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:112) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:123) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.FCallNoArgBlockNode.interpret(FCallNoArgBlockNode.java:32) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:171) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:112) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:123) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.ArrayNode.interpretPrimitive(ArrayNode.java:94) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.ArrayNode.interpret(ArrayNode.java:84) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.LocalAsgnNode.interpret(LocalAsgnNode.java:123) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.IfNode.interpret(IfNode.java:117) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.VCallNode.interpret(VCallNode.java:85) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.VCallNode.interpret(VCallNode.java:85) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:171) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:81) [jruby-complete-1.6.1.jar:na] at org.jruby.RubyClass.finvoke(RubyClass.java:522) [jruby-complete-1.6.1.jar:na] at org.jruby.RubyBasicObject.send(RubyBasicObject.java:2746) [jruby-complete-1.6.1.jar:na] at org.jruby.RubyKernel.send(RubyKernel.java:2052) [jruby-complete-1.6.1.jar:na] at org.jruby.RubyKernel$s$send.call(RubyKernel$s$send.gen:65535) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrOneOrNBlock.call(JavaMethod.java:266) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.FCallSpecialArgNode.interpret(FCallSpecialArgNode.java:39) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:276) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:211) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:205) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.FCallSpecialArgNode.interpret(FCallSpecialArgNode.java:43) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:195) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:66) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:171) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:233) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:195) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:171) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.FCallTwoArgNode.interpret(FCallTwoArgNode.java:38) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:62) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BeginNode.interpret(BeginNode.java:83) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.VCallNode.interpret(VCallNode.java:85) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:328) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.BlockBody.call(BlockBody.java:73) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.Block.call(Block.java:89) [jruby-complete-1.6.1.jar:na] at org.jruby.RubyProc.call(RubyProc.java:268) [jruby-complete-1.6.1.jar:na] at org.jruby.RubyProc.call(RubyProc.java:228) [jruby-complete-1.6.1.jar:na] at org.jruby.RubyProc$i$0$0$call.call(RubyProc$i$0$0$call.gen:65535) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:209) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:205) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:111) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:374) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:295) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.InterpretedBlock.yieldSpecific(InterpretedBlock.java:229) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.Block.yieldSpecific(Block.java:99) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.ZYieldNode.interpret(ZYieldNode.java:25) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:171) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:112) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:118) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallNoArgBlockPassNode.interpret(CallNoArgBlockPassNode.java:53) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.IfNode.interpret(IfNode.java:119) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:169) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:171) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:112) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:123) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallNoArgBlockNode.interpret(CallNoArgBlockNode.java:64) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.ToAryNode.interpret(ToAryNode.java:69) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.MultipleAsgnNode.interpret(MultipleAsgnNode.java:127) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.ToAryNode.interpret(ToAryNode.java:69) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.MultipleAsgnNode.interpret(MultipleAsgnNode.java:127) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.EnsureNode.interpret(EnsureNode.java:96) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BeginNode.interpret(BeginNode.java:83) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.RescueNode.executeBody(RescueNode.java:216) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:120) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.IfNode.interpret(IfNode.java:117) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.FCallOneArgNode.interpret(FCallOneArgNode.java:36) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.IfNode.interpret(IfNode.java:117) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.BlockNode.interpret(BlockNode.java:71) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:137) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) [jruby-complete-1.6.1.jar:na] at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:103) [jruby-complete-1.6.1.jar:na] at org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:190) [jruby-complete-1.6.1.jar:na] at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:179) [jruby-complete-1.6.1.jar:na] at org.jruby.RubyClass.finvoke(RubyClass.java:685) [jruby-complete-1.6.1.jar:na] at org.jruby.javasupport.util.RuntimeHelpers.invoke(RuntimeHelpers.java:548) [jruby-complete-1.6.1.jar:na] at org.jruby.RubyBasicObject.callMethod(RubyBasicObject.java:358) [jruby-complete-1.6.1.jar:na] at org.jruby.javasupport.JavaEmbedUtils$1.callMethod(JavaEmbedUtils.java:143) [jruby-complete-1.6.1.jar:na] at org.jruby.rack.DefaultRackApplication.__call(DefaultRackApplication.java:68) [jruby-rack-1.0.0.1.jar:na] at org.jruby.rack.DefaultRackApplication.call(DefaultRackApplication.java:42) [jruby-rack-1.0.0.1.jar:na] at org.jruby.rack.DefaultRackDispatcher.process(DefaultRackDispatcher.java:29) [jruby-rack-1.0.0.1.jar:na] at org.jruby.rack.RackFilter.doFilter(RackFilter.java:63) [jruby-rack-1.0.0.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32] at org.sonar.server.ui.DatabaseSessionFilter.doFilter(DatabaseSessionFilter.java:34) [DatabaseSessionFilter.class:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32] at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:78) [jetty-util-6.1.25.jar:6.1.25] at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:131) [jetty-util-6.1.25.jar:6.1.25] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina-6.0.32.jar:6.0.32] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.32.jar:6.0.32] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina-6.0.32.jar:6.0.32] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina-6.0.32.jar:6.0.32] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina-6.0.32.jar:6.0.32] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina-6.0.32.jar:6.0.32] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina-6.0.32.jar:6.0.32] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:300) [catalina-6.0.32.jar:6.0.32] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) [tomcat-coyote-6.0.32.jar:6.0.32] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [tomcat-coyote-6.0.32.jar:6.0.32] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote-6.0.32.jar:6.0.32] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26] 2012.04.28 10:59:52 ERROR o.s.s.ui.JRubyFacade Fail to render: http://www.jouvinio.net/sonar/setup/setup_database org.sonar.api.utils.SonarException: The following rule (repository: Sonargraph) must have a description: Rule[id=<null>,name=Sonargraph Architecture Violation,key=sonargraph.architecture,configKey=sonargraph.architecture,plugin=Sonargraph,enabled=true,severity=MAJOR,cardinality=SINGLE] org/sonar/server/startup/RegisterRules.java:121:in `validateRule' org/sonar/server/startup/RegisterRules.java:98:in `registerRepository' org/sonar/server/startup/RegisterRules.java:61:in `start' sun/reflect/NativeMethodAccessorImpl.java:-2:in `invoke0' sun/reflect/NativeMethodAccessorImpl.java:39:in `invoke' sun/reflect/DelegatingMethodAccessorImpl.java:25:in `invoke' java/lang/reflect/Method.java:597:in `invoke' org/picocontainer/lifecycle/ReflectionLifecycleStrategy.java:110:in `invokeMethod' org/picocontainer/lifecycle/ReflectionLifecycleStrategy.java:89:in `start' org/picocontainer/injectors/AbstractInjectionFactory.java:84:in `start' org/picocontainer/behaviors/AbstractBehavior.java:169:in `start' org/picocontainer/behaviors/Stored.java:132:in `start' org/picocontainer/behaviors/Stored.java:110:in `start' org/picocontainer/DefaultPicoContainer.java:1009:in `potentiallyStartAdapter' org/picocontainer/DefaultPicoContainer.java:1002:in `startAdapters' org/picocontainer/DefaultPicoContainer.java:760:in `start' org/sonar/api/platform/ComponentContainer.java:70:in `startComponents' org/sonar/server/platform/Platform.java:238:in `executeStartupTasks' org/sonar/server/platform/Platform.java:117:in `start' /tmp/tomcat6-tmp/0-sonar/WEB-INF/lib/database_version.rb:64:in `upgrade_and_start' /tmp/tomcat6-tmp/0-sonar/WEB-INF/app/controllers/setup_controller.rb:46:in `setup_database' org/jruby/RubyKernel.java:2052:in `send' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/base.rb:1331:in `perform_action' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/filters.rb:617:in `call_filters' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/filters.rb:610:in `perform_action_with_filters' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /var/cache/tomcat6/Catalina/localhost/sonar/loader/META-INF/jruby.home/lib/ruby/1.8/benchmark.rb:308:in `realtime' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb:17:in `ms' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/rescue.rb:160:in `perform_action_with_rescue' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/flash.rb:146:in `perform_action_with_flash' org/jruby/RubyKernel.java:2052:in `send' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process_with_filters' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:437:in `call' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:87:in `dispatch' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:121:in `_call' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack' org/jruby/RubyProc.java:268:in `call' org/jruby/RubyProc.java:228:in `call' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/activerecord/lib/active_record/query_cache.rb:29:in `call' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/activerecord/lib/active_record/query_cache.rb:9:in `cache' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/activerecord/lib/active_record/query_cache.rb:28:in `call' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/string_coercion.rb:25:in `call' /var/cache/tomcat6/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/head.rb:9:in `call' /var/cache/tomcat6/Catalina/localhost/sonar/loader/vendor/rack-1.2.1/rack/methodoverride.rb:24:in `call' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/params_parser.rb:15:in `call' /var/cache/tomcat6/Catalina/localhost/sonar/loader/jruby/rack/session_store.rb:42:in `call' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/failsafe.rb:26:in `call' /tmp/tomcat6-tmp/0-sonar/WEB-INF/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:106:in `call' /var/cache/tomcat6/Catalina/localhost/sonar/loader/rack/adapter/rails.rb:36:in `serve_rails' /var/cache/tomcat6/Catalina/localhost/sonar/loader/rack/adapter/rails.rb:41:in `call' /var/cache/tomcat6/Catalina/localhost/sonar/loader/jruby/rack/rails.rb:185:in `call' /var/cache/tomcat6/Catalina/localhost/sonar/loader/rack/handler/servlet.rb:19:in `call'
L'application ne pouvant plus démarrée, il est devenu impossible de désinstaller le plugin. Sa désinstallation est donc réalisée en supprimant le fichier sonar-sonargraph-plugin-3.0.2.jar
se trouvant dans le répertoire des plugins SONAR_HOME/extensions/plugins
, soit /var/opt/sonar/extensions/plugins
dans le cadre de cette installation.
Mise à jour de la base
Puis il est nécessaire de faire la mise à jour depuis l'URL http://SERVER/sonar/setup.
Voir Aussi
Upgrade Notes: https://docs.sonarqube.org/display/SONARQUBE53/Release+3.0+Upgrade+Notes