| /*
| * Note: the semantics of FileURLConnection object is that the
| * results of the various URLConnection calls, such as
| * getContentType, getInputStream or getContentLength reflect
| * whatever was true when connect was called.
| */
| public void connect() throws IOException {
| if (!connected) {
| try {
| filename = file.toString();
| isDirectory = file.isDirectory();
| if (isDirectory) {
| files = (List) Arrays.asList(file.list());
| } else {
|
|
Scott, the last line....... Every method in FileURLConnection apparently calls
initializeHeaders() internally which always calls connect(). So maybe as a start, we need
to see which file in question leads to this NPE????
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156855#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...