Bug Report - Xaml Decompilation

7 posts, 0 answers
  1. Mario Arturo
    Mario Arturo avatar
    4 posts
    Member since:
    Mar 2014

    Posted 10 Oct Link to this post

    Hello,

     

    I have found the following error during decompilation:

    Current member / type: view/editablecasedata/editablecasedatawindow.baml
    File path: F:\Software\WDE\8.5.113.11\Bin\Genesyslab.Desktop.Modules.OpenMedia.dll
    Product version: 2017.2.706.0
    Character '0' was unexpected in string '0'.  Invalid XAML type name.
    at MS.Internal.Xaml.Parser.MeScanner.ResolveTypeName(String longName)
    at MS.Internal.Xaml.Parser.MeScanner.Read()
    at MS.Internal.Xaml.Parser.MePullParser.<P_MarkupExtension>d__9.MoveNext()
    at MS.Internal.Xaml.Parser.MePullParser.<P_Value>d__13.MoveNext()
    at MS.Internal.Xaml.Parser.MePullParser.<P_NamedArg>d__14.MoveNext()
    at MS.Internal.Xaml.Parser.MePullParser.<P_NamedArgs>d__12.MoveNext()
    at MS.Internal.Xaml.Parser.MePullParser.<P_Arguments>d__10.MoveNext()
    at MS.Internal.Xaml.Parser.MePullParser.<P_MarkupExtension>d__9.MoveNext()
    at MS.Internal.Xaml.Parser.MePullParser.<Parse>d__6.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<LogicStream_Attribute>d__24.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_EmptyElement>d__6.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_Element>d__5.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementContent>d__12.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementBody>d__8.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_Element>d__5.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementContent>d__12.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementBody>d__8.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_Element>d__5.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementContent>d__12.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementBody>d__8.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_Element>d__5.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_PropertyContent>d__13.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_NonemptyPropertyElement>d__11.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_PropertyElement>d__9.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_ElementBody>d__8.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<P_Element>d__5.MoveNext()
    at MS.Internal.Xaml.Parser.XamlPullParser.<Parse>d__4.MoveNext()
    at MS.Internal.Xaml.NodeStreamSorter.ReadAheadToEndOfAttributes()
    at MS.Internal.Xaml.NodeStreamSorter.ReadAheadAndSortCtorProperties()
    at MS.Internal.Xaml.NodeStreamSorter.MoveNext()
    at System.Xaml.XamlXmlReader.Read()
    at Telerik.Xaml.XamlDomMember.Read() in C:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\XamlXtract\Telerik.Xaml\XamlDom\XamlDomMember.cs:line 148
    at Telerik.Xaml.XamlDomMember.Read() in C:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\XamlXtract\Telerik.Xaml\XamlDom\XamlDomMember.cs:line 171
    at Telerik.Xaml.XamlDomType.Read() in C:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\XamlXtract\Telerik.Xaml\XamlDom\XamlDomType.cs:line 90
    at Telerik.Xaml.XamlDomMember.Read() in C:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\XamlXtract\Telerik.Xaml\XamlDom\XamlDomMember.cs:line 154
    at Telerik.Xaml.XamlDomType.Read() in C:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\XamlXtract\Telerik.Xaml\XamlDom\XamlDomType.cs:line 90
    at Telerik.Xaml.XamlDomMember.Read() in C:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\XamlXtract\Telerik.Xaml\XamlDom\XamlDomMember.cs:line 154
    at Telerik.Xaml.XamlDomType.Read() in C:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\XamlXtract\Telerik.Xaml\XamlDom\XamlDomType.cs:line 90
    at Telerik.Xaml.XamlDomMember.Read() in C:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\XamlXtract\Telerik.Xaml\XamlDom\XamlDomMember.cs:line 154
    at Telerik.Xaml.XamlDomType.Read() in C:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\XamlXtract\Telerik.Xaml\XamlDom\XamlDomType.cs:line 90
    at Telerik.Xaml.XmlWriters.XamlTextWriter.Read( ) in C:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\XamlXtract\Telerik.Xaml\TextWriters\XamlTextWriter.cs:line 23
    at ..Write( , Stream –, String ) in C:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\XamlXtract\Telerik.Xaml\XamlDom\XmlLanguageWriter.cs:line 32
    at .’.Write(˜ ‹Ž) in C:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\UI\JustDecompile.CodeViewer\Writers\XmlWriter.cs:line 47
    at JustDecompile.CodeViewer.ViewModels.CodeViewerViewModel.( , TabCodeSettings ‹Ž, CancellationToken ) in C:\Builds\556\Behemoth\ReleaseBranch Production Build NT\Sources\UI\JustDecompile.CodeViewer\ViewModels\CodeViewerViewModel.cs:line 563

     

    Best Regards,

    Mario

  2. Alexander
    Admin
    Alexander avatar
    206 posts

    Posted 13 Oct Link to this post

    Hello,

    Thanks for letting us know about this problem. I really appreciate this.

    Would it be possible that you zip the assembly where that happens and send it over to me? Rather unfortunately, that seems to be the only way to reproduce that problem. If you are not comfortable to share it publicly, please let me know and I will provide you with a secure channel to do it.

    Regards,
    Alexander
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Mario Arturo
    Mario Arturo avatar
    4 posts
    Member since:
    Mar 2014

    Posted 18 Oct in reply to Alexander Link to this post

    Sorry for the delay, it doesn't allow me to attach the assembly in this reply, I am sharing via OneDrive in the following URL:

     

    https://1drv.ms/u/s!AmWJ_jMFe0IwiJcE6TJvYGU6FkVbag

     

     

    Thanks,

    Best Regards

  4. Alexander
    Admin
    Alexander avatar
    206 posts

    Posted 20 Oct Link to this post

    Hello,

    Thank you for the follow-up.

    We will also need Genesyslab.Desktop.WPFCommon.dll since it is needed for the BAML decompilation. Whould it be possible that you share it as well?

    Regards,
    Alexander
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  5. Mario Arturo
    Mario Arturo avatar
    4 posts
    Member since:
    Mar 2014

    Posted 26 Oct in reply to Alexander Link to this post

    Hello, 

     

    You can download the missing file from the following URL:

     

    https://1drv.ms/u/s!AmWJ_jMFe0IwiJgcj5zE3x9SiE8oZA

     

    Best Regards,

    Thanks

  6. Alexander
    Admin
    Alexander avatar
    206 posts

    Posted 01 Nov Link to this post

    Hello,

    Thank you for providing us with the needed assemblies. We've been able to reproduce the problem you have and it's now added to our backlog.

    However, there is workaround for this one. It seems that the problem is present only when using the UI, so you can create project for the assembly and check the decompiled XAML. It should be decompiled just fine.

    Regards,
    Alexander
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  7. Mario Arturo
    Mario Arturo avatar
    4 posts
    Member since:
    Mar 2014

    Posted 01 Nov in reply to Alexander Link to this post

    Hello,

    Thanks for the help and the workaround.

    Best Regards,

    Mario

Back to Top