Completed
Last Updated: 14 Oct 2013 18:49 by Ewin
Ewin
Created on: 17 Sep 2013 16:43
Type: Bug Report
0
Preview code in VS fails for Visible verification
Visual Studio's Preview Code does not actually do anything.  

Exception thrown in my log was: 

[09/17 12:42:00,devenv.exe(6808:1),Error] CodeGenerator.GenerateTestMethodInt() : EXCEPTION! (see below)
     Situation: CodeGeneration
     Outer Exception Type: System.InvalidCastException
     Message: Unable to cast object of type 'ArtOfTest.Common.Design.CodeGeneration.NonBound' to type 'ArtOfTest.Common.Design.CodeGeneration.DataBound'.
     HRESULT: 0x80004002 (Official ID (if app.) = COR_E_INVALIDCAST, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16386)
     Call Stack:
          at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.VisibleVerificationDescriptor.ToCode()
          at ArtOfTest.Common.Design.CodeGeneration.CodeGenerator.GenerateTestMethodInt(Test test, CodeGenerationLanguage codeLanguage, UnitTestType unitTestType, Boolean codePreview, String dataFileName, List`1& requiredReferences, Action`1 techSpecificInitialization)
3 comments
Ewin
Posted on: 14 Oct 2013 18:49
This worked when I posted my thank you on October 3rd, but is not working again.  

[10/14 14:46:01,devenv.exe(6896:1),Error] CodeGenerator.GenerateTestMethodInt() : EXCEPTION! (see below)
     Situation: CodeGeneration
     Outer Exception Type: System.InvalidCastException
     Message: Unable to cast object of type 'ArtOfTest.Common.Design.CodeGeneration.NonBound' to type 'ArtOfTest.Common.Design.CodeGeneration.DataBound'.
     HRESULT: 0x80004002 (Official ID (if app.) = COR_E_INVALIDCAST, Error Bit = FAILED, Facility = FACILITY_NULL, Code = 16386)
     Call Stack:
          at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.VisibleVerificationDescriptor.ToCode()
          at ArtOfTest.Common.Design.CodeGeneration.CodeGenerator.GenerateTestMethodInt(Test test, CodeGenerationLanguage codeLanguage, UnitTestType unitTestType, Boolean codePreview, String dataFileName, List`1& requiredReferences, Action`1 techSpecificInitialization)
Ewin
Posted on: 03 Oct 2013 17:14
Thank you.
ADMIN
Daniel Djambov
Posted on: 02 Oct 2013 13:58
Telerik: Issue is fixed and solution will be available in next product release in October 2013.