You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Oleg Kalnichevski <ol...@apache.org> on 2003/09/04 22:45:07 UTC
Re: [VFS|HttpClient] Re: [VFS] Crashes in getContent()
> Would it be possible for you to make the commons-httpclient project in gump
> be 2.0, and start a commons-httpclient-21 project for those brave enough to
> gump against it during alpha phase? When 2.1 is stable you could switch the
> main project to 2.1.
>
> I know Gump wants to integrate the latest/greatest, but when that isn't
> stable that isn't practical. What if folks (say VFS) tried to change their
> code to mend breaks on gump, and then you changed things again, that is a
> lot of busy work.
>
Folks, what was the outcome of this discussion?
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
Re: Is Bugzilla mail broken? was [VFS|HttpClient] Re: [VFS]
Crashes in getContent()
Posted by Oleg Kalnichevski <ol...@apache.org>.
It does seem to be broken. We might need to drop a line at
mvdb@apache.org or infrastructure@apache.org. On the other hand I assume
that with Bugzilla being such a critical system for so many projects the
problem should have already been reported. I seriously doubt that
HttpClient is the only project affected.
Oleg
On Fri, 2003-09-05 at 22:15, Michael Becke wrote:
> It seems that Bugzilla is not sending email for some reason. Anyone
> have some insight into this?
>
> Mike
>
> Adam R. B. Jack wrote:
>
> >>I updated the bug database (I believe) so this is posted there.
> >
> >
> > FWIIW: I do not believe I am receiving e-mails from the bug tracker. Are
> > other folks? Did you get my update?
> >
> > regards
> >
> > Adam
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
Is Bugzilla mail broken? was [VFS|HttpClient] Re: [VFS] Crashes
in getContent()
Posted by Michael Becke <be...@u.washington.edu>.
It seems that Bugzilla is not sending email for some reason. Anyone
have some insight into this?
Mike
Adam R. B. Jack wrote:
>>I updated the bug database (I believe) so this is posted there.
>
>
> FWIIW: I do not believe I am receiving e-mails from the bug tracker. Are
> other folks? Did you get my update?
>
> regards
>
> Adam
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
Re: [VFS|HttpClient] Re: [VFS] Crashes in getContent()
Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> I updated the bug database (I believe) so this is posted there.
FWIIW: I do not believe I am receiving e-mails from the bug tracker. Are
other folks? Did you get my update?
regards
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
Re: [VFS|HttpClient] Re: [VFS] Crashes in getContent()
Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> I will take your sample and attempt to reproduce it here. Unfortunately
(for
> debugging this) I am using Commons VFS, which in turn uses HttpClient, so
> maybe it is some usage/re-usage/configuration sequence that causes this. I
> will see what I can do to reproduce.
I found the settings that VFS was using, and tried to emulate. It seems to
need the MultiThreadedHttpConnectionManager plus HEAD to crash.
HttpClient client = new HttpClient(new
MultiThreadedHttpConnectionManager());
HeadMethod head = new HeadMethod(url);
client.executeMethod(head);
I updated the bug database (I believe) so this is posted there.
BTW: I don't mind bugs, in any complex software there will be bugs, but I
feel it is only "polite" to have (1) test projects on gump -- that run your
unit tests [so I can 'depend upon them'] (2) transition projects on gump
when you are doing a big re-work, so you control when folks get exposed to
the new work. Folks like VFS just don't tinker w/ their code that often,
and so if this had been (or is) something inside their usage it could fester
for a while. Since you chose to move them to CVS HEAD (for Gump) and since
they don't run their unit tests (either) then my projects fail in Gump.
Just a request...
regards,
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
Re: [VFS|HttpClient] Re: [VFS] Crashes in getContent()
Posted by Michael Becke <be...@u.washington.edu>.
Hi Adam,
No worries. I agree with you that connection.getProtocol().getScheme()
is where the NPE is occuring. This means that either the connection or
the protocol are null. From looking through the code and running
various tests I am unsure of how this could happen. My guess is that
the cause is how VFS is configuring/using HttpClient. If you could help
to shed some light on what VFS is attempting I'm sure we will be able to
find a solution.
Thanks,
Mike
Adam R. B. Jack wrote:
> Mike wrote:
>
>
>>I must disagree with you here. I responded to your bug report about 5
>>hours after you posted it. I was unable to reproduce this problem
>>given the details you have provided. If you have some more detail
>>about how to reproduce this problem, or perhaps a wire log, I would be
>>happy to continue helping.
>>
>><http://issues.apache.org/bugzilla/show_bug.cgi?id=22800>
>
>
> Hmm, sorry Mike, I don't beleive I received notification of that. I
> certainly wasn't aware of the response. Sorry I didn't go look.
>
> The crash that I get (still w/ latest CVS HEAD) is that in
> HttpMethodDirector.procesRedirectResponse the connection returns null fir
> pretty much everything, including Protocol. As such it crashes in:
> connection.getProtocol().getScheme() on line 460.
>
> I will take your sample and attempt to reproduce it here. Unfortunately (for
> debugging this) I am using Commons VFS, which in turn uses HttpClient, so
> maybe it is some usage/re-usage/configuration sequence that causes this. I
> will see what I can do to reproduce.
>
> regards,
>
> Adam
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
Re: [VFS|HttpClient] Re: [VFS] Crashes in getContent()
Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
Mike wrote:
> I must disagree with you here. I responded to your bug report about 5
> hours after you posted it. I was unable to reproduce this problem
> given the details you have provided. If you have some more detail
> about how to reproduce this problem, or perhaps a wire log, I would be
> happy to continue helping.
>
> <http://issues.apache.org/bugzilla/show_bug.cgi?id=22800>
Hmm, sorry Mike, I don't beleive I received notification of that. I
certainly wasn't aware of the response. Sorry I didn't go look.
The crash that I get (still w/ latest CVS HEAD) is that in
HttpMethodDirector.procesRedirectResponse the connection returns null fir
pretty much everything, including Protocol. As such it crashes in:
connection.getProtocol().getScheme() on line 460.
I will take your sample and attempt to reproduce it here. Unfortunately (for
debugging this) I am using Commons VFS, which in turn uses HttpClient, so
maybe it is some usage/re-usage/configuration sequence that causes this. I
will see what I can do to reproduce.
regards,
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
Re: [VFS|HttpClient] Re: [VFS] Crashes in getContent()
Posted by Michael Becke <be...@u.washington.edu>.
Hi Adam,
On Friday, September 5, 2003, at 12:01 AM, Adam R. B. Jack wrote:
> From my perspective, it fizzled and died here. I logged a bug report on
> HttpClient (on one crash I received) but I don't believe any action has
> occurred.
I must disagree with you here. I responded to your bug report about 5
hours after you posted it. I was unable to reproduce this problem
given the details you have provided. If you have some more detail
about how to reproduce this problem, or perhaps a wire log, I would be
happy to continue helping.
<http://issues.apache.org/bugzilla/show_bug.cgi?id=22800>
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
Re: [VFS|HttpClient] Re: [VFS] Crashes in getContent()
Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> Folks, what was the outcome of this discussion?
>From my perspective, it fizzled and died here. I logged a bug report on
HttpClient (on one crash I received) but I don't believe any action has
occurred. The Krysalis stack of projects still fail nightly on Gump with
VFS/HttpClient. Please see:
http://cvs.apache.org/builds/gump/latest/krysalis-version.html
http://cvs.apache.org/builds/gump/latest/krysalis-centipede-site.html
That said, these here look like VFS crashes, however I believe they are due
to an earlier HttpClient crash. The stack I logged went into HttpClient and
crashed there, something to do with processing a simple redirect.
BTW: The lack of progress on this has finally pushed me to begin a re-write
of Krysalis Ruper to make VFS & HttpClient optional. The re-write is a good
thing for itself, but the inability to rely upon this foundation is
disappointing.
regards
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org