Skip to content

Instantly share code, notes, and snippets.

View EmilAlipiev's full-sized avatar
🎯
Focusing

Emil Alipiev EmilAlipiev

🎯
Focusing
  • Freelancer
  • Germany
View GitHub Profile
{System.Threading.SemaphoreFullException: Adding the specified count to the semaphore would cause it to exceed its maximum count.
at System.Threading.SemaphoreSlim.Release (System.Int32 releaseCount) [0x0004c] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
at System.Threading.SemaphoreSlim.Release () [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
at Plugin.TextToSpeech.TextToSpeech+<Speak>d__11.MoveNext () [0x00217] in C:\projects\texttospeechplugin\src\TextToSpeech.Plugin.Android\TextToSpeech.cs:95
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <896ad1d315ca4ba7b117efb8
10-04 16:17:32.976 I/MonoDroid(27993): System.Threading.Tasks.TaskCanceledException: A task was canceled.
10-04 16:17:32.976 I/MonoDroid(27993): at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00026] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
10-04 16:17:32.976 I/MonoDroid(27993): at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
10-04 16:17:32.976 I/MonoDroid(27993): at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
10-04 16:17:32.976 I/MonoDroid(27993): at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
10-04 16:17:32.976 I/MonoDroid(27993): at Plugin.TextToSpeech.TextToSpeech+<Speak>d__11.MoveNext () [0x001bd] in C:\projects\texttospeechplugin\src\TextToSpeech.Plugin.And
@EmilAlipiev
EmilAlipiev / gist:37cac6fa6c10ebdb1ad1cd5ecae75a98
Created March 5, 2018 11:35
System.ArgumentException: Error with TTS engine on progress listener
System.Runtime.ExceptionServices
ExceptionDispatchInfo.Throw ()
System.Runtime.CompilerServices
TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task)
System.Runtime.CompilerServices
TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task)
System.Runtime.CompilerServices
TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task)
System.Runtime.CompilerServices
TaskAwaiter`1[TResult].GetResult ()
@EmilAlipiev
EmilAlipiev / usingexception
Created March 29, 2018 13:44
usingexception
System.ObjectDisposedException: The object has been closed. (Exception from HRESULT: 0x80000013) at System.Runtime.InteropServices.WindowsRuntime.IClosable.Close() at System.Runtime.InteropServices.WindowsRuntime.IClosableToIDisposableAdapter.Dispose() at Plugin.TextToSpeech.TextToSpeech.Dispose()
{System.ArgumentException: Error with TTS engine on progress listener
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <fcbf47a04b2e4d90beafbae627e1fca4>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <fcbf47a04b2e4d90beafbae627e1fca4>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <fcbf47a04b2e4d90beafbae627e1fca4>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <fcbf47a04b2e4d90beafbae627e1fca4>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <fcbf47a04b2e4d90beafbae627e1fca4>:0
at Plugin.TextToSpeech.TextToSpeech+<Speak>d__16.MoveNext () [0x001f4] in C:\projects\texttospeechplugin\src\TextToSpeech.Plugin.Android\TextToSpeech.cs:215
--- End of stack trace from previous location where exception was thrown -
{
"length": 0,
"offset": 0,
"id": "",
"exception": {
"type": "Plugin.InAppBilling.Abstractions.InAppBillingPurchaseException",
"message": "You are not connected to the Google Play App store.",
"stackTrace": " at Plugin.InAppBilling.InAppBillingImplementation+<GetProductInfoAsync>d__28.MoveNext () <0xc3604c60 + 0x002e4> in
<2be3ca88076242b5875e211410fe2dd3>:0
\n--- End of stack trace from previous location where exception was thrown ---\n
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidUseSharedRuntime>False</AndroidUseSharedRuntime>
<DebugType>portable</DebugType>
<AndroidLinkMode>Full</AndroidLinkMode>
<EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidUseSharedRuntime>False</AndroidUseSharedRuntime>
<DebugType>portable</DebugType>
<AndroidLinkMode>Full</AndroidLinkMode>
<EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidUseSharedRuntime>False</AndroidUseSharedRuntime>
<DebugType>portable</DebugType>
<AndroidLinkMode>Full</AndroidLinkMode>
<EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>
4>C:\Users\user_\.nuget\packages\microsoft.net.native.compiler\2.1.8\tools\Microsoft.NetNative.targets(788,5): error : Error: NUTC303E:Internal Compiler Error: No matches found for a constrained call to method 'instance System.Void System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()' on type 'Splat.WriteableBitmapImageBitmap+<Save>d__9' from assembly 'Splat' while compiling method 'static System.Void System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start<Splat.WriteableBitmapImageBitmap+<Save>d__9>(Splat.WriteableBitmapImageBitmap+<Save>d__9&)'.
4>C:\Users\user_\.nuget\packages\microsoft.net.native.compiler\2.1.8\tools\Microsoft.NetNative.targets(788,5): error : Type 'System.Runtime.CompilerServices.IAsyncStateMachine' from assembly 'System.Runtime' was not included in compilation, but was referenced in method 'BitmapImageBitmap.<Save>d__8.SetStateMachine(IAsyncStateMachine)'. There may have been a missing assembly, or a dependency on a more recent Windows SDK release.
4>C:\Users\user_\.nuget\