Hi,
Configuration:
JetBrains Inspect Code 9.1
Running in 64-bit mode, .NET runtime 4.0.30319.0 under Microsoft Windows NT 6.2.9200.0
Always get this:
Cannot read the Application Package metadata file c:\Tekla\BuildTools\resharpercli\JetBrains.Psi.Features.ExternalAnnotations.JetMetadata.sstg. Could not deserialize the object val
ue of type JetBrains.Application.BuildScript.Application.ApplicationPackageArtifact via the IStructuredStorage constructor. Exception has been thrown by the target of an invocation
. Expected closing of the current list, but found a string.
— EXCEPTION #1/4 [InvalidOperationException]
Message = "Expected closing of the current list, but found a string."
ExceptionPath = Root.InnerException.InnerException.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.Platform.Util
StackTraceString = "
at JetBrains.Util.Serialization.CsexpReaderEx.EndReadList(CsexpReader reader)
… at JetBrains.Util.Serialization.CsexpReaderEx.EndReadList(CsexpReader reader)
at JetBrains.Util.Serialization.CsexpReaderEx.AutoEndReadList.Dispose()
at JetBrains.Application.BuildScript.Application.ApplicationPackageArtifact..ctor(IStructuredStorage sstg)
"
— Outer —
— EXCEPTION #2/4 [TargetInvocationException]
Message = "Exception has been thrown by the target of an invocation."
ExceptionPath = Root.InnerException.InnerException
ClassName = System.Reflection.TargetInvocationException
InnerException = "Exception #1 at Root.InnerException.InnerException.InnerException"
HResult = COR_E_TARGETINVOCATION=80131604
Source = mscorlib
StackTraceString = "
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
… at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at JetBrains.Build.Serialization.StructuredStorageSerialization.ReadObjectValue(Type type, IStructuredStorage storageValue, OnError onerror, IBindTypeByName typebinder)
"
— Outer —
— EXCEPTION #3/4 [BuildException]
Message = "Could not deserialize the object value of type JetBrains.Application.BuildScript.Application.ApplicationPackageArtifact via the IStructuredStorage constructor."
ExceptionPath = Root.InnerException
ClassName = JetBrains.Build.BuildException
InnerException = "Exception #2 at Root.InnerException.InnerException"
HResult = COR_E_APPLICATION=80131600
Source = JetBrains.Platform.Util
StackTraceString = "
at JetBrains.Util.OnError.<.cctor>b__18(Exception ex)
… at JetBrains.Util.OnError.<.cctor>b__18(Exception ex)
at JetBrains.Build.Serialization.StructuredStorageSerialization.ReadObjectValue(Type type, IStructuredStorage storageValue, OnError onerror, IBindTypeByName typebinder)
at JetBrains.Build.Serialization.SerializedValuesResolver.Instance.GetValue()
at JetBrains.Build.Serialization.SerializedValuesResolver.Resolve(Type type)
at JetBrains.Build.Serialization.SerializedValuesResolver.Resolve[TComponent]()
at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 ?)
at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 ?)
at JetBrains.Util.Storage.StructuredStorage.StructuredStorages.OpenStream[TReturn](Stream stream, Func`2 ?, Nullable`1 formatIfKnown)
at JetBrains.Application.BuildScript.Solution.AllAssembliesLocator.<>c__DisplayClass4.<GetAllAssembliesOnLocallyInstalledBinariesFlat>b__0(Stream stream)
at JetBrains.Util.FileSystemPathEx.ReadStream[T](FileSystemPath path, Func`2 FRead)
at JetBrains.Application.BuildScript.Solution.AllAssembliesLocator.GetAllAssembliesOnLocallyInstalledBinariesFlat(ProductBinariesDirArtifact bindir)
"
— Outer —
— EXCEPTION #4/4 [LoggerException]
Message = "Cannot read the Application Package metadata file c:\Tekla\BuildTools\resharpercli\JetBrains.Psi.Features.ExternalAnnotations.JetMetadata.sstg. Could not deserialize the
object value of type JetBrains.Application.BuildScript.Application.ApplicationPackageArtifact via the IStructuredStorage constructor."
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = "Exception #3 at Root.InnerException"
HResult = COR_E_APPLICATION=80131600
StackTraceString = "
at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception ex, String message)
… at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception ex, String message)
at JetBrains.Application.BuildScript.Solution.AllAssembliesLocator.GetAllAssembliesOnLocallyInstalledBinariesFlat(ProductBinariesDirArtifact bindir)
at JetBrains.Application.Environment.HostParameters.CollectProductPackagesInDirectoryFlatHostMixin.CollectSubplatformPackages()
at JetBrains.Application.Environment.HostParameters.CollectProductPackagesInDirectoryFlatHostMixin.JetBrains.Application.Environment.HostParameters.IHaveFullPartCatalogSetHost
Mixin.GetFullPartCatalogSet(Lifetime lifetime)
at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.GetFullPartCatalogSet(Lifetime lifetime)
… at JetBrains.Application.Environment.HostParameters.JetHostParametersCaller.GetFullPartCatalogSet(Lifetime lifetime)
at JetBrains.Application.Environment.JetEnvironment..ctor(Lifetime lifetime, JetHostParametersCaller host)
at JetBrains.Application.Environment.JetEnvironment.<>c__DisplayClasse.<InternalCreate>b__b()
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
at JetBrains.Application.Environment.JetEnvironment.InternalCreate(LifetimeDefinition lifetimeDefinition, JetHostParametersCaller host, JetEnvironment& environment)
at JetBrains.Application.Environment.JetEnvironment.CreateAndRun(Full hostparams)
at JetBrains.CommandLine.InspectCode.InspectCodeProgram.Main(Assembly assembly, HostInfo hostInfo, String[] args)
at JetBrains.CommandLine.InspectCode.InspectCodeProgram.<Main>b__4(RunnerContext ctx)
"
The agents with windows server 2012 usually have different number of issues reported from one run to another without source changes.
Thanks in advance
jc