Comments (6)
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.
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.
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.
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.
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.
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)
- How to do set notification? HOT 2
- Filtering out changeset comments from work item comments HOT 2
- PullRequestComment Event does not appear to work with TFS 2017 HOT 16
- TFS2017 Notify failed for bot hipchat HOT 8
- Microsoft Teams Support HOT 1
- TFS 2017.1 support HOT 1
- Possible to use references from Microsoft.VSTS.Common? HOT 4
- No support TFS 2017 update1? HOT 2
- GitPush with gitRepository filter not working well HOT 1
- Messed up commit order HOT 1
- PullRequestComment issue on TFS2017.2 (RC) HOT 1
- Support TFS 2017 Update 2 HOT 1
- Rocket.Chat Integration support?
- TFS 2018 support HOT 4
- Handle Reply & Resolve
- Extra PR comments from guid (system account) HOT 2
- How to use TfsNotificationRelay in TFS 2018 RTM? HOT 1
- Exception being raised when triggered for a push notification HOT 5
- Can you support TFS2018.1?
- TFS 2018 Update 2
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 tfsnotificationrelay.