ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas, Lee E" <Lee.E.Tho...@erac.com>
Subject NullPointerException error on the <property environment="myenv/>
Date Tue, 27 May 2003 20:54:40 GMT
 		Hello,

		I have been receiving a java.lang.NullPointerException error
on the <property environment="myenv"/> line (see examples below). This is
only occurring on a new windows XP machine I have received at work. My old
Windows 2000 machine does not have this problem. I can get around the
problem if I set my JAVA_HOME directory to bea7/jdk131-03. Unfortunately,
this is not the release that I need to be using. I need service pack 2.

		I am hoping someone out there will have seen a similar
problem.  

            Thank you. 

            Lee Thomas
            Lthomas2@erac.com

 

          EXAMPLES:
 

************************************************************
Failed Test with JAVA_HOME set to bea70sp2/jdk131-06
*************************************************************
 

C:\temp_test>ant -buildfile lee.xml

Buildfile: lee.xml

 

BUILD FAILED

 

C:\temp_test\lee.xml:8: java.lang.NullPointerException

 

Line 8, the line in error is   <property environment="myenv"/>

 

Total time: 1 second

C:\temp_test>

 

 
***************************************************************
Successful Test with JAVA_HOME set to bea7/jdk131-03
****************************************************************
 

 

C:\temp_test>ant -buildfile lee.xml

Buildfile: lee.xml

 

one:

     [echo] entering one

 

BUILD SUCCESSFUL

 

Total time: 0 seconds

C:\temp_test>

 

 

Mime
View raw message