Bunter's picture

Crash on Bind.exe w/ latest .xml (purpose to gain access to NV Path Rendering)

Project:The Open Toolkit library
Version:1.1-2014-01-02
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Unhandled Exception: System.InvalidOperationException: Enum specification contains cycle
at Bind.Structures.Constant.TranslateConstantWithReference(Constant c, EnumCollection enums, EnumCollection auxEnums) in C:\dev\x\trunk\Source\Bind\Structures\Constant.cs:line 210
at Bind.Structures.Constant.TranslateConstantWithReference(Constant c, EnumCollection enums, EnumCollection auxEnums) in C:\dev\x\trunk\Source\Bind\Structures\Constant.cs:line 219
at Bind.Structures.Constant.TranslateConstantWithReference(Constant c, EnumCollection enums, EnumCollection auxEnums) in C:\dev\x\trunk\Source\Bind\Structures\Constant.cs:line 219
at Bind.Structures.Constant.TranslateConstantWithReference(Constant c, EnumCollection enums, EnumCollection auxEnums) in C:\dev\x\trunk\Source\Bind\Structures\Constant.cs:line 219
at Bind.Structures.Constant.TranslateConstantWithReference(Constant c, EnumCollection enums, EnumCollection auxEnums) in C:\dev\x\trunk\Source\Bind\Structures\Constant.cs:line 219
at Bind.Structures.Constant.TranslateConstantWithReference(Constant c, EnumCollection enums, EnumCollection auxEnums) in C:\dev\x\trunk\Source\Bind\Structures\Constant.cs:line 219
at Bind.Structures.Constant.TranslateConstantWithReference(Constant c, EnumCollection enums, EnumCollection auxEnums) in C:\dev\x\trunk\Source\Bind\Structures\Constant.cs:line 219
at Bind.Structures.Constant.TranslateConstantWithReference(Constant c, EnumCollection enums, EnumCollection auxEnums) in C:\dev\x\trunk\Source\Bind\Structures\Constant.cs:line 219
at Bind.EnumProcessor.<>c__DisplayClass7.b__4(Constant c) in C:\dev\x\trunk\Source\Bind\EnumProcessor.cs:line 317
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Bind.EnumProcessor.ResolveAliases(Enum e, EnumCollection enums) in C:\dev\x\trunk\Source\Bind\EnumProcessor.cs:line 316
at Bind.EnumProcessor.ProcessConstants(EnumCollection enums, XPathNavigator nav) in C:\dev\x\trunk\Source\Bind\EnumProcessor.cs:line 189
at Bind.EnumProcessor.Process(EnumCollection enums) in C:\dev\x\trunk\Source\Bind\EnumProcessor.cs:line 57
at Bind.GL2.Generator.Process() in C:\dev\x\trunk\Source\Bind\GL2\Generator.cs:line 85
at Bind.MainClass.Main(String[] arguments) in C:\dev\x\trunk\Source\Bind\Main.cs:line 192


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
iliak's picture

#1

Same problem here !

I'm trying to find the problem in the code, but not it's not an easy task.
It would be fine if there's a wiki documentation or better source code comments...

the Fiddler's picture

#2

Status:open» fixed

This issue has been fixed and the fix will be available in the next release.

the Fiddler's picture

#4

Version:1.x-dev» 1.1-2014-01-02
Status:fixed» closed