AppveyorLogger causing Microsoft.Build.Exceptions.InternalLoggerException

it's Avatar

it

14 Oct, 2014 10:05 AM

All our build have started failing with the following error:

537MSBUILD : error MSB4166: Child node "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.
538MSBUILD : error MSB4166: at Appveyor.MSBuildLogger.AppveyorLogger.eventSource_ProjectStartedHandler(Object sender, ProjectStartedEventArgs e)
539MSBUILD : error MSB4166: at Microsoft.Build.Evaluation.ProjectCollection.ReusableLogger.ProjectStartedHandler(Object sender, ProjectStartedEventArgs e)
540MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.Logging.EventSourceSink.RaiseProjectStartedEvent(Object sender, ProjectStartedEventArgs buildEvent)
541MSBUILD : error MSB4166: --- End of inner exception stack trace ---
542MSBUILD : error MSB4166: at Microsoft.Build.Exceptions.InternalLoggerException.Throw(Exception innerException, BuildEventArgs e, String messageResourceName, Boolean initializationException, String[] messageArgs)
543MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.Logging.EventSourceSink.RaiseProjectStartedEvent(Object sender, ProjectStartedEventArgs buildEvent)
544MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.Logging.EventSourceSink.Consume(BuildEventArgs buildEvent)
545MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.Logging.EventSourceSink.Consume(BuildEventArgs buildEvent, Int32 sinkId)
546MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.Logging.LoggingService.RouteBuildEvent(KeyValuePair`2 nodeEvent)
547MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.Logging.LoggingService.RouteBuildEvent(Object loggingEvent)
548MSBUILD : error MSB4166: at Microsoft.Build.BackEnd.Logging.LoggingService.LoggingEventProcessor(Object loggingEvent)" exited prematurely. Shutting down. Diagnostic information may be found in files in the temporary files directory named MSBuild_*.failure.txt.
549 REDACTED
550MSBUILD : error MSB4017: The build stopped unexpectedly because of an unexpected logger failure.
551System.NullReferenceException: Object reference not set to an instance of an object.
552 at Appveyor.MSBuildLogger.AppveyorLogger.eventSource_ProjectStartedHandler(Object sender, ProjectStartedEventArgs e)
553 at Microsoft.Build.Evaluation.ProjectCollection.ReusableLogger.ProjectStartedHandler(Object sender, ProjectStartedEventArgs e)
554 at Microsoft.Build.BackEnd.Logging.EventSourceSink.RaiseProjectStartedEvent(Object sender, ProjectStartedEventArgs buildEvent)
555Command exited with code 1

  1. 1 Posted by it on 14 Oct, 2014 10:29 AM

    it's Avatar

    I have temporarily solved the issue by removing AppveyorLogger from the build.
    I removed the following options from msbuild
    /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /v:m /m

    Everything now build but the console log looks hideous :(

  2. Support Staff 2 Posted by Feodor Fitsner on 14 Oct, 2014 01:53 PM

    Feodor Fitsner's Avatar

    Your account has been moved to Azure environment for now. We'll be working on to resolve the issue with logger.

    What kind of project is that? Does it use parallel building with /m switch?

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:49 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