question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ProcessConfig.initialise() under netcore throws Exception

See original GitHub issue

I want to simply test the Actormodel under netcore but after a call of ProcessConfig.initialise();

I get the following exception call stack : It seems that some key in a dictionary (providers?) not exists ?

Unhandled Exception: System.Exception: Key doesn't exist in map
   at LanguageExt.Prelude.failwith[R](String message)
   at LanguageExt.Option`1.Match[R](Func`2 Some, Func`1 None)
   at LanguageExt.Map`2.get_Item(K key)
   at LanguageExt.ActorSystem..ctor(SystemName systemName, Option`1 cluster, AppProfile appProfile, ProcessSystemConfig settings)
   at LanguageExt.ActorContext.StartSystem(SystemName system, Option`1 cluster, AppProfile appProfile, ProcessSystemConfig config)
   at LanguageExt.ProcessConfig.<>c__DisplayClass4_0.<StartFromConfig>b__8()
   at LanguageExt.Option`1.Match(Action`1 Some, Action None)
   at LanguageExt.ProcessConfig.StartFromConfig(ProcessSystemConfig config)
   at MapExtensions.Iter[K,V](Map`2 self, Action`1 action)
   at LanguageExt.Option`1.Match[R](Func`2 Some, Func`1 None)
   at LanguageExt.ProcessConfig.initialise(String configText, Option`1 nodeName, Action setup, IEnumerable`1 strategyFuncs)
   at LanguageExt.ProcessConfig.initialise()
   at txs.actor.Program.Main(String[] args)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
louthycommented, Oct 12, 2016

Ok, looks like a .NET Core specific problem. I’ve managed to repro from the package, I’ll try and take a look this evening.

On Wed, 12 Oct 2016 at 08:38 stefc notifications@github.com wrote:

Windows 7 with dotnet core

dotnet --versions give me the following

Version 1.0.0-preview2-003121 OS Name : Windows OS Version: 6.1.7601 RID: win7-x64

LanguageExt.Core / .Process package is 1.9.3

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/louthy/language-ext/issues/157#issuecomment-253141218, or mute the thread https://github.com/notifications/unsubscribe-auth/AB5kk4lHxuDCBlbQ_nQ9WpPLMlvuwYyYks5qzI5tgaJpZM4KTly4 .

0reactions
stefccommented, Oct 25, 2016

Work very good now with netcore ! Thx for the fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

vb.net - My.Settings() Throws Exception Error When Using . ...
NET Framework instead of .NET Core, and the issue was resolved. I encountered this error when trying to use My.Settings() in the project....
Read more >
Application not recovering when Startup throws exception
The .NET Core 2.2 application gets automatically started with the "Application Initialization" feature in IIS. When the application starts ...
Read more >
Handle errors in ASP.NET Core
Discover how to handle errors in ASP.NET Core apps. ... If the alternate pipeline throws an exception of its own, Exception Handling ...
Read more >
Handle errors in ASP.NET Core web APIs
Learn about error handling with ASP.NET Core web APIs.
Read more >
Throwing ArgumentException and InvalidOperationException
An exception is thrown when an error is encountered in a running application, whether from bad code or bad user input.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found