Array dimensions exceeded supported range

Posts   
 
    
Posts: 6
Joined: 30-Dec-2019
# Posted on: 09-Jan-2020 03:15:32   

Hi,

I have a project (upgraded from 2.6) that has around 375 Typedlist, when I try to generate the code (VB.net, Adapter) the designer after a long time sent the following error:

LLBLGen Pro version 5.6. Build 5.6.1 -----[Core exception]-------------------- at System.Collections.Generic.List1.set_Capacity(Int32 value) at System.Collections.Generic.List1.EnsureCapacity(Int32 min) at System.Collections.Generic.List1.Add(T item) at SD.LLBLGen.Pro.ApplicationCore.EntityModel.TypedLists.TypedListDefinition.GetAllRelationshipsForQueryConstruction() at SD.LLBLGen.Pro.TDLInterpreter.Interpreter.HandleEntityRelationLoopStart() at SD.LLBLGen.Pro.TDLInterpreter.Interpreter.Interpret(StreamWriter outputStream, String originalFileContents) at SD.LLBLGen.Pro.GeneratorCore.CodeGenerationEngineBase.EmitOutputToFile[TElement](TElement currentElement, String destinationFilename, Boolean failWhenExistent, Assembly compiledTemplatesAssembly, String templateID, Dictionary2 parameters, Boolean isPartOfSet, String outputDescription, String dependentUponFilename) at SD.LLBLGen.Pro.GeneratorCore.CodeGenerationEngineBase.EmitOutputForElements[TElement](String destinationFolderFormat, String filenameFormat, Boolean failWhenExistent, String templateID, Assembly compiledTemplatesAssembly, Dictionary2 parameters, ICollection1 elementsToTraverse, EmitType emitTypeUsed, Func2 nameProducerFunc, Func2 fullNameProducerFunc, Func2 elementTypeNameProducerFunc, Func2 groupNameProducerFunc, String dependentUponFilenameFormat) at SD.LLBLGen.Pro.GeneratorCore.CodeGenerationEngineBase.EmitOutput(Dictionary2 parameters, String destinationFolderFormat, String templateID, Assembly compiledTemplatesAssembly, EmitType emitTypeToPerform, String filenameFormat, Boolean failWhenExistent, String dependentUponFilenameFormat) at SD.LLBLGen.Pro.TaskPerformers.CodeEmitter.Perform(IGenerator executingGenerator, ITask taskDefinition, Dictionary2 parameters) at SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks.Task.PerformElement(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks.TaskGroupElement.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks.TaskGroup.PerformElement(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks.TaskGroupElement.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks.TaskGroup.PerformElement(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks.TaskGroupElement.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.GeneratorCore.Generator.RunTasks(String rootNameSpaceToUse, String destinationRootFolder, String groupName) at SD.LLBLGen.Pro.GeneratorCore.Generator.Start(CodeGenerationTaskBase codeGenTask, ApplicationConfiguration configurationSettings, Boolean performObsoleteFileCleanup) at SD.LLBLGen.Pro.Gui.Classes.GuiController.PerformRunCodeGenerationCycleAction(List1 codeGenTasks, List1 vsNetProjectsCreated, Boolean debugBuild, LogNode& tasksResultLog)

I can send you the project file via email (let me know where to send it).

Regards,

Rogelio

Posts: 6
Joined: 30-Dec-2019
# Posted on: 09-Jan-2020 04:03:03   

Hi,

I found the problem, a Typedlist (where the code generation stop) had dual relation between two entities ( I do not know why, I only upgraded from 2.6 (it was ok in 2.6))

Rogelio