1

Closed

exception when trying to create a new mAdcOW.DataStructures.Dictionary<int, string> or new mAdcOW.DataStructures.Dictionary<string, int>

description

you are trying to create an instance of string and fails.
 
exception: Constructor on type 'System.String' not found.
 
Call Stack:
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at mAdcOW.Serializer.Factory1.BenchMarkSerializer(ISerializeDeserialize1 serDeser) in C:\repos\mAdcOW\Development\mAdcOW.Serializer\Factory.cs:line 100
at mAdcOW.Serializer.Factory1.BenchmarkSerializers(IEnumerable1 listOfSerializers) in C:\repos\mAdcOW\Development\mAdcOW.Serializer\Factory.cs:line 70
at mAdcOW.Serializer.Factory1.PickOptimalSerializer() in C:\repos\mAdcOW\Development\mAdcOW.Serializer\Factory.cs:line 32
at mAdcOW.Serializer.Factory
1.GetSerializer() in C:\repos\mAdcOW\Development\mAdcOW.Serializer\Factory.cs:line 19
at mAdcOW.DataStructures.DictionaryPersist2..ctor(String path) in C:\repos\mAdcOW\Development\mAdcOW.DataStructures\DictionaryPersist.cs:line 32
at mAdcOW.DataStructures.Dictionary
2..ctor(String path) in C:\repos\mAdcOW\Development\mAdcOW.DataStructures\Dictionary.cs:line 24
at DiskDictionary.Program.Main(String[] args) in C:\Users\lirone\Documents\Visual Studio 2008\Projects\DiskDictionary\DiskDictionary\Program.cs:line 37
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Closed Nov 16, 2009 at 3:01 PM by Wobba

comments

lironeizenman wrote Nov 15, 2009 at 1:34 PM

Just wanted to say I love the idea but can't use it till string is supported. I would like to help if my help is needed.

wrote Nov 16, 2009 at 1:52 PM

wrote Nov 16, 2009 at 1:54 PM

wrote Nov 16, 2009 at 3:01 PM

Resolved with changeset 40833.

wrote Feb 14, 2013 at 12:12 AM

wrote May 16, 2013 at 5:36 AM