Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Designer> Array dimensions exceeded supported range
 

Pages: 1
Designer
Array dimensions exceeded supported range
Page:1/1 

  Print all messages in this thread  
Poster Message
RogelioMoreno
User



Location:
Panama, Panama
Joined on:
30-Dec-2019 04:07:48
Posted:
6 posts
# 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.List`1.set_Capacity(Int32 value)
at System.Collections.Generic.List`1.EnsureCapacity(Int32 min)
at System.Collections.Generic.List`1.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, Dictionary`2 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, Dictionary`2 parameters, ICollection`1 elementsToTraverse, EmitType emitTypeUsed, Func`2 nameProducerFunc, Func`2 fullNameProducerFunc, Func`2 elementTypeNameProducerFunc, Func`2 groupNameProducerFunc, String dependentUponFilenameFormat)
at SD.LLBLGen.Pro.GeneratorCore.CodeGenerationEngineBase.EmitOutput(Dictionary`2 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, Dictionary`2 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(List`1 codeGenTasks, List`1 vsNetProjectsCreated, Boolean debugBuild, LogNode& tasksResultLog)

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

Regards,

Rogelio
  Top
RogelioMoreno
User



Location:
Panama, Panama
Joined on:
30-Dec-2019 04:07:48
Posted:
6 posts
# 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


  Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.