Bug 7427 - env. error
Summary: env. error
Status: RESOLVED DUPLICATE of bug 6456
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.4.1
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-25 04:10 UTC by Osamu Otani
Modified: 2008-02-22 12:18 UTC (History)
0 users



Attachments
Proposal to fix this problem. I have patch on my Window XP , but not tested a lot. It looks OK. (1.06 KB, patch)
2002-04-14 17:33 UTC, Roman Mukhin
Details | Diff
This problem has the same root. Determining OS type had been made only for windows nt, for other nt-like os (w2k and xp) had been compalsory to set up 'ant.home' variable. (662 bytes, patch)
2002-04-14 17:38 UTC, Roman Mukhin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Osamu Otani 2002-03-25 04:10:15 UTC
While getting the enviroment using the following 
<property environment="env"/>
I encounterd the null pointer exception from "Property.java".
Comment 1 Stefan Bodewig 2002-03-25 08:29:09 UTC

*** This bug has been marked as a duplicate of 6456 ***
Comment 2 Roman Mukhin 2002-04-14 17:33:32 UTC
Created attachment 1561 [details]
Proposal to fix this problem. I have patch on my Window XP , but not tested a lot. It looks OK.
Comment 3 Roman Mukhin 2002-04-14 17:38:15 UTC
Created attachment 1562 [details]
This problem has the same root. Determining OS type had been made only for windows nt, for other nt-like os (w2k and xp) had been compalsory to set up 'ant.home' variable.
Comment 4 Stefan Bodewig 2002-04-15 06:13:01 UTC
Roman,

thank you for your patch, but the bug is already fixed in CVS.