[SOLVED] Error in browsers

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
Nick
Posts: 84
Joined: Tue May 30, 2017 9:44 am
Contact:

[SOLVED] Error in browsers

Postby Nick » Sun Sep 24, 2017 6:23 am

Here are two issues:


ISSUE 1:

JSIL.Browser.js?20179241700:199 The external method 'System.Int32 GetHashCode()' of type 'System.Tuple`2' has not been implemented; calling inherited method.
at Object.JSIL.WarningFormat (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/libs/JSIL.Core.js?20179241700:10539:13)
at System_Tuple$b2.ExternalMemberStub [as GetHashCode] (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/libs/JSIL.Core.js?20179241700:1291:14)
at Object.JSIL.ObjectHashCode (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/libs/JSIL.Core.js?20179241700:9571:19)
at System_Collections_Generic_Dictionary$b2$lbSystem_Tuple$b2$lbSystem_String$cmSystem_String$rb$cmWindows_UI_Xaml_Media_Animation_Timeline$rb__ctor$void$eqvoid.HashContainer_SearchBucket (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/libs/JSIL.Bootstrap.js?20179241700:2426:31)
at System_Collections_Generic_Dictionary$b2$lbSystem_Tuple$b2$lbSystem_String$cmSystem_String$rb$cmWindows_UI_Xaml_Media_Animation_Timeline$rb__ctor$void$eqvoid.ContainsKey (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/libs/JSIL.Bootstrap.js?20179241700:2585:19)
at Windows_UI_Xaml_Media_Animation_Storyboard.Storyboard_GetPropertiesChanged (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/app/CSharpXamlForHtml5.js?20179241700:75262:64)
at Windows_UI_Xaml_Media_Animation_Storyboard.Storyboard_IterateOnce (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/app/CSharpXamlForHtml5.js?20179241700:75293:33)
at Windows_UI_Xaml_Media_Animation_Storyboard.Timeline_StartFirstIteration (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/app/CSharpXamlForHtml5.js?20179241700:72031:28)
at Windows_UI_Xaml_Media_Animation_Storyboard.Storyboard_Begin$01 [as Begin$148,32,34,32=void] (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/app/CSharpXamlForHtml5.js?20179241700:75233:32


ISSUE 2:

JSIL.Browser.js?20179241700:199 The external method 'System.Boolean TryParse<TEnum> (System.String, JSIL.Reference[!!0])' of type 'System.Enum' has not been implemented.
at Object.JSIL.WarningFormat (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/libs/JSIL.Core.js?20179241700:10539:13)
at Function.ExternalMemberStub [as TryParse$b1$34,164[!!0]=32] (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/libs/JSIL.Core.js?20179241700:1314:14)
at JSIL.MethodSignature.MethodSignature_CallStatic$1$2$inlineCache1 (jsil://closure/MethodSignature.CallStat ... che1:12:35)
at Tehnolog_Controls_UserAreaLeft.UserAreaLeft_DisplayMenu (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/app/Tehnolog_Themes.js?20179241700:6150:23)
at Tehnolog_Controls_UserAreaLeft.UserAreaLeft_ExecuteAppCommand (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/app/Tehnolog_Themes.js?20179241700:6165:30)
at JSIL.InterfaceMethod.InterfaceMethod_CallInterface_I390$ExecuteAppCommand$30$cm382$eqvoid [as Call] (jsil://closure/InterfaceMethod.CallInte ... =void:8:56)
at Tehnolog_Themes_Theme.BaseTheme_ExecuteAppCommand (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/app/Tehnolog_Themes.js?20179241700:3402:21)
at Tehnolog_Controls_TehnologHeader.Delegate_Invoke [as AppCommand] (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/libs/JSIL.Core.js?20179241700:9344:23)
at Tehnolog_Controls_TehnologHeader.ThemeSection_CallAppCommand (file:///E:/New%20folder/TehnologJSIL/MyApp/bin/Debug/Output/app-cshtml5/app/Tehnolog_Themes.js?20179241700:2385:12
JSIL.Browser.WarningService.write @ JSIL.Browser.js?20179241700:199
JSIL.Host.warning @ JSIL.Host.js?20179241700:158
JSIL.WarningFormat @ JSIL.Core.js?20179241700:10539
ExternalMemberStub @ JSIL.Core.js?20179241700:1314
MethodSignature_CallStatic$1$2$inlineCache1 @ MethodSignature.CallStatic$1$2$inlineCache1:12
UserAreaLeft_DisplayMenu @ Tehnolog_Themes.js?20179241700:6150
UserAreaLeft_ExecuteAppCommand @ Tehnolog_Themes.js?20179241700:6165
InterfaceMethod_CallInterface_I390$ExecuteAppCommand$30$cm382$eqvoid @ InterfaceMethod.CallInterface_I390$ExecuteAppCommand$30,382=void:8
BaseTheme_ExecuteAppCommand @ Tehnolog_Themes.js?20179241700:3402
Delegate_Invoke @ JSIL.Core.js?20179241700:9344
ThemeSection_CallAppCommand @ Tehnolog_Themes.js?20179241700:2385
TehnologHeader_ActionMenu @ Tehnolog_Themes.js?20179241700:5091
TehnologHeader_Border_PointerPressed @ Tehnolog_Themes.js?20179241700:5095
Delegate_Invoke @ JSIL.Core.js?20179241700:9344
UIElement_OnPointerPressed$11 @ CSharpXamlForHtml5.js?20179241700:4048
MethodSignature_CallVirtual$0$1$inlineCache3 @ MethodSignature.CallVirtual$0$1$inlineCache3:30
UIElement_OnPointerPressed$10 @ CSharpXamlForHtml5.js?20179241700:4021
OverloadedMethod_InvokeDynamic @ JSIL.Core.js?20179241700:3945
Windows_UI_Xaml_UIElement_OnPointerPressed @ Windows.UI.Xaml.UIElement.OnPointerPressed:9
Delegate_Invoke @ JSIL.Core.js?20179241700:9344
INTERNAL_EventManager$b2_OnEvent @ CSharpXamlForHtml5.js?20179241700:8253
INTERNAL_EventManager$b2_$lStartListeningToDomEventsIfNotAlreadyListening$gb__7 @ CSharpXamlForHtml5.js?20179241700:8214
Delegate_Invoke @ JSIL.Core.js?20179241700:9344
$l$gc__DisplayClass1_$lAttachToDomEvents$gb__0 @ CSharpXamlForHtml5.js?20179241700:8471
Delegate_Invoke @ JSIL.Core.js?20179241700:9344

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Error in browsers

Postby JS-Support @Userware » Wed Oct 11, 2017 2:18 am

Hi,

Thanks for reporting these 2 issues. They are related to the fact that some mscorlib overloads are not supported. They are not detected at compile-time because apparently some similar overloads are supported.

I will let you know as soon as we schedule the development of these 2 overloads.

In the meantime, you can fix the issue on your side either by changing the c# code, or by implementing the missing mscorlib overloads by yourself. Here is the documentation on how to do so:
http://cshtml5.com/links/how-to-implement-mscorlib-methods.aspx

Thanks again.
Regards,
JS-Support

TaterJuice
Posts: 147
Joined: Thu Mar 16, 2017 5:40 am
Contact:

Re: Error in browsers

Postby TaterJuice » Wed Oct 11, 2017 2:43 pm

I've been seeing the same errors.

JS-Support wrote:Hi,
In the meantime, you can fix the issue on your side either by changing the c# code, or by implementing the missing mscorlib overloads by yourself. Here is the documentation on how to do so:
http://cshtml5.com/links/how-to-implement-mscorlib-methods.aspx

Thanks again.
Regards,
JS-Support


This is a VERY useful link\article for those of us who need to work around these issues while you develop permanent fixes. Thank you!

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Error in browsers

Postby JS-Support @Userware » Mon Dec 11, 2017 12:36 am

Hi,

These issues have been fixed in Beta 12.6 and newer, which you can download from:
http://forums.cshtml5.com/viewforum.php?f=6

Please feel free to post again to re-open the ticket if needed.

Thanks.
Regards,
JS-Support


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 27 guests