Comments (8)
here is the full stack trace:
System.TypeInitializationException : The type initializer for 'Gridsum.DataflowEx.LogHelper' threw an exception.
----> System.TypeLoadException : Could not load type 'Common.Logging.LogManager' from assembly 'Common.Logging.Core, Version=3.1.0.0, Culture=neutral, PublicKeyToken=af08829b84f0328e'.
at Gridsum.DataflowEx.LogHelper.get_Logger()
at Gridsum.DataflowEx.Dataflow.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Dataflow.Tests.AvailableScheduleBlockFlowTests.d__1.MoveNext() in C:\Projects\AdvancedHealth\skedge.service\Tests\Dataflow.Tests\AvailableScheduleBlockFlowTests.cs:line 28
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.b__4(Object state)
at NUnit.Framework.AsyncSynchronizationContext.AsyncOperation.Invoke()
at NUnit.Framework.AsyncSynchronizationContext.AsyncOperationQueue.InvokePendingOperations()
at NUnit.Framework.AsyncSynchronizationContext.AsyncOperationQueue.InvokeAll()
at NUnit.Framework.AsyncInvocationRegion.AsyncVoidInvocationRegion.WaitForPendingOperationsToComplete(Object invocationResult)
at NUnit.Framework.AsyncInvocationRegion.AsyncVoidInvocationRegion.WaitForPendingOperationsToComplete(Object invocationResult)
at NUnit.Core.NUnitAsyncTestMethod.RunTestMethod()
--TypeLoadException
at Gridsum.DataflowEx.LogHelper..cctor()
from dataflowex.
Thanks for reporting the issue @nelittle .
The reason behind the issue is a common.logging breaking change: the LogManager class has moved from Common.Logging.Core to Common.Logging, a different assembly.
Honestly DataflowEx may not update its common.logging dependency until next major version. So, if downgrading to 2.2 is acceptable in your scenario, this is probably the best way to work around. Do you need any particular feature in common.logging 3.0+?
from dataflowex.
Would it make sense to update the NuGet package to explicitly depend on Common.Logging >= 2.2.0 && < 3.0 in order to disallow incompatible upgrades?
from dataflowex.
i'm no longer working on this project, but the issue we had is that another package we were using was on a much newer version, hence us having that version already installed, so we ended up having to degrade several component's version of Common.Logging. It seemed to work for us, but if any of those other components had a min version dependency that was higher, i'm not sure what we would have done.
from dataflowex.
Recently I am planning to upgrade to Common.Logging 3.x and publish a new version : )
Btw, porting the whole DataflowEx to .NET Core is also on the roadmap. This project will evolve.
from dataflowex.
I'm also have an issues with Common.Logging. So wait for the new version. Can you update a status?
from dataflowex.
@nelittle @hangy @stristan Hi guys, a brand new version of DataflowEx is out with the help of .Net Core preview 2 ! Please try out the preview release to see if it solves your problem (Common.Logging upgraded to 3.4.0) :
https://www.nuget.org/packages/Gridsum.DataflowEx/2.0.0-alpha
Related pr is #13 .
Cheers,
from dataflowex.
DataflowEx 2.0.0 with Common.Logging 3.4 was released. So close this issue.
from dataflowex.
Related Issues (18)
- Using JoinBlock or equivalent HOT 3
- Elegant Way to Stop Processing a Dataflow HOT 3
- DbBulkInserterBase should provide more information when bulk insert fails HOT 1
- CancellationToken with DataFlow HOT 3
- Where can I ask questions? HOT 1
- Port to Net Standard 2 HOT 6
- Build on CI HOT 4
- No way to gracefully cancel a task when it fails. HOT 1
- Exposing DataDispatcher child dataflows and their dispatch function? HOT 1
- .Net Core 2.0 and logging? HOT 1
- Unregistering a child from a Dataflow HOT 4
- Error occurred in my performance monitor loop HOT 1
- Filtering OutpuBlock HOT 1
- Dataflow waiting for todo items on Exception. HOT 1
- DataBroadcaster sends data only to the first linked target if it is used as output property HOT 2
- Help request for simple project
- Dependencies to .NET Framework required
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dataflowex.