index > Team Foundation Server - Work Item Tracking > Error - Object reference not set to an instance of an object.

Error - Object reference not set to an instance of an object.


I have a webservice that I want to subscribe to the WorkItemChangedEvent. I have tested this on my test server, but when I attempt to subscribe on my production server, I get a plain vanilla nullreference exception. That's no help.

I can navigate to the service in the browser. Here is the command line that I used to subscribe on the test server. I have been unable to make it work in any form on the productions server.

bissubscribe /eventType WorkItemChangedEvent /userId AD\\dsgtfsservice /address http://dsgts1:8080/NumberWorkItems/Service.asmx /filter "\"ChangeType\"='New'"

Any guidance would be appreciated.

++Alan



++Alan
Alan Stevens
Are you getting null reference error when running BisSubscribe.exe? Looks like we have a bug there if parameters are incorrect. See http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=567249&SiteID=1 on how it was fixed for another use. You can try specifying target server directly as suggested in that post.


http://blogs.msdn.com/narend
Naren Datha - MSFT
Naren,
Yes, I'm getting the null reference text in the subject line of this thread when calling bissubscribe.

I don't see anything in the thread you reference which describes how to specify a target server directly.

I don't believe I have incorrect parameters, because this same command line executed successfully on my identically configured test server.
Alan Stevens

This is likely a bug in the bissubscribe.exe tool itself instead of the subscription APIs it uses. So could you get yourself unblocked by trying to directly use the APIs to subscribe? You can also use GUI tool at http://blogs.msdn.com/narend/archive/2006/07/26/679440.aspx that calls APIs in turn. If you can find out how we could repro this problem in our environment here, that would help us fix the bug. You can either send those repro steps here & I can create a bug, or you can create a bug for us yourself by going to https://connect.microsoft.com/VisualStudio/feedback/CreateFeedbackForm.aspx?FeedbackFormConfigurationID=774&FeedbackType=1 (Choose Visual Studio 2005 Team Foundation Server in the Version combo box)

Thanks.




http://blogs.msdn.com/narend
Naren Datha - MSFT
I didn't realize your tool would make SOAP subscriptions. It is VERY useful for viewing an removing SOAP subscriptions.

I'll give that a try.



++Alan
Alan Stevens
reply 5

You can use google to search for other answers

 

More Articles

How to create dependency among work items???
How can i create a new work item category?
Restricting who can add Workitems
Work Item - LISTITEM Value to return the same list as VALIDUSER c...
TF54000: Cannot update data because the server clock may have bee...
Display fullpath with filename in the WIT history
Changes are not shown in the Form
There is a way to make the link control to be required control??
Customizing Project Alerts
Bulk update using MS Excel is very slow
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Customize the history tab to give more i…
Custom Control Feature
Default is fixed, once set, even if the …
VS 2003 client plugin to TFS
Supress the "Team" Menu
Added fields and mapping changes
Customizing the trigger of the workitem …
Start Date is read-only from MS Project
Can't browse work items
Access is denied: Could not create metad…
Work Item Access control based on Work I…
No way to update AreaPath dropdown throu…
WIQL Documentation
Publishing to TFS improperly changes Sav…
Default TFS event subscriptions & ce…

Hot Articles

WorkItem API problem: Cannot update Fiel…
Default TFS event subscriptions & ce…
Work Item Queries limitations
Rules with multi-level picklist.
Restricting who can add Workitems
Automatically Log Bugs
Make a new field depending on "Assi…
Want just to see (not manage) work items…
Work Item Add/Updates Not In Reports
Open WorkItem Editor
Making work items forms read-only for a …
Bugs and related work item resolution...
Work Item automated email
How can I add a work item whose type is …
Bulk update using MS Excel is very slow

Recommend Articles

Office table Pivot
Extend work item by adding new control t…
Each rows in different color in VSTS can…
Default Found In Build to latest
How To Temporarily Disable Field Validat…
"Assigned To" field
Microsoft CRM
Best Way to Add a Document Link to a WI
Mapping of TFS text fields on MS Project…
About Work Items
Updating GlobalList contents
Handling simultaneously WorkItemChanged …
Global Lists & Default Values
Managing project and resource names
Linking work items