The following comment has been added to this issue:
Author: Graham Leggett
Created: Sun, 5 Dec 2004 11:53 AM
Body:
Some testing reveals that if the ntlm.host option is left off, it throws
NullPointException.
It seems that if at least one option is set, it assumes all the options are
set, which is not necessarily the case.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MAVEN-1522?page=comments#action_27511
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1522
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1522
Summary: Proxy + NTLM = NullPointerException
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Fix Fors:
1.1-beta-1
Versions:
1.0.1
Assignee:
Reporter: Graham Leggett
Created: Wed, 1 Dec 2004 8:32 AM
Updated: Sun, 5 Dec 2004 11:53 AM
Environment: MacOSX 10.3.6 / JDK v1.4.2
Description:
If build.properties is defined like this:
maven.proxy.host = 192.168.1.27
maven.proxy.port = 80
maven.proxy.username = username
maven.proxy.password = password
maven.proxy.ntlm.domain = domain
Then maven bombs out with a NullPointerException like this:
Graham-Leggetts-Computer:~/src/standard/autobahn minfrin$ maven site
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.1
Attempting to download jdepend-2.7.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/jdepend/jars/jdepend-2.7.jar]:
java.lang.NullPointerException
WARNING: Failed to download jdepend-2.7.jar.
BUILD FAILED
File...... /Users/minfrin/.maven/cache/maven-xdoc-plugin-1.8/plugin.jelly
Element... attainGoal
Line...... 693
Column.... 57
The build cannot continue because of the following unsatisfied dependency:
jdepend-2.7.jar
Total time: 5 seconds
Finished at: Wed Dec 01 15:10:41 SAST 2004
What should happen is that a valid error message be returned to the user as to
whatever is missing. "NullPointerException" says nothing to the user.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]