hcl-bot
September 29, 2003, 4:52am
1
I want to go on Websites with an JavaAgent, to Test, if an Link is ok.But I dont know what this Error Message means.
Can sombody help me?
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:595)
at java.net.URL.openStream(URL.java:825)
at JavaAgent.NotesMain(JavaAgent.java:41)
at lotus.domino.AgentBase.runNotes(Unknown Source)
at lotus.domino.NotesThread.run(NotesThread.java:208)
I can post the source Code, if it help
Subject: What means this Error Message (Java)
This is not a complete Java stack trace and the most important part is the top which is missing. It likely details the problem. Might want to look there or post it.
–Joe
Joseph Millar
Principal Software Engineer
Brightline Technology
hcl-bot
September 29, 2003, 5:30am
3
Subject: Basically that you didn’t try/catch
Hi Seb,
when you try to open an HttpURLConnection and you haven’t specified a valid URL or the answer times out an error is thrown. Check:
a) in the spec if you need the http:// (I think you must not have it) in the url
b) put a try/catch around your code and handle the error.
c) look in the sandbox, there are examples
stw