I just installed GR 1.0b12. The first thing I did was accidently type in an invalid URL for my gallery:
http:/www.greenhydrant.com/gallery/
I would think that you would want to verify the URL using Java's URL object:
<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>
try {
URL url = new URL(usergalleryURL);
} catch (MalformedURLException mue) {
// display error message to user - check your spelling!
}
</TD></TR></TABLE><!-- BBCode End -->
Here's the relavant portions of stack trace from the log file:
<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>
1037811479460|ERROR|GalComm |java.net.UnknownHostException: http
at java.net.InetAddress.getAllByName0(InetAddress.java:953)
at java.net.InetAddress.getAllByName0(InetAddress.java:918)
at java.net.InetAddress.getAllByName(InetAddress.java:912)
at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3104)
at HTTPClient.HTTPConnection.sendRequest(HTTPConnection.java:2879)
at HTTPClient.HTTPConnection.handleRequest(HTTPConnection.java:2715)
at HTTPClient.HTTPConnection.setupRequest(HTTPConnection.java:2507)
at HTTPClient.HTTPConnection.Head(HTTPConnection.java:809)
at HTTPClient.HTTPConnection.Head(HTTPConnection.java:725)
at com.gallery.GalleryRemote.GalleryComm.tryComm(GalleryComm.java:156)
at com.gallery.GalleryRemote.GalleryComm.getCommInstance(GalleryComm.java:141)
at com.gallery.GalleryRemote.model.Gallery.getComm(Gallery.java:334)
at com.gallery.GalleryRemote.model.Gallery.fetchAlbums(Gallery.java:83)
at com.gallery.GalleryRemote.MainFrame.fetchAlbums(MainFrame.java:547)
at com.gallery.GalleryRemote.MainFrame.actionPerformed(MainFrame.java:852)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
</TD></TR></TABLE><!-- BBCode End -->
Maybe if I get some time, I'll get involved with the development team, this is a great product.