That seems to have cracked it - thanks! Ian.
On Tue, Dec 2, 2008 at 11:10 AM, Jerome Louvel <[EMAIL PROTECTED]> wrote: > Hi Ian, > > Are you consuming your response entities fully? > If not, you can use the release() method if necessary. > > Best regards, > Jerome Louvel > -- > Restlet ~ Founder and Lead developer ~ http://www.restlet.org > Noelios Technologies ~ Co-founder ~ http://www.noelios.com > > > -----Message d'origine----- > De : Ian Clarke [mailto:[EMAIL PROTECTED] > Envoye : mardi 2 decembre 2008 18:02 > A : discuss@restlet.tigris.org > Objet : Code hanging doing a HTTP get > > My code is hanging here (while trying to do a HTTP get) - any ideas? > > Thread [main] (Suspended) > Object.wait(long) line: not available [native method] > MultiThreadedHttpConnectionManager.doGetConnection(HostConfiguration, > long) line: 518 > > MultiThreadedHttpConnectionManager.getConnectionWithTimeout(HostConfiguration, > long) line: 416 > HttpMethodDirector.executeMethod(HttpMethod) line: 153 > HttpClient.executeMethod(HostConfiguration, HttpMethod, HttpState) > line: 397 > HttpClient.executeMethod(HttpMethod) line: 323 > HttpMethodCall.sendRequest(Request) line: 313 > HttpClientConverter.commit(HttpClientCall, Request, Response) line: 418 > HttpClientHelper(HttpClientHelper).handle(Request, Response) line: 108 > Client.handle(Request, Response) line: 157 > Client(Uniform).handle(Request) line: 108 > ApiAuthTest.get(String, String, String) line: 87 > ApiAuthTest.testAuth() line: 74 > NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not > available [native method] > NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 > DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 > Method.invoke(Object, Object...) line: 597 > MethodHelper.invokeMethod(Method, Object, Object[]) line: 580 > Invoker.invokeMethod(Object[], int, ITestNGMethod, Object[], > XmlSuite, Map<String,String>, ITestClass, ITestNGMethod[], > ITestNGMethod[], ConfigurationGroupMethods) line: 478 > Invoker.invokeTestMethod(Object[], ITestNGMethod, Object[], XmlSuite, > Map<String,String>, ITestClass, ITestNGMethod[], ITestNGMethod[], > ConfigurationGroupMethods) line: 617 > Invoker.invokeTestMethods(ITestNGMethod, ITestNGMethod[], int, > XmlSuite, Map<String,String>, ConfigurationGroupMethods, Object[], > ITestContext) line: 885 > TestMethodWorker.invokeTestMethods(ITestNGMethod, Object[], > ITestContext) line: 126 > TestMethodWorker.run() line: 110 > TestRunner.runWorkers(List<IMethodWorker>, String) line: 712 > TestRunner.privateRun(XmlTest) line: 582 > TestRunner.run() line: 477 > SuiteRunner.runTest(TestRunner) line: 324 > SuiteRunner.runSequentially() line: 319 > SuiteRunner.privateRun() line: 292 > SuiteRunner.run() line: 198 > RemoteTestNG(TestNG).createAndRunSuiteRunners(XmlSuite) line: 823 > RemoteTestNG(TestNG).runSuitesLocally() line: 790 > RemoteTestNG(TestNG).run() line: 708 > RemoteTestNG.run() line: 73 > RemoteTestNG.main(String[]) line: 124 > > > -- > Ian Clarke > CEO, Uprizer Labs > Email: [EMAIL PROTECTED] > Ph: +1 512 422 3588 > Fax: +1 512 276 6674 > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=598120 > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=598123 > -- Ian Clarke CEO, Uprizer Labs Email: [EMAIL PROTECTED] Ph: +1 512 422 3588 Fax: +1 512 276 6674 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=663338