Search

TEE CLC 10 - NullPointerException when calling "tf add" command by florian_woerister

Closed
as Not Reproducible Help for as Not Reproducible

1
0
Sign in
to vote
Type: Bug
ID: 779136
Opened: 2/13/2013 7:05:56 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
When I try to to add a file to my project with the "tf.cmd add" command, a NullPointerException occurs.
The call was done with following parameters:
tf.cmd add /login:domain\username,password newfile.txt
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling Version

Team Foundation Server 2012

Steps to reproduce

1) Create a new workspace
2) map a local folder with a server folder
3) create a new file in the local folder
4) add this file with "tf add"

Product Language

English

Operating System

Windows 7 SP1

Operating System Language

English

Actual results

after the the NullPointerException i called "tf checkin". Although a NullPointerException was thrown, the CLC recognize the new file and checked it in.

Stacktrace:
java.lang.NullPointerException
        at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.GetOpera
tion.getHashValue(GetOperation.java:102)
        at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.PendingC
hange.<init>(PendingChange.java:68)
        at com.microsoft.tfs.core.clients.versioncontrol.engines.GetEngine.fireC
orrectEvent(GetEngine.java:2365)
        at com.microsoft.tfs.core.clients.versioncontrol.engines.GetEngine.fireC
orrectEvent(GetEngine.java:2280)
        at com.microsoft.tfs.core.clients.versioncontrol.engines.GetEngine.proce
ssSingleGetOperation(GetEngine.java:1509)
        at com.microsoft.tfs.core.clients.versioncontrol.engines.GetEngine.proce
ssGetOperations(GetEngine.java:839)
        at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspac
e.pendChanges(Workspace.java:2915)
        at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspac
e.pendAdd(Workspace.java:2758)
        at com.microsoft.tfs.core.clients.versioncontrol.soapextensions.Workspac
e.pendAdd(Workspace.java:2590)
        at com.microsoft.tfs.client.clc.vc.commands.CommandAdd.run(CommandAdd.ja
va:63)
        at com.microsoft.tfs.client.clc.Application.run(Application.java:294)
        at com.microsoft.tfs.client.clc.Application.run(Application.java:144)
        at com.microsoft.tfs.client.clc.vc.Main.main(Main.java:33)

Expected results

no NullPointerException!
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 2/15/2013 at 12:36 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 2/13/2013 at 7:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.