SonarQube 异常试图呈现系统信息
Posted
技术标签:
【中文标题】SonarQube 异常试图呈现系统信息【英文标题】:SonarQube exception trying to render system info 【发布时间】:2018-09-30 04:57:08 【问题描述】:我今天试图查看本地 SonarQube 系统上的系统信息。什么都没有显示,所以我检查了从页面链接的日志。我在下面找到了输出。我已经好几个月没有更改我的声纳安装了,所以我不知道会发生什么变化,而且我相信自上次升级以来我一直在访问系统信息页面。
有什么想法或者如何解决它?
2018.04.19 10:14:33 ERROR web[rails]
Java::JavaLang::InternalError (java.io.FileNotFoundException: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-2.b16.el6_9.x86_64/jre/lib/ext/cldrdata.jar):
sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:1040)
sun.misc.URLClassPath.getResource(URLClassPath.java:239)
java.net.URLClassLoader$1.run(URLClassLoader.java:365)
java.net.URLClassLoader$1.run(URLClassLoader.java:362)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:361)
java.lang.ClassLoader.loadClass(ClassLoader.java:424)
java.lang.ClassLoader.loadClass(ClassLoader.java:411)
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
java.lang.ClassLoader.loadClass(ClassLoader.java:357)
java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2640)
java.util.ResourceBundle.loadBundle(ResourceBundle.java:1501)
java.util.ResourceBundle.findBundle(ResourceBundle.java:1465)
java.util.ResourceBundle.findBundle(ResourceBundle.java:1419)
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1361)
java.util.ResourceBundle.getBundle(ResourceBundle.java:1082)
java.util.logging.Logger$1.run(Logger.java:1819)
java.util.logging.Logger$1.run(Logger.java:1815)
java.security.AccessController.doPrivileged(Native Method)
java.util.logging.Logger.findSystemResourceBundle(Logger.java:1815)
java.util.logging.Logger.findResourceBundle(Logger.java:1867)
java.util.logging.Logger.setupResourceInfo(Logger.java:1941)
java.util.logging.Logger.<init>(Logger.java:380)
java.util.logging.LogManager$SystemLoggerContext.demandLogger(LogManager.java:925)
java.util.logging.LogManager.demandSystemLogger(LogManager.java:581)
java.util.logging.Logger.getPlatformLogger(Logger.java:576)
java.util.logging.LoggingProxyImpl.getLogger(LoggingProxyImpl.java:41)
sun.util.logging.LoggingSupport.getLogger(LoggingSupport.java:100)
sun.util.logging.PlatformLogger$JavaLoggerProxy.<init>(PlatformLogger.java:602)
sun.util.logging.PlatformLogger$JavaLoggerProxy.<init>(PlatformLogger.java:597)
sun.util.logging.PlatformLogger.<init>(PlatformLogger.java:239)
sun.util.logging.PlatformLogger.getLogger(PlatformLogger.java:198)
sun.net.www.protocol.http.HttpURLConnection.<clinit>(HttpURLConnection.java:431)
sun.net.www.protocol.http.Handler.openConnection(Handler.java:62)
sun.net.www.protocol.http.Handler.openConnection(Handler.java:57)
java.net.URL.openConnection(URL.java:979)
org.apache.commons.io.IOUtils.toByteArray(IOUtils.java:633)
org.apache.commons.io.IOUtils.toByteArray(IOUtils.java:617)
org.sonar.server.platform.monitoring.ProcessSystemInfoClient.connect(ProcessSystemInfoClient.java:53)
org.sonar.server.platform.ws.InfoAction.writeJson(InfoAction.java:81)
org.sonar.server.platform.ws.InfoAction.handle(InfoAction.java:66)
org.sonar.server.ws.WebServiceEngine.execute(WebServiceEngine.java:107)
sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:425)
org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:292)
org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:44)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:70)
rubyjit.Api::JavaWsController$$index_E9F115BCB78D2E226E3015CDA52C1912485D30D01792011778.__file__(app/controllers/api/java_ws_controller.rb:34)
rubyjit.Api::JavaWsController$$index_E9F115BCB78D2E226E3015CDA52C1912485D30D01792011778.__file__(app/controllers/api/java_ws_controller.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:161)
org.jruby.RubyClass.finvoke(RubyClass.java:527)
org.jruby.RubyBasicObject.send(RubyBasicObject.java:2590)
org.jruby.RubyKernel.send(RubyKernel.java:2223)
org.jruby.RubyKernel$INVOKER$s$send.call(RubyKernel$INVOKER$s$send.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:350)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)
rubyjit.ActionController::Base$$perform_action_DA0FC0A901DD1257EC969DB0C482DD8514B8F04B1792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:1333)
rubyjit.ActionController::Base$$perform_action_DA0FC0A901DD1257EC969DB0C482DD8514B8F04B1792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/base.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:141)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:185)
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:306)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:136)
rubyjit.ActionController::Filters::InstanceMethods$$call_filters_A7E1D3FFBF56E3CB7C0EBA850688505249A05AE91792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/filters.rb:617)
rubyjit.ActionController::Filters::InstanceMethods$$call_filters_A7E1D3FFBF56E3CB7C0EBA850688505249A05AE91792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/filters.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:261)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:236)
rubyjit.ActionController::Filters::InstanceMethods$$perform_action_with_filters_4C7C67B4A5564FF5DC76344AF2372660F608839C1792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/filters.rb:610)
rubyjit.ActionController::Filters::InstanceMethods$$perform_action_with_filters_4C7C67B4A5564FF5DC76344AF2372660F608839C1792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/filters.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:141)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:185)
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56)
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:134)
rubyjit.ActionController::Benchmarking$$perform_action_with_benchmark_303676EADF39D1B66CBA6FF2131B0D6C74E043451792011778.block_0$RUBY$__file__(gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb:68)
rubyjit$ActionController::Benchmarking$$perform_action_with_benchmark_303676EADF39D1B66CBA6FF2131B0D6C74E043451792011778$block_0$RUBY$__file__.call(rubyjit$ActionController::Benchmarking$$perform_action_with_benchmark_303676EADF39D1B66CBA6FF2131B0D6C74E043451792011778$block_0$RUBY$__file__)
org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:112)
org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:95)
org.jruby.runtime.CompiledBlock.yieldSpecific(CompiledBlock.java:75)
org.jruby.runtime.Block.yieldSpecific(Block.java:111)
rubyjit$Module$$ms_A9C6E2920290A1221EDA9CE357DE380BBA9B1BD91792011778$block_0$RUBY$__file__.call(rubyjit$Module$$ms_A9C6E2920290A1221EDA9CE357DE380BBA9B1BD91792011778$block_0$RUBY$__file__)
org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:112)
org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:95)
org.jruby.runtime.CompiledBlock.yieldSpecific(CompiledBlock.java:75)
org.jruby.runtime.Block.yieldSpecific(Block.java:111)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:161)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:193)
org.jruby.internal.runtime.methods.WrapperMethod.call(WrapperMethod.java:74)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:143)
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:154)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:161)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:143)
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:154)
rubyjit.ActionController::Benchmarking$$perform_action_with_benchmark_303676EADF39D1B66CBA6FF2131B0D6C74E043451792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb:68)
rubyjit.ActionController::Benchmarking$$perform_action_with_benchmark_303676EADF39D1B66CBA6FF2131B0D6C74E043451792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:141)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:185)
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56)
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:134)
rubyjit.ActionController::Rescue$$perform_action_with_rescue_C881D7FD614DB6154FDE67AADAA1B18CFBA9E44D1792011778.chained_0_rescue_1$RUBY$SYNTHETIC__file__(gems/gems/actionpack-2.3.15/lib/action_controller/rescue.rb:160)
rubyjit.ActionController::Rescue$$perform_action_with_rescue_C881D7FD614DB6154FDE67AADAA1B18CFBA9E44D1792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/rescue.rb)
rubyjit.ActionController::Rescue$$perform_action_with_rescue_C881D7FD614DB6154FDE67AADAA1B18CFBA9E44D1792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/rescue.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:141)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:185)
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56)
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:56)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:134)
rubyjit.ActionController::Flash::InstanceMethods$$perform_action_with_flash_00190F39E4A509D41D1870DF577ADEFF4F2D86E01792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/flash.rb:151)
rubyjit.ActionController::Flash::InstanceMethods$$perform_action_with_flash_00190F39E4A509D41D1870DF577ADEFF4F2D86E01792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/flash.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:161)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:193)
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:81)
org.jruby.RubyClass.finvoke(RubyClass.java:527)
org.jruby.RubyBasicObject.send(RubyBasicObject.java:2590)
org.jruby.RubyKernel.send(RubyKernel.java:2223)
org.jruby.RubyKernel$INVOKER$s$send.call(RubyKernel$INVOKER$s$send.gen)
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:350)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)
org.jruby.runtime.callsite.CachingCallSite.callVarargs(CachingCallSite.java:103)
rubyjit.ActionController::Base$$process_0CD993B4C06E435A5AD30338E2A0816E502066551792011778.chained_0_ensure_1$RUBY$__ensure__(gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:532)
rubyjit.ActionController::Base$$process_0CD993B4C06E435A5AD30338E2A0816E502066551792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/base.rb)
rubyjit.ActionController::Base$$process_0CD993B4C06E435A5AD30338E2A0816E502066551792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/base.rb)
org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:50)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:261)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:233)
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:71)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:236)
org.jruby.runtime.callsite.CachingCallSite.callVarargs(CachingCallSite.java:105)
rubyjit.ActionController::Filters::InstanceMethods$$process_with_filters_77F73D0F3CFC9652FC1D8F99FD6ECB9ACFAEB2BE1792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/filters.rb:606)
rubyjit.ActionController::Filters::InstanceMethods$$process_with_filters_77F73D0F3CFC9652FC1D8F99FD6ECB9ACFAEB2BE1792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/filters.rb)
org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:46)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:221)
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:217)
org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:66)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:202)
rubyjit.ActionController::Base$$process_D1BAE9F2F7D6D00DAEDE9A175F15297655D718711792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:391)
rubyjit.ActionController::Base$$process_D1BAE9F2F7D6D00DAEDE9A175F15297655D718711792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/base.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:221)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:202)
rubyjit.ActionController::Base$$call_8944B8D4A6D3AF4F57DE7885AE3EA09ADFDAED2A1792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:386)
rubyjit.ActionController::Base$$call_8944B8D4A6D3AF4F57DE7885AE3EA09ADFDAED2A1792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/base.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:181)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)
rubyjit.ActionController::Routing::RouteSet$$call_426E45DA86B30E16B94E5379DB9F140F78AE4BF41792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/routing/route_set.rb:450)
rubyjit.ActionController::Routing::RouteSet$$call_426E45DA86B30E16B94E5379DB9F140F78AE4BF41792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/routing/route_set.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:181)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)
rubyjit.ActionController::Dispatcher$$dispatch_8AA750B78C06FEA2C9269E628FA684BF9C3014791792011778.chained_1_rescue_1$RUBY$SYNTHETIC__file__(gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:87)
rubyjit.ActionController::Dispatcher$$dispatch_8AA750B78C06FEA2C9269E628FA684BF9C3014791792011778.chained_0_ensure_1$RUBY$__ensure__(gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb)
rubyjit.ActionController::Dispatcher$$dispatch_8AA750B78C06FEA2C9269E628FA684BF9C3014791792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:85)
rubyjit.ActionController::Dispatcher$$dispatch_8AA750B78C06FEA2C9269E628FA684BF9C3014791792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:141)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:134)
rubyjit.ActionController::Dispatcher$$_call_CD38443163AC875A33B6E9F44AC41E096715B2081792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:121)
rubyjit.ActionController::Dispatcher$$_call_CD38443163AC875A33B6E9F44AC41E096715B2081792011778.__file__(gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:181)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112)
org.jruby.runtime.InterpretedBlock.evalBlockBody(InterpretedBlock.java:384)
org.jruby.runtime.InterpretedBlock.yield(InterpretedBlock.java:336)
org.jruby.runtime.BlockBody.call(BlockBody.java:73)
org.jruby.runtime.Block.call(Block.java:101)
org.jruby.RubyProc.call(RubyProc.java:290)
org.jruby.RubyProc.call(RubyProc.java:224)
org.jruby.RubyProc$INVOKER$i$0$0$call.call(RubyProc$INVOKER$i$0$0$call.gen)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:210)
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:206)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)
rubyjit.ActiveRecord::QueryCache$$call_A14988755E65051CA93890DA44DDBD1292F522011792011778.block_0$RUBY$__file__(gems/gems/activerecord-2.3.15/lib/active_record/query_cache.rb:29)
rubyjit$ActiveRecord::QueryCache$$call_A14988755E65051CA93890DA44DDBD1292F522011792011778$block_0$RUBY$__file__.call(rubyjit$ActiveRecord::QueryCache$$call_A14988755E65051CA93890DA44DDBD1292F522011792011778$block_0$RUBY$__file__)
org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:112)
org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:95)
org.jruby.runtime.CompiledBlock.yieldSpecific(CompiledBlock.java:75)
org.jruby.runtime.Block.yieldSpecific(Block.java:111)
rubyjit.ActiveRecord::ConnectionAdapters::QueryCache$$cache_A633D695A7F60465017E9EF9D11E22D24BBB2F4C1792011778.chained_0_ensure_1$RUBY$__ensure__(gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/query_cache.rb:34)
rubyjit.ActiveRecord::ConnectionAdapters::QueryCache$$cache_A633D695A7F60465017E9EF9D11E22D24BBB2F4C1792011778.__file__(gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/query_cache.rb)
rubyjit.ActiveRecord::ConnectionAdapters::QueryCache$$cache_A633D695A7F60465017E9EF9D11E22D24BBB2F4C1792011778.__file__(gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/query_cache.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:161)
org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:316)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:145)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:149)
rubyjit.ActiveRecord::QueryCache::ClassMethods$$cache_F67A1FFCC8AF52449A8884B5FC24C1FD70A7AFD21792011778.__file__(gems/gems/activerecord-2.3.15/lib/active_record/query_cache.rb:9)
rubyjit.ActiveRecord::QueryCache::ClassMethods$$cache_F67A1FFCC8AF52449A8884B5FC24C1FD70A7AFD21792011778.__file__(gems/gems/activerecord-2.3.15/lib/active_record/query_cache.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:161)
org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:143)
org.jruby.runtime.callsite.CachingCallSite.callIter(CachingCallSite.java:154)
rubyjit.ActiveRecord::QueryCache$$call_A14988755E65051CA93890DA44DDBD1292F522011792011778.__file__(gems/gems/activerecord-2.3.15/lib/active_record/query_cache.rb:28)
rubyjit.ActiveRecord::QueryCache$$call_A14988755E65051CA93890DA44DDBD1292F522011792011778.__file__(gems/gems/activerecord-2.3.15/lib/active_record/query_cache.rb)
org.jruby.internal.runtime.methods.JittedMethod.call(JittedMethod.java:181)
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:168)
rubyjit.ActiveRecord::ConnectionAdapters::ConnectionManagement$$call_90D2EFA9453A4B4B189AB976C186F4E8E3F4ECFD1792011778.chained_0_ensure_1$RUBY$__ensure__(gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:361)
rubyjit.ActiveRecord::ConnectionAdapters::ConnectionManagement$$call_90D2EFA9453A4B4B189AB976C186F4E8E3F4ECFD1792011778.__file__(gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/connection_pool.rb)
rubyjit.ActiveRecord::ConnectionAdapters::ConnectionManagement$$call_90D2EFA9453A4B4B189AB976C186F4E8E3F4ECFD1792011778.__file__(gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/connection_pool.rb)
... More trace deleted to get under the 30K character limit.
2018.04.19 10:14:34 ERROR web[o.s.s.ui.JRubyFacade] Fail to render: http://localhost:9000/api/system/info
undefined method `clean_message' for #<Java::JavaLang::InternalError:0x2b81b13a>
On line #7 of gems/gems/actionpack-2.3.15/lib/action_controller/templates/rescues/diagnostics.erb
4: in <%=h request.parameters['controller'].humanize %>Controller<% if request.parameters['action'] %>#<%=h request.parameters['action'] %><% end %>
5: <% end %>
6: </h1>
7: <pre><%=h @exception.clean_message %></pre>
8:
9: <%= render :file => @rescues_path["rescues/_trace.erb"] %>
10:
gems/gems/actionpack-2.3.15/lib/action_controller/templates/rescues/diagnostics.erb:7
org/jruby/RubyKernel.java:2227:in `send'
gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:34:in `render'
gems/gems/actionpack-2.3.15/lib/action_view/base.rb:306:in `with_template'
gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:30:in `render'
gems/gems/actionpack-2.3.15/lib/action_view/template.rb:205:in `render_template'
gems/gems/actionpack-2.3.15/lib/action_view/base.rb:265:in `render'
gems/gems/actionpack-2.3.15/lib/action_controller/rescue.rb:133:in `rescue_action_locally'
gems/gems/actionpack-2.3.15/lib/action_controller/rescue.rb:152:in `rescue_action_without_handler'
gems/gems/actionpack-2.3.15/lib/action_controller/rescue.rb:73:in `rescue_action'
gems/gems/actionpack-2.3.15/lib/action_controller/rescue.rb:162:in `perform_action_with_rescue'
gems/gems/actionpack-2.3.15/lib/action_controller/rescue.rb:160:in `perform_action_with_rescue'
gems/gems/actionpack-2.3.15/lib/action_controller/flash.rb:151:in `perform_action_with_flash'
org/jruby/RubyKernel.java:2223:in `send'
gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:532:in `process'
gems/gems/actionpack-2.3.15/lib/action_controller/filters.rb:606:in `process_with_filters'
gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:391:in `process'
gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:386:in `call'
gems/gems/actionpack-2.3.15/lib/action_controller/routing/route_set.rb:450:in `call'
gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:87:in `dispatch'
gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:85:in `dispatch'
gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:121:in `_call'
gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
org/jruby/RubyProc.java:290:in `call'
org/jruby/RubyProc.java:224:in `call'
gems/gems/activerecord-2.3.15/lib/active_record/query_cache.rb:29:in `call'
gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
gems/gems/activerecord-2.3.15/lib/active_record/query_cache.rb:9:in `cache'
gems/gems/activerecord-2.3.15/lib/active_record/query_cache.rb:28:in `call'
gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
config/environment.rb:67:in `call'
gems/gems/actionpack-2.3.15/lib/action_controller/string_coercion.rb:25:in `call'
gems/gems/actionpack-2.3.15/lib/action_controller/params_parser.rb:15:in `call'
file:/opt/sonarqube-5.6.6/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/session_store.rb:70:in `context'
gems/gems/actionpack-2.3.15/lib/action_controller/failsafe.rb:26:in `call'
gems/gems/actionpack-2.3.15/lib/action_controller/dispatcher.rb:106:in `call'
file:/opt/sonarqube-5.6.6/lib/server/jruby-rack-1.1.13.2.jar!/rack/adapter/rails.rb:34:in `serve_rails'
file:/opt/sonarqube-5.6.6/lib/server/jruby-rack-1.1.13.2.jar!/rack/adapter/rails.rb:39:in `call'
file:/opt/sonarqube-5.6.6/lib/server/jruby-rack-1.1.13.2.jar!/rack/handler/servlet.rb:22:in `call'
【问题讨论】:
更新声纳的 jdk 插件,有可能您更新了 java 版本或在代码中引入了需要新版本声纳插件的新更改,我会说将声纳更新到最新并重试. @VikramPalakurthi 我认为系统信息页面是我更新插件的地方。有没有办法通过使用命令行重新配置来做到这一点?希望 GAnn-SonarSourceTeam 或 Fabrice-SonarSourceTeam 或 SQ 的某个人能抓住这一点。 我建议从更新中心自动安装插件,从 SonarQube UI。稍后您可以在 sonarqube/extensions/plugins 文件夹中验证插件版本。 @VikramPalakurthi 更新中心似乎也坏了。无论我单击四个框中的哪一个,我都会弹出一个红色的小窗口,上面写着“null”,并且在这些框下方没有显示任何内容。没有安装,或可用或任何东西。出现严重问题。 您使用的是什么版本的 Java? 【参考方案1】:显然我前段时间升级了 JDK 版本,结果出了点问题。我运行了替代方案 java、java 并重新选择了当前选项,该特定问题似乎已解决。
但现在请看:SonarQube won't display System Info。
【讨论】:
感谢@G.Ann 让我注意到版本的细节。以上是关于SonarQube 异常试图呈现系统信息的主要内容,如果未能解决你的问题,请参考以下文章
自动化代码审查平台: 基于Docker Compose整合Jenkins + SonarQube
鸿蒙轻内核源码分析:异常钩子模块系统中断异常,如何转储异常信息