[GREENFOOT-153] Uncaught exception that should be caught
When trying to connect to the gallery in 1.4.5 RC2, the following exception can occur, and is uncaught:
30-Jun-2008 22:22:20 org.apache.commons.httpclient.HttpMethodDirector executeWithRetryINFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect30-Jun-2008 22:22:20 org.apache.commons.httpclient.HttpMethodDirector executeWithRetryINFO: Retrying request30-Jun-2008 22:22:41 org.apache.commons.httpclient.HttpMethodDirector executeWithRetryINFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect30-Jun-2008 22:22:41 org.apache.commons.httpclient.HttpMethodDirector executeWithRetryINFO: Retrying requestException in thread "Thread-534" java.lang.IllegalArgumentException: Invalid uri 'http://greenfootgallery.org/user/mjrb4/check_scenario/Car Drift': escaped absolute path not valid at org.apache.commons.httpclient.HttpMethodBase.(HttpMethodBase.java:222) at org.apache.commons.httpclient.methods.GetMethod.(GetMethod.java:89) at greenfoot.export.mygame.MyGameClient.check> ExistingScenario(MyGameClient.java:211) at greenfoot.export.mygame.ExistingScenarioChecker.checkExistence(ExistingScenarioChecker.java:163) at greenfoot.export.mygame.ExistingScenarioChecker.access3(ExistingScenarioChecker.java:157) at greenfoot.export.mygame.ExistingScenarioChecker
ScenarioWorker.construct(ExistingScenarioChecker.java:41) at bluej.utility.SwingWorker$2.run(SwingWorker.java:108) at java.lang.Thread.run(Thread.java:619)30-Jun-2008 22:23:02 org.apache.commons.httpclient.HttpMethodDirector executeWithRetryINFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect30-Jun-2008 22:23:02 org.apache.commons.httpclient.HttpMethodDirector executeWithRetryINFO: Retrying requestjava.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:19> 5) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:469) at java.net.Socket.(Socket.java:366) at java.net.Socket.(Socket.java:240) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at greenfoot.e> xport.mygame.MyGameClient.getCommonTags(MyGameClient.java:312) at greenfoot.gui.export.ExportPublishPane$6.construct(ExportPublishPane.java:628) at bluej.utility.SwingWorker$2.run(SwingWorker.java:108) at java.lang.Thread.run(Thread.java:619)30-Jun-2008 22:23:35 org.apache.commons.httpclient.HttpMethodDirector executeWithRetryINFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect30-Jun-2008 22:23:35 org.apache.commons.httpclient.HttpMethodDirector executeWithRetryINFO: Retrying request30-Jun-2008 22:23:56 org.apache.commons.httpclient.HttpMethodDirector executeWithRetryINFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect30-Jun-2008 22:23:56 org.apache.commons.httpclient.HttpMethodDirector executeWithRetryINFO: Retrying request
Issue metadata
- Issue type: Bug
- Priority: Medium
- Fix versions: 1.4.6