Giter VIP home page Giter VIP logo

Comments (6)

kria avatar kria commented on June 29, 2024

I would be very surprised if TFS doesn't fire events for a all team projects. I think it's more likely that my plugin is breaking for some reason on that specific team project. Which events are you expecting?

Can you take a look in event viewer/windows logs/application on the TFS server and look for any Error level event from TFS Services. The message will be something like The subscriber TfsNotificationRelay raised an exception while being notified of event...

from tfsnotificationrelay.

ernestopye avatar ernestopye commented on June 29, 2024

The bot is currently set up to relay all events. A detail I forgot to mention is that check-in notifications do work on all team projects. It's only work item-related events that aren't being sent. Something like creating a bug or changing its status is the easiest way I've found to replicate it on our end.

Looks like you were correct. I had IT take a look at TFS logs and he found the following:

TF53010: The following error has occurred in a Team Foundation component or extension:
Date (UTC): 3/23/2015 11:09:13 AM
Machine:
Application Domain:
Assembly: Microsoft.TeamFoundation.Framework.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v4.0.30319
Service Host:
Process Details:
Process Name: w3wp
Process Id: 2652
Thread Id: 2912
Account name:

Detailed Message: The subscriber TfsNotificationRelay raised an exception while being notified of event Microsoft.TeamFoundation.WorkItemTracking.Server.WorkItemChangedEvent.
Exception Message: Object reference not set to an instance of an object. (type NullReferenceException)
Exception Stack Trace: at DevCore.TfsNotificationRelay.EventHandlers.WorkItemChangedHandler.CreateNotification(TeamFoundationRequestContext requestContext, WorkItemChangedEvent ev, Int32 maxLines)
at DevCore.TfsNotificationRelay.EventHandlers.BaseHandler.ProcessEvent(TeamFoundationRequestContext requestContext, NotificationType notificationType, Object notificationEventArgs, Int32& statusCode, String& statusMessage, ExceptionPropertyCollection& properties)
at Microsoft.TeamFoundation.Framework.Server.TeamFoundationEventService.SubscriptionList.Notify(TeamFoundationRequestContext requestContext, NotificationType notificationType, Object notificationEventArgs, String& statusMessage, ExceptionPropertyCollection& properties)

Hopefully this is useful to you. IT will get me some more error messages later in the day, so I'll be sure to post those here for you when they come back.

Thanks so much!

from tfsnotificationrelay.

ernestopye avatar ernestopye commented on June 29, 2024

I got a bunch more of these logs from IT just now, but they seem to point to the same code as above. Hopefully you're able to figure this out. If there's anything else we can do to help let me know.

from tfsnotificationrelay.

kria avatar kria commented on June 29, 2024

I can't tell what the problem is from that stack trace. If you download this debug build and drop in the dll and pdb files in the Plugins dir, I can hopefully pinpoint the problem in a new stack trace.

from tfsnotificationrelay.

ernestopye avatar ernestopye commented on June 29, 2024

Just wanted to let you know what IT's been swamped here and I sadly don't have access to the TFS servers, so I can't do this myself, but I'm still looking to help resolve this. I'm trying to get them to lend us their time maybe next week.

from tfsnotificationrelay.

ernestopye avatar ernestopye commented on June 29, 2024

Go figure, as soon as we get the debug build in place, we stop being able to see errors being logged. We just simply couldn't get them to come up, and we still only see check-in notifications from this one team project. We even reverted back to the release build and we still couldn't see any errors.

I couldn't do this myself, but I'm putting my trust in IT that they checked the same location as before. Not sure what else to do to help at this point.

from tfsnotificationrelay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.