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 IOException {

        if ((client == null) || ((client != null) && !isTheClient())) {
            closeSession();
            client = getSessionInstance(httpURL);
        }
    }

The closeSession method of WebdavResource looks like this:

    public void closeSession()
        throws IOException {
        client.getHttpConnectionManager().getConnection(
            client.getHostConfiguration()).close();
        this.client = null;
    }

If the instance variable client is null (which it is initially), you are guaranteed a 
NPE (which I am getting).

Karl Koster
[EMAIL PROTECTED]





**********************************************************************
This e-mail contains privileged attorney-client communications and/or confidential 
information, and is only for the use by the intended recipient. Receipt by an 
unintended recipient does not constitute a waiver of any applicable 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 communication in error, 
please immediately notify us and delete the original material from your computer.

Sempra Energy Trading Corp. (SET) is not the same company as SDG&E or SoCalGas, 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 from the utilities.
**********************************************************************

Reply via email to