Hi guys,

it's indeed this is an ugly way but ntlm needs this info ...
i was thinking this be the place where it could fail. I'll try to get some time 
to work it around tonight.

THx for the report :)

 Cordialement, Regards,
-Edouard De Oliveira-
http://tedorg.free.fr/en/main.php



----- Message d'origine ----
De : Ashish <paliwalash...@gmail.com>
À : dev@mina.apache.org
Envoyé le : Mardi, 27 Janvier 2009, 10h06mn 14s
Objet : Re: MINA trunk - Failed test - NTLMTest.testType1Message

Environment Details

java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

OS - Win XP - SP3


Got the problem. Problem is at Line 98 of
org.apache.mina.proxy.handlers.http.ntlm.NTLMUtilities

Since the out of command "ver" (Line 91) on my machine is "Microsoft
Windows XP [Version 5.1.2600]"

The code (Line 98) checks int pos = line.indexOf("version"); which
fails and an exception is thrown and
we get the default properties in exception block.

Not sure of its a bug?




Reply via email to