Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

java.lang.IllegalStateException: Already connected	at sun.net.www.protocol.http.HttpURLConnection.setRequestProperty(HttpURLConnection.java:3000)	at org.glassfish.jersey.client.HttpUrlConnector.writeOutBoundHeaders(HttpUrlConnector.java:309)	at org.glassfish.jersey.client.HttpUrlConnector.access$100(HttpUrlConnector.java:81)	at org.glassfish.jersey.client.HttpUrlConnector$3.getOutputStream(HttpUrlConnector.java:283)	at org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:198)	at org.glassfish.jersey.message.internal.CommittingOutputStream.commitStream(CommittingOutputStream.java:192)	at org.glassfish.jersey.message.internal.CommittingOutputStream.commit(CommittingOutputStream.java:260)	at org.glassfish.jersey.message.internal.OutboundMessageContext.commitStream(OutboundMessageContext.java:822)	at org.glassfish.jersey.client.ClientRequest.writeEntity(ClientRequest.java:451)	at org.glassfish.jersey.client.HttpUrlConnector._apply(HttpUrlConnector.java:287)	at org.glassfish.jersey.client.HttpUrlConnector.apply(HttpUrlConnector.java:200)	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:215)	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:634)	at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:631)	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)	at org.glassfish.jersey.internal.Errors.process(Errors.java:228)	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:421)	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:631)	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:391)	at org.openstack4j.core.transport.internal.HttpExecutor.invoke(HttpExecutor.java:77)	at org.openstack4j.core.transport.internal.HttpExecutor.execute(HttpExecutor.java:42)	at org.openstack4j.openstack.OSFactory.authenticate(OSFactory.java:67)	at com.avnet.openstackaps.openstackapsintegration.service.OpenstackTemplate.(OpenstackTemplate.java:28)	at com.avnet.openstackaps.openstackapsintegration.service.NovaService.(NovaService.java:22)	at com.avnet.openstackaps.openstackapsintegration.service.NovaServiceTest.before(NovaServiceTest.java:22)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)