hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Encountered nullpointer exceptions
Date Fri, 05 Nov 2004 08:56:35 GMT
Paul,

Could you please file a bug report for this problem?

Oleg


On Fri, Nov 05, 2004 at 04:52:46PM +0800, paul wrote:
> Currently using version 3.0 alpha2.
> 
> Its not a permanent fix, but that error was caused by the fact that the
> socket timeout was set to a too low value, resulting in the socket being
> closed too soon, therefore when httpclient try to send the data out later,
> since the socket have been closed, it encountered a null pointer.
> 
> ----- Original Message ----- 
> From: "Oleg Kalnichevski" <olegk@apache.org>
> To: "HttpClient Project" <httpclient-dev@jakarta.apache.org>
> Sent: Friday, November 05, 2004 4:38 PM
> Subject: Re: Encountered nullpointer exceptions
> 
> 
> > Paul,
> >
> > This all simply does not make any sense. The fact that you managed to
> > work the problem around that not necessarily mean this bug will not
> > resurface at the least convenient moment later on.
> >
> > Have you investivaged the possiblity of thread synchronization problems
> > in your code? What HttpClient version are you using?
> >
> > Oleg
> >
> >
> >
> > On Fri, Nov 05, 2004 at 04:29:56PM +0800, paul wrote:
> > > Oleg,
> > >
> > >     Alright, we managed to solve the problem by setting a higher socket
> > > timeout value. Thx.
> > >
> > > Paul
> > > ----- Original Message ----- 
> > > From: "Oleg Kalnichevski" <olegk@apache.org>
> > > To: "HttpClient Project" <httpclient-dev@jakarta.apache.org>
> > > Cc: "paul" <tjwee@fairex.com>
> > > Sent: Friday, November 05, 2004 4:19 PM
> > > Subject: Re: Encountered nullpointer exceptions
> > >
> > >
> > > > Paul,
> > > >
> > > > Have you read my  response to your previous message?
> > > >
> > > >
> > >
> http://nagoya.apache.org/eyebrowse/ReadMsg?listName=httpclient-dev@jakarta.apache.org&msgNo=9286
> > > >
> > > > Unless I get more details about your application I am afraid I will be
> > > > unable to help further than that
> > > >
> > > > Oleg
> > > >
> > > >
> > > > On Fri, Nov 05, 2004 at 02:29:13PM +0800, paul wrote:
> > > > > Dear all,
> > > > >
> > > > >     Got this error while trying to send some data to the server:
> > > > >
> > > > > ===========================================================
> > > > > nov 5, 2004 1:53:18 PM
> org.apache.commons.httpclient.HttpMethodDirector
> > > executeWithRetry
> > > > > INFO: Recoverable exception caught when processing request
> > > > > java.lang.NullPointerException
> > > > >         at org.apache.soap.rpc.Call.getEnvelopeString(Unknown
> Source)
> > > > >         at org.apache.soap.messaging.Message.receiveEnvelope(Unknown
> > > Source)
> > > > > ===========================================================
> > > > > What could have gone wrong?
> > > > >
> > > > > Really appreciate ur help.
> > > > >
> > > > > Paul
> > > > >
> > > > >
> > > > >
> > > > > CONFIDENTIAL NOTE: The information contained in this email is
> intended
> > > only
> > > > > for the use of the individual or entity named above and may contain
> > > > > information that is privileged, confidential and exempt from
> disclosure
> > > under
> > > > > applicable law. If the reader of this message is not the intended
> > > recipient,
> > > > > you are hereby notified that any dissemination, distribution or
> copying
> > > of
> > > > > this communication is strictly prohibited. If you have received this
> > > message
> > > > > in error, please immediately notify the sender and delete the mail.
> > > Thank you.
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> httpclient-dev-help@jakarta.apache.org
> > > >
> > > >
> > >
> > >
> > > CONFIDENTIAL NOTE: The information contained in this email is intended
> only
> > > for the use of the individual or entity named above and may contain
> > > information that is privileged, confidential and exempt from disclosure
> under
> > > applicable law. If the reader of this message is not the intended
> recipient,
> > > you are hereby notified that any dissemination, distribution or copying
> of
> > > this communication is strictly prohibited. If you have received this
> message
> > > in error, please immediately notify the sender and delete the mail.
> Thank you.
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
> >
> >
> 
> 
> CONFIDENTIAL NOTE: The information contained in this email is intended only
> for the use of the individual or entity named above and may contain
> information that is privileged, confidential and exempt from disclosure under
> applicable law. If the reader of this message is not the intended recipient,
> you are hereby notified that any dissemination, distribution or copying of
> this communication is strictly prohibited. If you have received this message
> in error, please immediately notify the sender and delete the mail. Thank you.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Mime
View raw message