The build stopped unexpectedly because of an unexpected logger failure.
I am receiving the following build/log
error when compiling
Build.proj.
Microsoft.Build.Exceptions.InternalLoggerException: The build stopped unexpectedly because of an unexpected logger failure. ---> System.NullReferenceException: Object reference not set to an instance of an object.
16 at Appveyor.MSBuildLogger.AppveyorLogger.SendCompilationMessage(BuildMessageCategory category, String message, String code, String file, Int32 lineNumber, Int32 columnNumber, Int32 projectId)
17 at Appveyor.MSBuildLogger.AppveyorLogger.eventSource_WarningRaised(Object sender, BuildWarningEventArgs e)
18 at Microsoft.Build.Evaluation.ProjectCollection.ReusableLogger.WarningRaisedHandler(Object sender, BuildWarningEventArgs e)
19 at Microsoft.Build.Framework.BuildWarningEventHandler.Invoke(Object sender, BuildWarningEventArgs e)
20 at Microsoft.Build.BackEnd.Logging.EventSourceSink.RaiseWarningEvent(Object sender, BuildWarningEventArgs buildEvent)
21 --- End of inner exception stack trace ---
22 at Microsoft.Build.Exceptions.InternalLoggerException.Throw(Exception innerException, BuildEventArgs e, String messageResourceName, Boolean initializationException, String[] messageArgs)
23 at Microsoft.Build.BackEnd.Logging.EventSourceSink.RaiseWarningEvent(Object sender, BuildWarningEventArgs buildEvent)
24 at Microsoft.Build.BackEnd.Logging.EventSourceSink.Consume(BuildEventArgs buildEvent)
25 at Microsoft.Build.BackEnd.Logging.EventSourceSink.Consume(BuildEventArgs buildEvent, Int32 sinkId)
26 at Microsoft.Build.BackEnd.Logging.EventRedirectorToSink.Microsoft.Build.Framework.IEventRedirector.ForwardEvent(BuildEventArgs buildEvent)
27 at Microsoft.Build.BackEnd.Logging.CentralForwardingLogger.EventSource_AnyEventRaised(Object sender, BuildEventArgs buildEvent)
28 at Microsoft.Build.BackEnd.Logging.EventSourceSink.RaiseAnyEvent(Object sender, BuildEventArgs buildEvent)
Can anybody help me to understand why the build fails and how to solve this issue, please?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 22 Mar, 2014 03:17 PM
I will take a look. Thanks for the links to log and the project!
Support Staff 2 Posted by Feodor Fitsner on 22 Mar, 2014 03:21 PM
OK, looking at project history in AppVeyor I see you managed to fix the issue with MSBuildLogger. What have you done to make it work?
3 Posted by chefkoch on 22 Mar, 2014 06:15 PM
Not really. I used the cmd as a workaround and I am calling the msbuild
manually now.
*--------------------------Team MediaPortal*
Tommy Scheinpflug (chefkoch)
Mail: [email blocked]
Support Staff 4 Posted by Feodor Fitsner on 22 Mar, 2014 07:04 PM
Ah, OK, this is good it's still reproducible :) I will fix that.
- Feodor
Support Staff 5 Posted by Feodor Fitsner on 28 Mar, 2014 09:39 PM
The issue has been fixed and update deployed.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:38 AM.