问题描述
我使用检查代码9.1.3(JetBrains ReSharper的详情命令行工具的最新版本)与SonarQube 4.3.3遇到错误
1:远程名称可能没有得到解决:www.jetbrains.com'
OK,我的服务器处于脱机状态,我不能改变(企业政策)...
2:未知的C#语言水平:默认
没有暗示这一个...我的解决方案包含.NET 3.5和.NET 4.5 C#项目(我使用声纳插件分析引导程序对于Visual Studio项目)
我如何配置我的SonarQube /声纳亚军/声纳项目以避免这样的错误? !感谢您的帮助。
下面是一些跟踪日志摘录:的
14:12:23.940 INFO - ---异常#1 / [引发WebException]
14:12:23.975 INFO - 消息=远程名称无法解析:'www.jetbrains.com'
14:12:23.975 INFO - ExceptionPath = Root.InnerException
14:12:23.976 INFO - 类名= System.Net.WebException
14分配:12:23.976 INFO - 的HResult = COR_E_INVALIDOPERATION = 80131509
14:12:23.977 INFO - 源=系统
14:12:23.978 INFO - StackTraceString =
14:12:23.978 INFO - 在System.Net.HttpWebRequest.EndGetResponse(IAsyncResult的asyncResult)
14:12:23.978 INFO - 在System.Net.WebClient.GetWebResponse(WebRequest的要求,IAsyncResult的结果)
14:12:23.979 INFO - 在System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult的结果)
14:12:23.979 INFO -
14:12:23.979 INFO -
14:12:23.980 INFO - ---外---
14:12:23.980 INFO -
14:12:23.980 INFO - ---异常#2月2日[LoggerException]
14:12:23.981 INFO - 留言= 远程名称无法解析:www.jetbrains.com'
14:12:23.981 INFO - ExceptionPath =根
14:12:23.981 INFO - 类名= $ JetBrains.Util.LoggerException b $ b 14分配:12:23.981 INFO - 的InnerException =异常#1 Root.InnerException
14:12:23.982 INFO - HResult的= = COR_E_APPLICATION 80131600
14:12:23.983 INFO - StackTraceString =
14:12:23.983 INFO - 在System.Windows.Threading.DispatcherOperation.InvokeImpl()
14:12:23.983 INFO - 在System.Threading.ExecutionContext.RunInternal(ExecutionContext中的ExecutionContext,ContextCallback回调,对象状态,布尔preserveSyncCtx)
14:12:23.983 INFO - 在System.Threading.ExecutionContext.Run(ExecutionContext中的ExecutionContext,ContextCallback回调,对象状态,布尔preserveSyncCtx)
14:12:23.984 INFO - 在System.Threading.ExecutionContext.Run(ExecutionContext中的ExecutionContext,ContextCallback回调,对象状态)
14:12:23.984 INFO - 在System.Windows.Threading.DispatcherOperation.Invoke()
14:12:23.984 INFO - 在System.Windows.Threading.Dispatcher.ProcessQueue()
14:12:23.984 INFO - 在System.Windows.Threading.Dispatcher.WndProcHook(IntPtr的HWND,味精的Int32,IntPtr的的wParam,lParam中的IntPtr,布尔和放大器;处理)
14:12:23.986 INFO - 在MS.Win32.HwndWrapper.WndProc(IntPtr的HWND,味精的Int32,IntPtr的的wParam,lParam中的IntPtr,布尔和放大器;处理)
14:12:23.986 INFO - 在MS.Win32.HwndSubclass.DispatcherCallbackOperation(对象o)
14:12:23.986 INFO - 在System.Windows.Threading.ExceptionWrapper.InternalRealCall(代表回调,对象指定参数时,的Int32 numArgs)
14:12: 23.986 INFO - 在MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(对象源,委托方法,对象指定参数时,的Int32 numArgs,代表catchHandler)
14:12:23.986 INFO - 在System.Windows.Threading.Dispatcher.LegacyInvokeImpl (优先级的DispatcherPriority,时间跨度超时,代表法,对象指定参数时,的Int32 numArgs)
14:12:23.987 INFO - 在MS.Win32.HwndSubclass.SubclassWndProc(IntPtr的HWND,味精的Int32,IntPtr的的wParam,lParam的的IntPtr)
14:12:23.987 INFO - 在JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG * LPMSG)
14:12:23.987 INFO - 在JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG * LPMSG)
14:12:23.987 INFO - 在JetBrains.Threading.JetDispatcher.InternalPumpMessagesOnce()
14:12:23.987 INFO - 在JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.Main(IThreading调用器,IComponentContainer容器,IShellLocks shellLocks,ILogger记录仪,IInspectCodeSettings设置,IProductCommandLineArguments argumentsRaw)
14:12:23.987 INFO - 在System.RuntimeMethodHandle.InvokeMethod(对象的目标,对象[]参数,签名的签名,布尔构造函数)
14 :12:23.987 INFO - 在System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(obj对象,对象[]参数,对象[]参数)
14:12:23.988 INFO - 在System.Reflection.RuntimeMethodInfo.Invoke(obj对象,的BindingFlags invokeAttr,粘结剂粘合,对象[]参数,CultureInfo的文化)
14:12:23.988 INFO - 在JetBrains.Application.Environment.RunsPublicStaticIntMain<> c__DisplayClass7< .ctor> b__0()
14分配:12:23.988 INFO - 在JetBrains.Util.Logging.Logger.Catch(动作动作)
14:12:23.988 INFO - 在JetBrains.Threading.JetDispatcher.Closure.Execute()
14分配:12:23.988 INFO - 在JetBrains.Threading.JetDispatcher.ProcessQueue()
14:12:23.988 INFO - 在System.Windows.Threading.ExceptionWrapper.InternalRealCall(代表回调,对象指定参数时,的Int32 numArgs)
14分配:12:23.988 INFO - 在MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(对象源,委托方法,对象指定参数时,的Int32 numArgs,代表catchHandler)
14:12:23.989 INFO - 在系统。 Windows.Threading.DispatcherOperation.InvokeImpl()
14:12:23.989 INFO - 在System.Threading.ExecutionContext.RunInternal(ExecutionContext中的ExecutionContext,ContextCallback回调,对象状态,布尔preserveSyncCtx)
14:12:23.989 INFO - 在System.Threading.ExecutionContext.Run(ExecutionContext中的ExecutionContext,ContextCallback回调,对象状态,布尔preserveSyncCtx)
14:12:23.989 INFO - 在System.Threading.ExecutionContext.Run(ExecutionContext中的ExecutionContext,ContextCallback回调,对象状态)
14:12:23.989 INFO - 在System.Windows.Threading.DispatcherOperation.Invoke()
14:12:23.989 INFO - 在System.Windows.Threading.Dispatcher.ProcessQueue()
14:12:23.989 INFO - 在System.Windows.Threading.Dispatcher.WndProcHook(IntPtr的HWND,味精的Int32,IntPtr的的wParam,lParam中的IntPtr,布尔和放大器;处理)
14:12:23.990 INFO - 在MS.Win32.HwndWrapper.WndProc(IntPtr的HWND,味精的Int32,IntPtr的的wParam,lParam中的IntPtr,布尔和放大器;处理)
14:12:23.990 INFO - 在MS.Win32.HwndSubclass.DispatcherCallbackOperation(对象o)
14:12:23.990 INFO - 在System.Windows.Threading.ExceptionWrapper.InternalRealCall(代表回调,对象指定参数时,的Int32 numArgs)
14:12: 23.990 INFO - 在MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(对象源,委托方法,对象指定参数时,的Int32 numArgs,代表catchHandler)
14:12:23.990 INFO - 在System.Windows.Threading.Dispatcher.LegacyInvokeImpl (优先级的DispatcherPriority,时间跨度超时,代表法,对象指定参数时,的Int32 numArgs)
14:12:23.990 INFO - 在MS.Win32.HwndSubclass.SubclassWndProc(IntPtr的HWND,味精的Int32,IntPtr的的wParam,lParam的的IntPtr)
14:12:23.990 INFO - 在MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&安培;味精)
14:12:23.991 INFO - 在MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG&安培; MSG)
14:12:23.991 INFO - 在System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame帧)
14:12:23.991 INFO - 在JetBrains.DataFlow.Lifetimes.Using(Action`1 ?)
14:12:23.992 INFO - 在JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv)
14:12:23.992 INFO - 在JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop (ComponentContainer containerEnv)
14:12:23.992 INFO - 在JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller主机,ComponentContainer containerEnv)
14:12:23.992 INFO - 在JetBrains.Application.Environment。 JetEnvironment.CreateAndRun(全hostparams)
14:12:23.992 INFO - 在JetBrains.CommandLine.InspectCode.InspectCodeProgram.Main(议会会议,Hostinfo中Hostinfo中,字串[] args)
14:12:23.993 INFO - 在JetBrains.CommandLine.InspectCode.InspectCodeProgram<主> b__1(RunnerContext CTX)
14:12:23.993 INFO -
...
14:12:46.683 INFO - - - 异常#1 / [出现InvalidOperationException]
14:12:46.683 INFO - 消息=未知的C#语言水平:默认
14:12:46.683 INFO - ExceptionPath = Root.InnerException
14分配:12:46.683 INFO - 类名= System.InvalidOperationException
14:12:46.684 INFO - HResult的= = COR_E_INVALIDOPERATION 80131509
14:12:46.684 INFO - 源= JetBrains.ReSharper.Psi.CSharp
14分配:12:46.684 INFO - StackTraceString =
14:12:46.685 INFO - 在JetBrains.ReSharper.Psi.CSharp.CSharpExtensionMethods.GetCSharpVersion(CSharpLanguageLevel级)
14:12:46.685 INFO - 在JetBrains.ReSharper.Psi.CSharp.Impl.Tree.AttributeStub.MyConstructorReference.Resolve(IResolveContext resolveContext)
14:12:46.685 INFO - 在JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.ResolveWithInfoCalculator (IManagedReferenceImpl参考,对象状态,IResolveContext resolveContext)
14:12:46.685 INFO - 在JetBrains.ReSharper.Psi.Impl.Resolve.Managed.CalculationProcess.Get [TKEY的,TParameter,TValue](CascadingCacheKey cacheKey,TKEY的关键,TParameter参数,IResolveContext resolveContext,Func`4计算器)
14:12:46.685 INFO - 在JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.ResolveWithInfo(IManagedReference参考)
14:12 :46.685 INFO - 在JetBrains.ReSharper.Daemon.CSharp.Stages.SmartResolverProcess.ScopeResolver.VisitElement(ITreeNode元素)
14:12:46.686 INFO - 在JetBrains.ReSharper.Psi.Resolve.Resolver.ProcessAfterInterior(ITreeNode元素)
14:12:46.686 INFO - 在JetBrains.ReSharper.Daemon.CSharp.Stages.SmartResolverProcess.ScopeResolver.ProcessAfterInterior(ITreeNode元素)
14:12:46.686 INFO - 在JetBrains.ReSharper.Psi。 RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor处理器,ITreeNode后裔)
14:12:46.686 INFO - 在JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor处理器)
14:12:46.686 INFO - 在JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor处理器,ITreeNode后裔)
14:12:46.687 INFO - 在JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor处理器)
14:12:46.687 INFO - 在JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor处理器,ITreeNode后裔)
14:12:46.687 INFO - 在JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve( IRecursiveElementProcessor处理器)
14:12:46.687 INFO - 在JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor处理器,ITreeNode后裔)
14:12:46.687 INFO - 在JetBrains.ReSharper.Psi.ExtensionsAPI .Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor处理器)
14:12:46.687 INFO - 在JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor处理器,ITreeNode后裔)
14:12:46.687 INFO - 在JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor处理器)
14:12:46.687 INFO - 在JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor处理器,ITreeNode后裔)
14 :12:46.687 INFO - 在JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor处理器)
14:12:46.688 INFO - 在JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor处理器,ITreeNode后裔)
14:12:46.688 INFO - 在JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor处理器)
14:12:46.688 INFO - 在JetBrains.ReSharper.Psi.Resolve .Resolver.Process(ITreeNode topElement)
14:12:46.688 INFO - 在JetBrains.Application.Threading.Tasks.TaskHost<> c__DisplayClass11<创建> b__e(对象状态)
14 :12:46.688 INFO -
14:12:46.689 INFO -
14:12:46.689 INFO - --- ---外
14:12:46.689 INFO -
14分配:12:46.689 INFO - ---异常#2月2日[LoggerException]
14:12:46.689 INFO - 消息=未知的C#语言水平:默认
14:12:46.689 INFO - ExceptionPath =根
14:12:46.689 INFO - 类名= JetBrains.Util.LoggerException
14:12:46.690 INFO - 的InnerException =异常#1 Root.InnerException
14: 12:46.690 INFO - HResult的= = COR_E_APPLICATION 80131600
14:12:46.690 INFO - StackTraceString =
14:12:46.690 INFO - 在System.Threading.Tasks.Task.Execute()
14分配:12:46.691 INFO - 在System.Threading.ExecutionContext.RunInternal(ExecutionContext中的ExecutionContext,ContextCallback回调,对象状态,布尔preserveSyncCtx)
14:12:46.691 INFO - 在System.Threading.ExecutionContext.Run(执行上下文ExecutionContext中,ContextCallback回调,对象状态,布尔preserveSyncCtx)
14:12:46.691 INFO - 在System.Threading.ExecutionContext.Run(ExecutionContext中的ExecutionContext,ContextCallback回调,对象的状态)
14:12:46.691 INFO - 在System.Threading.Tasks.Task.ExecuteWithThreadLocal(任务&安培; currentTaskSlot)
14:12:46.691 INFO - 在System.Threading.Tasks.Task.ExecuteEntry(布尔bPreventDoubleExecution)
14:12:46.692 INFO - 在System.Threading.Tasks.TaskScheduler.TryRunInline(任务任务,布尔taskWasPreviouslyQueued,对象threadStatics)
14:12:46.692 INFO - 在System.Threading.Tasks.Task.WrappedTryRunInline(的TaskScheduler currentScheduler,对象currentSchedulerStatics)
14:12:46.692 INFO - 在系统。 Threading.Tasks.Task.WaitAll(任务[]任务的Int32 millisecondsTimeout,的CancellationToken的CancellationToken)
14:12:46.692 INFO - 在JetBrains.Application.Threading.Tasks.TaskBarrier.DisposeUnmanagedResources()
14: 12:46.692 INFO - 在JetBrains.Util.SafeDisposable.DisposeInternal()
14:12:46.693 INFO - 在JetBrains.ReSharper.Daemon.CSharp.Stages.SmartResolverProcess.Execute(Action`1提交者)
14:12:46.693 INFO - 在JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase<> c__DisplayClassc< DoHighlighting> b__5(IDaemonStage阶段)
14:12:46.693 INFO - 在JetBrains.Application。 。.Threading.Tasks.TaskBarrier&所述;> c__DisplayClassc&所述;> c__DisplayClasse&下; EnqueueDependentJobs> b__a()
14:12:46.693信息 - 在JetBrains.Application.Threading.Tasks.TaskHost&下; > c__DisplayClass11<创建> b__e(对象状态)
14:12:46.693 INFO - 在System.Threading.Tasks.Task.Execute()
14:12:46.694 INFO - 在系统。 Threading.ExecutionContext.RunInternal(ExecutionContext中的ExecutionContext,ContextCallback回调,对象状态,布尔preserveSyncCtx)
14:12:46.694 INFO - 在System.Threading.ExecutionContext.Run(ExecutionContext中的ExecutionContext,ContextCallback回调,对象状态,布尔preserveSyncCtx)
14:12:46.694 INFO - 在System.Threading.ExecutionContext.Run(ExecutionContext中的ExecutionContext,ContextCallback回调,对象的状态)
14:12:46.694 INFO - 在System.Threading.Tasks.Task.ExecuteWithThreadLocal (任务和放大器; currentTaskSlot)
14:12:46.695 INFO - 在System.Threading.Tasks.Task.ExecuteEntry(布尔bPreventDoubleExecution)
14:12:46.695 INFO - 在JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread .ThreadPoolProc()
14:12:46.695 INFO - 在System.Threading.ExecutionContext.RunInternal(ExecutionContext中的ExecutionContext,ContextCallback回调,对象状态,布尔preserveSyncCtx)
14:12:46.695 INFO - 在系统。 Threading.ExecutionContext.Run(ExecutionContext中的ExecutionContext,ContextCallback回调,对象状态,布尔preserveSyncCtx)
14:12:46.695 INFO - 在System.Threading.ExecutionContext.Run(ExecutionContext中的ExecutionContext,ContextCallback回调,对象的状态)
14分配:12:46.696 INFO - 在System.Threading.ThreadHelper.ThreadStart()
14:12:46.696 INFO -
尝试安装的。至少是未知的C#语言水平:默认异常应固定在那里
I encounter errors using Inspect Code 9.1.3 (last version of JetBrains ReSharper Command Line Tool) with SonarQube 4.3.3.
1: "The remote name could not be resolved: 'www.jetbrains.com'"
OK, my server is offline and I cannot change that (enterprise policy)...
2: "Unknown C# language level: Default"
No hint for this one... My solution contains .NET 3.5 and .NET 4.5 C# projects (I'm using the sonar plugin "Analysis Bootstrapper For Visual Studio Projects")
How can I configure my SonarQube/sonar-runner/sonar-project to avoid this errors? Thanks for your help!
Here are some trace logs extracts:
14:12:23.940 INFO - --- EXCEPTION #1/2 [WebException]
14:12:23.975 INFO - Message = "The remote name could not be resolved: 'www.jetbrains.com'"
14:12:23.975 INFO - ExceptionPath = Root.InnerException
14:12:23.976 INFO - ClassName = System.Net.WebException
14:12:23.976 INFO - HResult = COR_E_INVALIDOPERATION=80131509
14:12:23.977 INFO - Source = System
14:12:23.978 INFO - StackTraceString = "
14:12:23.978 INFO - at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
14:12:23.978 INFO - at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result)
14:12:23.979 INFO - at System.Net.WebClient.DownloadBitsResponseCallback(IAsyncResult result)
14:12:23.979 INFO - "
14:12:23.979 INFO -
14:12:23.980 INFO - --- Outer ---
14:12:23.980 INFO -
14:12:23.980 INFO - --- EXCEPTION #2/2 [LoggerException]
14:12:23.981 INFO - Message = "The remote name could not be resolved: 'www.jetbrains.com'"
14:12:23.981 INFO - ExceptionPath = Root
14:12:23.981 INFO - ClassName = JetBrains.Util.LoggerException
14:12:23.981 INFO - InnerException = "Exception #1 at Root.InnerException"
14:12:23.982 INFO - HResult = COR_E_APPLICATION=80131600
14:12:23.983 INFO - StackTraceString = "
14:12:23.983 INFO - at System.Windows.Threading.DispatcherOperation.InvokeImpl()
14:12:23.983 INFO - at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
14:12:23.983 INFO - at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
14:12:23.984 INFO - at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
14:12:23.984 INFO - at System.Windows.Threading.DispatcherOperation.Invoke()
14:12:23.984 INFO - at System.Windows.Threading.Dispatcher.ProcessQueue()
14:12:23.984 INFO - at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
14:12:23.986 INFO - at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
14:12:23.986 INFO - at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
14:12:23.986 INFO - at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
14:12:23.986 INFO - at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
14:12:23.986 INFO - at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
14:12:23.987 INFO - at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
14:12:23.987 INFO - at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
14:12:23.987 INFO - at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
14:12:23.987 INFO - at JetBrains.Threading.JetDispatcher.InternalPumpMessagesOnce()
14:12:23.987 INFO - at JetBrains.CommandLine.InspectCode.Unattended.InspectCodeProductMain.Main(IThreading invocator, IComponentContainer container, IShellLocks shellLocks, ILogger logger, IInspectCodeSettings settings, IProductCommandLineArguments argumentsRaw)
14:12:23.987 INFO - at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
14:12:23.987 INFO - at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
14:12:23.988 INFO - at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
14:12:23.988 INFO - at JetBrains.Application.Environment.RunsPublicStaticIntMain.<>c__DisplayClass7.<.ctor>b__0()
14:12:23.988 INFO - at JetBrains.Util.Logging.Logger.Catch(Action action)
14:12:23.988 INFO - at JetBrains.Threading.JetDispatcher.Closure.Execute()
14:12:23.988 INFO - at JetBrains.Threading.JetDispatcher.ProcessQueue()
14:12:23.988 INFO - at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
14:12:23.988 INFO - at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
14:12:23.989 INFO - at System.Windows.Threading.DispatcherOperation.InvokeImpl()
14:12:23.989 INFO - at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
14:12:23.989 INFO - at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
14:12:23.989 INFO - at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
14:12:23.989 INFO - at System.Windows.Threading.DispatcherOperation.Invoke()
14:12:23.989 INFO - at System.Windows.Threading.Dispatcher.ProcessQueue()
14:12:23.989 INFO - at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
14:12:23.990 INFO - at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
14:12:23.990 INFO - at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
14:12:23.990 INFO - at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
14:12:23.990 INFO - at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
14:12:23.990 INFO - at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
14:12:23.990 INFO - at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
14:12:23.990 INFO - at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
14:12:23.991 INFO - at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
14:12:23.991 INFO - at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
14:12:23.991 INFO - at JetBrains.DataFlow.Lifetimes.Using(Action`1 ?)
14:12:23.992 INFO - at JetBrains.Application.Environment.IJetHostEx.RunHostMessageLoop(IComponentContainer containerEnv)
14:12:23.992 INFO - at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.RunMainLoop(ComponentContainer containerEnv)
14:12:23.992 INFO - at JetBrains.Application.Environment.JetEnvironment.InternalRun(JetHostParametersCaller host, ComponentContainer containerEnv)
14:12:23.992 INFO - at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams)
14:12:23.992 INFO - at JetBrains.CommandLine.InspectCode.InspectCodeProgram.Main(Assembly assembly, HostInfo hostInfo, String[] args)
14:12:23.993 INFO - at JetBrains.CommandLine.InspectCode.InspectCodeProgram.<Main>b__1(RunnerContext ctx)
14:12:23.993 INFO - "
...
14:12:46.683 INFO - --- EXCEPTION #1/2 [InvalidOperationException]
14:12:46.683 INFO - Message = "Unknown C# language level: Default"
14:12:46.683 INFO - ExceptionPath = Root.InnerException
14:12:46.683 INFO - ClassName = System.InvalidOperationException
14:12:46.684 INFO - HResult = COR_E_INVALIDOPERATION=80131509
14:12:46.684 INFO - Source = JetBrains.ReSharper.Psi.CSharp
14:12:46.684 INFO - StackTraceString = "
14:12:46.685 INFO - at JetBrains.ReSharper.Psi.CSharp.CSharpExtensionMethods.GetCSharpVersion(CSharpLanguageLevel level)
14:12:46.685 INFO - at JetBrains.ReSharper.Psi.CSharp.Impl.Tree.AttributeStub.MyConstructorReference.Resolve(IResolveContext resolveContext)
14:12:46.685 INFO - at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.ResolveWithInfoCalculator(IManagedReferenceImpl reference, Object state, IResolveContext resolveContext)
14:12:46.685 INFO - at JetBrains.ReSharper.Psi.Impl.Resolve.Managed.CalculationProcess.Get[TKey,TParameter,TValue](CascadingCacheKey cacheKey, TKey key, TParameter param, IResolveContext resolveContext, Func`4 calculator)
14:12:46.685 INFO - at JetBrains.ReSharper.Psi.ExtensionsAPI.Resolve.Managed.ResolveContext.ResolveWithInfo(IManagedReference reference)
14:12:46.685 INFO - at JetBrains.ReSharper.Daemon.CSharp.Stages.SmartResolverProcess.ScopeResolver.VisitElement(ITreeNode element)
14:12:46.686 INFO - at JetBrains.ReSharper.Psi.Resolve.Resolver.ProcessAfterInterior(ITreeNode element)
14:12:46.686 INFO - at JetBrains.ReSharper.Daemon.CSharp.Stages.SmartResolverProcess.ScopeResolver.ProcessAfterInterior(ITreeNode element)
14:12:46.686 INFO - at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant)
14:12:46.686 INFO - at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor processor)
14:12:46.686 INFO - at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant)
14:12:46.687 INFO - at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor processor)
14:12:46.687 INFO - at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant)
14:12:46.687 INFO - at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor processor)
14:12:46.687 INFO - at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant)
14:12:46.687 INFO - at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor processor)
14:12:46.687 INFO - at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant)
14:12:46.687 INFO - at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor processor)
14:12:46.687 INFO - at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant)
14:12:46.687 INFO - at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor processor)
14:12:46.688 INFO - at JetBrains.ReSharper.Psi.RecursiveElementProcessorExtensions.ProcessDescendantForResolve(IRecursiveElementProcessor processor, ITreeNode descendant)
14:12:46.688 INFO - at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.TreeElement.ProcessDescendantsForResolve(IRecursiveElementProcessor processor)
14:12:46.688 INFO - at JetBrains.ReSharper.Psi.Resolve.Resolver.Process(ITreeNode topElement)
14:12:46.688 INFO - at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass11.<Create>b__e(Object state)
14:12:46.688 INFO - "
14:12:46.689 INFO -
14:12:46.689 INFO - --- Outer ---
14:12:46.689 INFO -
14:12:46.689 INFO - --- EXCEPTION #2/2 [LoggerException]
14:12:46.689 INFO - Message = "Unknown C# language level: Default"
14:12:46.689 INFO - ExceptionPath = Root
14:12:46.689 INFO - ClassName = JetBrains.Util.LoggerException
14:12:46.690 INFO - InnerException = "Exception #1 at Root.InnerException"
14:12:46.690 INFO - HResult = COR_E_APPLICATION=80131600
14:12:46.690 INFO - StackTraceString = "
14:12:46.690 INFO - at System.Threading.Tasks.Task.Execute()
14:12:46.691 INFO - at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
14:12:46.691 INFO - at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
14:12:46.691 INFO - at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
14:12:46.691 INFO - at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
14:12:46.691 INFO - at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
14:12:46.692 INFO - at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued, Object threadStatics)
14:12:46.692 INFO - at System.Threading.Tasks.Task.WrappedTryRunInline(TaskScheduler currentScheduler, Object currentSchedulerStatics)
14:12:46.692 INFO - at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
14:12:46.692 INFO - at JetBrains.Application.Threading.Tasks.TaskBarrier.DisposeUnmanagedResources()
14:12:46.692 INFO - at JetBrains.Util.SafeDisposable.DisposeInternal()
14:12:46.693 INFO - at JetBrains.ReSharper.Daemon.CSharp.Stages.SmartResolverProcess.Execute(Action`1 committer)
14:12:46.693 INFO - at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClassc.<DoHighlighting>b__5(IDaemonStage stage)
14:12:46.693 INFO - at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClassc.<>c__DisplayClasse.<EnqueueDependentJobs>b__a()
14:12:46.693 INFO - at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass11.<Create>b__e(Object state)
14:12:46.693 INFO - at System.Threading.Tasks.Task.Execute()
14:12:46.694 INFO - at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
14:12:46.694 INFO - at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
14:12:46.694 INFO - at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
14:12:46.694 INFO - at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
14:12:46.695 INFO - at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
14:12:46.695 INFO - at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
14:12:46.695 INFO - at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
14:12:46.695 INFO - at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
14:12:46.695 INFO - at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
14:12:46.696 INFO - at System.Threading.ThreadHelper.ThreadStart()
14:12:46.696 INFO - "
Try installing JB InspectCode 9.2. At least "Unknown C# language level: Default" exception should be fixed there https://youtrack.jetbrains.com/issue/RSRP-442801
这篇关于与JetBrains的错误检查代码9.1.3在SonarQube 4.3.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!