java.lang.IllegalArgumentException

Endpoint scheme must be compatible with the connector scheme. Connector is: "http", endpoint is "http://localhost:1968?method=change&protocolConnector=Http1&connector=Http1"

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web20478

  • via MuleSoft JIRA by Antoine Borg, 1 year ago
    Endpoint scheme must be compatible with the connector scheme. Connector is: "http", endpoint is "http://localhost:1968?method=change&protocolConnector=Http1&connector=Http1"
  • via MuleSoft JIRA by Antoine Borg, 1 year ago
    Endpoint scheme must be compatible with the connector scheme. Connector is: "http", endpoint is "http://localhost:1968?method=change&protocolConnector=Http1&connector=Http1"
  • Endpoint scheme must be compatible with the connector scheme. Connector is: "https", endpoint is "http://localhost:8081"
  • Stack trace

    • java.lang.IllegalArgumentException: Endpoint scheme must be compatible with the connector scheme. Connector is: "http", endpoint is "http://localhost:1968?method=change&protocolConnector=Http1&connector=Http1" at org.mule.endpoint.AbstractEndpointBuilder.doBuildOutboundEndpoint(AbstractEndpointBuilder.java:180) at org.mule.endpoint.AbstractEndpointBuilder.buildOutboundEndpoint(AbstractEndpointBuilder.java:93) at org.mule.endpoint.DefaultEndpointFactory.getOutboundEndpoint(DefaultEndpointFactory.java:86) at org.mule.endpoint.DefaultEndpointFactory.getOutboundEndpoint(DefaultEndpointFactory.java:62) at org.mule.module.client.MuleClient.getOutboundEndpoint(MuleClient.java:805) at org.mule.module.client.MuleClient.getEvent(MuleClient.java:749) at org.mule.module.client.MuleClient.send(MuleClient.java:645) at org.mule.module.client.MuleClient.send(MuleClient.java:596) at com.ricston.tests.MultipleHTTPConnectorsTestSuite.testSendUsingHTTP1(MultipleHTTPConnectorsTestSuite.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at org.mule.tck.AbstractMuleTestCase.runBare(AbstractMuleTestCase.java:255) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at org.mule.tck.AbstractMuleTestCase.run(AbstractMuleTestCase.java:235) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:76) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.