I've got the following internal error when executing a
<solution> task in my build file.

It's the 12/26 build, XP pro, VisualStudio 7.1.3088,
.NET 1.1.4322.  I'm trying to build a solution and am
getting the null pointer exception.  I
will be happy to provide solution or project files.  I
browsed the stack trace, and ended up in
VcProject.cs.Load() where I didn't see the correlation
between the XML parsing and the project file mentioned
in the log below.

--------<snip> -----------------------
C:\dev\projects\cinea\strak\build>nant
-D:release=1.0.0.0 -buildfile:strak.build build
NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release;
12/26/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile:
file:///C:/dev/projects/cinea/strak/build/strak.build
Target(s) specified: build

build:

 [solution] Starting solution build.
 [solution] Loading projects...
 [solution] Loading project
'C:\dev\projects\cinea\strak\solution\..\ws\dup\cinea.strak.ws.dup_classes\cinea.strak.ws.dup_classes.csproj'.

BUILD FAILED

INTERNAL ERROR

System.NullReferenceException: Object reference not
set to an instance of an object.
   at NAnt.VSNet.Reference..ctor(Solution solution,
ProjectSettings ps,XmlElement elemReference,
SolutionTask solutionTask, String outputDir)
   at NAnt.VSNet.VcProject.Load(Solution sln, String
projectPath)
   at NAnt.VSNet.ProjectFactory.LoadProject(Solution
sln, SolutionTask slnTask, TempFileCollection tfc,
String outputDir, String path)
   at NAnt.VSNet.Reference..ctor(Solution solution,
ProjectSettings ps, XmlElement elemReference,
SolutionTask solutionTask, String outputDir)
   at NAnt.VSNet.Project.Load(Solution sln, String
projectPath)
   at NAnt.VSNet.ProjectFactory.LoadProject(Solution
sln, SolutionTask slnTask, TempFileCollection tfc,
String outputDir, String path)
   at NAnt.VSNet.Solution.LoadProjects()
   at NAnt.VSNet.Solution..ctor(String
solutionFileName, ArrayList additionalProjects,
ArrayList referenceProjects, TempFileCollection tfc,
SolutionTask solutionTask, WebMapCollection
webMappings, FileSet excludesProjects, String
outputDir)

   at NAnt.VSNet.Tasks.SolutionTask.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: 0.6 seconds.

----------------------------------- 
</snip> ---------------------------------------


__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to