I imported the gnu.inet package to my project today and tried to
retrieve one article by message ID. The connection is set up correct
and the server is responding. But when I come to this code, I'm stuck
with some exceptions I can't interpret:
ArticleResponse article =
connection.article("<address@hidden>");
System.out.println(article);
I recieve this output on the console:
gnu.inet.nntp.ArticleResponse: 0 article
<address@hidden>
I wait a while, nothing happens. Then I try to quit my application via
the exit MenuItem - NOT the Window Decoration Close. This output is
thrown:
java.lang.NumberFormatException: For input string: "Path:"
at gnu.inet.nntp.NNTPConnection.parseResponse(NNTPConnection.java:1101)
at gnu.inet.nntp.NNTPConnection.quit(NNTPConnection.java:616)