Zeljko,

I cannot reproduce this issue using the 0.85 nightly builds.

I suggest using a recent nightly build of NAnt
(http://nant.sourceforge.net/nightly/builds).

Gert

----- Original Message ----- From: "Željko Filipin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 09, 2004 1:35 PM
Subject: [nant-dev] System.NullReferenceException



Hi,



I've made default.build:



"<?xml version="1.0" ?>

<project default="empty">

   <sysinfo verbose="true" prefix="" />

   <target name="empty">

   </target>

</project>"



Then typed "C:\nant>nant"



And received error message:



"NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 26.12.2003)

Copyright (C) 2001-2003 Gerry Shaw

http://nant.sourceforge.net



Buildfile: file:///C:/nant/default.build

Target(s) specified: empty

 [sysinfo] Setting system information properties under *

 [sysinfo] nant.version = 0.84.1455.0

 [sysinfo] nant.tasks.sleep = True

 [sysinfo] nant.tasks.fail = True

 [sysinfo] os = Microsoft Windows NT 5.1.2600.0

 [sysinfo] nant.tasks.regsvcs = True

 [sysinfo] os.folder.commonapplicationData = C:\Documents and Settings\All
Users\Application Data

 [sysinfo] nant.tasks.attrib.location = c:\documents and
settings\zfilipin\my documents\nant\bin\nant.core.dll

 [sysinfo] nant.tasks.delay-sign.location = c:\documents and
settings\zfilipin\my documents\nant\bin\nant.dotnettasks.dll

 [sysinfo] nant.tasks.exec = True

 [sysinfo] nant.tasks.resgen.location = c:\documents and
settings\zfilipin\my documents\nant\bin\nant.dotnettasks.dll

 [sysinfo] nant.tasks.solution = True

 [sysinfo] nant.settings.defaultframework = net-1.1

 [sysinfo] nant.tasks.asminfo.location = c:\documents and
settings\zfilipin\my documents\nant\bin\nant.dotnettasks.dll

[sysinfo] nant.tasks.mail.location = c:\documents and settings\zfilipin\my
documents\nant\bin\nant.core.dll


 [sysinfo] nant.tasks.tstamp.location = c:\documents and
settings\zfilipin\my documents\nant\bin\nant.core.dll

[sysinfo] nant.tasks.midl.location = c:\documents and settings\zfilipin\my
documents\nant\bin\nant.visualcpptasks.dll


 [sysinfo] nant.tasks.property = True

 [sysinfo] nant.tasks.al = True

 [sysinfo] nant.tasks.call = True

 [sysinfo] nant.tasks.sysinfo = True

 [sysinfo] nant.tasks.link = True

 [sysinfo] nant.tasks.nantschema = True

 [sysinfo] nant.tasks.cvs-checkout = True

 [sysinfo] nant.tasks.readregistry.location = c:\documents and
settings\zfilipin\my documents\nant\bin\nant.core.dll

 [sysinfo] nant.tasks.copy = True

 [sysinfo] nant.tasks.if = True

 [sysinfo] nant.tasks.xmlpoke.location = c:\documents and
settings\zfilipin\my documents\nant\bin\nant.core.dll

 [sysinfo] nant.settings.currentframework.version = 1.1.4322

 [sysinfo] nant.settings.defaultframework.frameworkdirectory =
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322

 [sysinfo] nant.tasks.cl.location = c:\documents and settings\zfilipin\my
documents\nant\bin\nant.visualcpptasks.dll

 [sysinfo] nant.tasks.style.location = c:\documents and
settings\zfilipin\my documents\nant\bin\nant.core.dll

 [sysinfo] nant.tasks.nunit2 = True

 [sysinfo] nant.tasks.nant = True

 [sysinfo] nant.tasks.script = True

 [sysinfo] nant.tasks.cvs-update.location = c:\documents and
settings\zfilipin\my documents\nant\bin\nant.sourcecontroltasks.dll

 [sysinfo] nant.tasks.nunit.location = c:\documents and
settings\zfilipin\my documents\nant\bin\nant.nunit1tasks.dll

 [sysinfo] nant.tasks.nantschema.location = c:\documents and
settings\zfilipin\my documents\nant\bin\nant.core.dll

[sysinfo] nant.tasks.move.location = c:\documents and settings\zfilipin\my
documents\nant\bin\nant.core.dll


 [sysinfo] nant.tasks.servicecontroller.location = c:\documents and
settings\zfilipin\my documents\nant\bin\nant.win32tasks.dll

 [sysinfo] nant.tasks.loadtasks = True

 [sysinfo] nant.tasks.xmlpeek = True

 [sysinfo] nant.tasks.foreach = True

 [sysinfo] nant.tasks.al.location = c:\documents and settings\zfilipin\my
documents\nant\bin\nant.dotnettasks.dll

 [sysinfo] nant.settings.defaultframework.version = 1.1.4322

 [sysinfo] nant.tasks.unzip = True

 [sysinfo] nant.tasks.delay-sign = True

 [sysinfo] nant.tasks.get = True

 [sysinfo] nant.version = 0.84.1455.0

 [sysinfo] nant.project.basedir = C:\nant

 [sysinfo] nant.settings.currentframework.description = Microsoft .NET
Framework 1.1

 [sysinfo] nant.project.default = empty

[sysinfo] nant.tasks.copy.location = c:\documents and settings\zfilipin\my
documents\nant\bin\nant.core.dll


 [sysinfo] nant.tasks.mkdir.location = c:\documents and
settings\zfilipin\my documents\nant\bin\nant.core.dll

 [sysinfo] os.platform = Win32NT

 [sysinfo] nant.tasks.nunit = True

 [sysinfo] nant.tasks.available.location = c:\documents and
settings\zfilipin\my documents\nant\bin\nant.core.dll

 [sysinfo] nant.tasks.attrib = True

 [sysinfo] nant.tasks.vjc = True



BUILD FAILED



INTERNAL ERROR



System.NullReferenceException: Object reference not set to an instance of an
object.


  at NAnt.Core.Tasks.SysInfoTask.ExecuteTask()

  at NAnt.Core.Task.Execute()

  at NAnt.Core.Project.InitializeProjectDocument(XmlDocument doc)

  at NAnt.Core.Project.Execute()

  at NAnt.Core.Project.Run()



Please send bug report to [EMAIL PROTECTED]



Total time: 0.2 seconds."



It said to send bug report so I did.



Zeljko





------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to