Connect Exception
"Andrew Serff" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Message-ID | <3FD99A46C645A441BA9DA50F9BDB93E8019CE7@benhur.denver.impactsci.com> |
Hey Tor, I have a question for you. I'm to the point where my bugzilla stuff will lookup the bugs, and then it puts the "Fetching bug 22 from DB" in the status and then it throws a connect exception. This seems weird to me because it connects to get the list of bugs, but it can't connect to get the actual bug through the xml.cgi. A little info might help with what I'm doing: Everything works EXACTALLY the same as issuezilla. The only thing different is the name of the attributes in the document returned by the xml.cgi. So basically all I have done is changed the class names in my stuff to Bugzilla and changed the XMLHandler to use the correct names in the xml document. So it does the Bugzilla.query() and then it goes to do the Bugzilla.getBugs(). In there, it creates another URL. I print this url out and it is fine. I copied it and pasted it into my web browser and it works great (no, I'm not behind a firewall at all). So then in getBugs it makes the URL and then does u.openStream(). This doesn't throw an IOException. Then it calls the getBugs(InputStream). I think here is it throwing a SAXException that has a connect exception in it. It isn't throwing a IOException I don't think because it isn't being caught and printing the Cannot connect message on the status. So I don't know why I'm getting this exception. Could it be an actual XML parsing exception being masked by the connect exception? Or have you run into this before? Any help would be great. (Let me know if you want to see the exception.) Thanks! Andrew