Ooops, I really should test the modifications I make. I will correct this ASAP.
Ingo > I am now not even able to do simple calls like "isDirectory" on WebdavFile.= > The offending code is as follows: > > The setClient(URL) method of WebdavResource looks like this: > > protected synchronized void setClient(HttpURL httpURL) throws IOExcepti= > on { > > if ((client =3D=3D null) || ((client !=3D null) && !isTheClient()))= > { > closeSession(); > client =3D getSessionInstance(httpURL); > } > } > > The closeSession method of WebdavResource looks like this: > > public void closeSession() > throws IOException { > client.getHttpConnectionManager().getConnection( > client.getHostConfiguration()).close(); > this.client =3D null; > } > > If the instance variable client is null (which it is initially), you are gu= > aranteed a NPE (which I am getting). > > Karl Koster > [EMAIL PROTECTED] > > > > > > ********************************************************************** > This e-mail contains privileged attorney-client communications and/or confi= > dential information, and is only for the use by the intended recipient. Rec= > eipt by an unintended recipient does not constitute a waiver of any applica= > ble privilege. > > Reading, disclosure, discussion, dissemination, distribution or copying of = > this information by anyone other than the intended recipient or his or her = > employees or agents is strictly prohibited. If you have received this comm= > unication in error, please immediately notify us and delete the original ma= > terial from your computer. > > Sempra Energy Trading Corp. (SET) is not the same company as SDG&E or SoCal= > Gas, the utilities owned by SET's parent company. SET is not regulated by = > the California Public Utilities Commission and you do not have to buy SET's= > products and services to continue to receive quality regulated service fro= > m the utilities. > ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]