axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26182] - FileProvider causes NullPointerException
Date Fri, 16 Jan 2004 16:13:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26182>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26182

FileProvider causes NullPointerException

dims@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From dims@yahoo.com  2004-01-16 16:13 -------
Thilo,

try the following - works for me. basically create the Service with the config
object BEFORE trying to get the global request chain.

public class Test1 {
    public static void main(String[] args) throws Exception {
     EngineConfiguration myConfig = new FileProvider("my-client-config.wsdd");
     Service service = new Service(myConfig);
     // next line causes NullPointerException
     Chain globalReqChain = (Chain) myConfig.getGlobalRequest();
    }
}

Thanks,
dims

Mime
View raw message