Hi,
While using the p4info command from nant I get the following error in a
particular machine:
INTERNAL ERROR
System.NullReferenceException: Object reference not set to an instance of an
ect.
at NAnt.Contrib.Tasks.Perforce.P4Info.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
Please send bug report to [email protected].
Total time: 1.2 seconds.
Some of the text lines in the file are:
<target name="p4_state">
<loadtasks assembly="${nantcontrib.dll}" failonerror="true" />
<p4info user="p4user" client="p4client" host="p4host" root="p4root" />
<echo message="User: ${p4user} - Client: ${p4client} - Host: ${p4host} -
Root: ${p4root}" />
<choose>
.
.
I observed that the p4 output has the following lines:
User name: bvcontrolbuild
Client name: ngwxpbm5
Client host: ngwxpbm5
Client unknown.
I guess it is crashing because of Client unknown state because I tried the same
command on another machine and it works. In that machine p4 output has:
User name: bvcontrolbuild
Client name: NGWXPBM7
Client host: NGWXPBM7
Client root: c:\label\ccs_c1
I guess this might be the cause. How do we rectify it ? I am using version
0.85 of nantcontrib and Perforce Version is 2008.2 in both machine.
Ankan Saha
Information Risk Management
Symantec Corporation
www.symantec.com <http://www.symantec.com/>
---------------------------------------------------------
Office: +91(20) 66066312
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
nant-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers