SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

0
0

Hi, every so often if I’ve stopped at a breakpoint then resume execution, the following exception gets thrown (usually within code that creates chart data series):-

System.TypeInitializationException occurred
HResult=-2146233036
Message=The type initializer for '' threw an exception.
Source=NuIns.NuQuant.UI
TypeName=
StackTrace:
at NuIns.NuQuant.UI.Charting.Providers.IntStdRecovery.IntStdRecoveryChartProvider.CreateChartData(BatchMethodAnalyte batchMethodAnalyte)
at NuIns.NuQuant.UI.Charting.Providers.ChartThumbnailProvider.CreateThumbsForSelectedIsotope() in c:\Dev\NuQuant\MAIN\Source\NuQuant\NuIns.NuQuant.UI\Charting\Providers\ChartThumbnailProvider.cs:line 103
InnerException: System.TypeInitializationException
HResult=-2146233036
Message=The type initializer for 'A.c7e585e832523cad8ae1bfdae702190ae' threw an exception.
Source=Abt.Controls.SciChart.Wpf.2.2
TypeName=A.c7e585e832523cad8ae1bfdae702190ae
StackTrace:
at A.c7e585e832523cad8ae1bfdae702190ae.cfeda204b88a362a8051e16fad0b60ea3()
at .cctor()
InnerException: System.IO.FileNotFoundException
HResult=-2147024894
Message=Could not load file or assembly 'Abt.Controls.SciChart.Wpf.2.2&' or one of its dependencies. The system cannot find the file specified.
Source=mscorlib
FileName=Abt.Controls.SciChart.Wpf.2.2&
FusionLog==== Pre-bind state information ===
LOG: User = xxxxxxxxxx
LOG: DisplayName = Abt.Controls.SciChart.Wpf.2.2&
(Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: Abt.Controls.SciChart.Wpf.2.2& | Domain ID: 1
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///C:/Dev/NuQuant/MAIN/BuildOutput/
LOG: Initial PrivatePath = NULL

Calling assembly : Abt.Controls.SciChart.Wpf.2.2, Version=2.2.5014.12317, Culture=neutral, PublicKeyToken=b55dd9efe817e823.

LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Dev\NuQuant\MAIN\BuildOutput\NuIns.NuQuant.UI.vshost.exe.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Dev/NuQuant/MAIN/BuildOutput/Abt.Controls.SciChart.Wpf.2.2&.DLL.
LOG: Attempting download of new URL file:///C:/Dev/NuQuant/MAIN/BuildOutput/Abt.Controls.SciChart.Wpf.2.2&/Abt.Controls.SciChart.Wpf.2.2&.DLL.
LOG: Attempting download of new URL file:///C:/Dev/NuQuant/MAIN/BuildOutput/Abt.Controls.SciChart.Wpf.2.2&.EXE.
LOG: Attempting download of new URL file:///C:/Dev/NuQuant/MAIN/BuildOutput/Abt.Controls.SciChart.Wpf.2.2&/Abt.Controls.SciChart.Wpf.2.2&.EXE.

        StackTrace:
             at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
             at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
             at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
             at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
             at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
             at System.Reflection.Assembly.Load(String assemblyString)
             at A.c7e585e832523cad8ae1bfdae702190ae..cctor()
        InnerException: 

I’ve seen it with different versions of SciChart, not just 2.2. It happens once in a blue moon so is nothing more than a very minor inconvenience. Just wondered if you had come across this?

  • You must to post comments
0
0

Hi Andy,

Yes, we know about this. Its related to our licensing component (third party provided) which merges assemblies before deployment. Sorry, there’s nothing we can do at this time, but as I mentioned, it has been logged.

Kind regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.