The build stopped unexpectedly because of an unexpected logger failure.

chefkoch's Avatar

chefkoch

22 Mar, 2014 08:39 AM

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?

  1. Support Staff 1 Posted by Feodor Fitsner on 22 Mar, 2014 03:17 PM

    Feodor Fitsner's Avatar

    I will take a look. Thanks for the links to log and the project!

  2. Support Staff 2 Posted by Feodor Fitsner on 22 Mar, 2014 03:21 PM

    Feodor Fitsner's Avatar

    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. 3 Posted by chefkoch on 22 Mar, 2014 06:15 PM

    chefkoch's Avatar

    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]

  4. Support Staff 4 Posted by Feodor Fitsner on 22 Mar, 2014 07:04 PM

    Feodor Fitsner's Avatar

    Ah, OK, this is good it's still reproducible :) I will fix that.

    - Feodor

  5. Support Staff 5 Posted by Feodor Fitsner on 28 Mar, 2014 09:39 PM

    Feodor Fitsner's Avatar

    The issue has been fixed and update deployed.

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:38 AM.

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

 

26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM
20 Sep, 2024 05:50 PM