java.lang.IllegalArgumentException: port out of range:-1

GitHub | wildfly-ci | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 7950#132369537

    GitHub | 2 years ago | wildfly-ci
    java.lang.IllegalArgumentException: port out of range:-1
  2. 0

    GitHub comment 7942#132037036

    GitHub | 2 years ago | wildfly-ci
    java.lang.IllegalArgumentException: port out of range:-1
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 7950#132385671

    GitHub | 2 years ago | wildfly-ci
    java.lang.IllegalArgumentException: port out of range:-1
  5. 0

    An exception is thrown when the port number is omitted

    GitHub | 2 years ago | KMax
    rx.exceptions.OnErrorNotImplementedException: port out of range:-1

  1. Andreas Häber 6 times, last 7 months ago
  2. alexs 12 times, last 1 year ago
  3. Juraji 2 times, last 1 year ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    port out of range:-1

    at java.net.InetSocketAddress.checkPort()
  2. Java RT
    InetSocketAddress.<init>
    1. java.net.InetSocketAddress.checkPort(InetSocketAddress.java:143)
    2. java.net.InetSocketAddress.<init>(InetSocketAddress.java:224)
    2 frames
  3. org.apache.activemq
    ActiveMQConnectionFactory.createContext
    1. org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnector.createConnection(NettyConnector.java:686)
    2. org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.openTransportConnection(ClientSessionFactoryImpl.java:1227)
    3. org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createTransportConnection(ClientSessionFactoryImpl.java:1287)
    4. org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.establishNewConnection(ClientSessionFactoryImpl.java:1501)
    5. org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.getConnection(ClientSessionFactoryImpl.java:1050)
    6. org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.getConnectionWithRetry(ClientSessionFactoryImpl.java:926)
    7. org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.connect(ClientSessionFactoryImpl.java:239)
    8. org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:897)
    9. org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createConnectionInternal(ActiveMQConnectionFactory.java:726)
    10. org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createContext(ActiveMQConnectionFactory.java:198)
    11. org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.createContext(ActiveMQConnectionFactory.java:188)
    11 frames
  4. org.jboss.as
    ClusteredMessagingTestCase.testClusteredQueue
    1. org.jboss.as.test.clustering.messaging.ClusteredMessagingTestCase.sendMessage(ClusteredMessagingTestCase.java:204)
    2. org.jboss.as.test.clustering.messaging.ClusteredMessagingTestCase.testClusteredQueue(ClusteredMessagingTestCase.java:136)
    2 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  6. JUnit
    FrameworkMethod.invokeExplosively
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    3 frames
  7. Arquillian TestRunner JUnit Core
    Arquillian$8$1.invoke
    1. org.jboss.arquillian.junit.Arquillian$8$1.invoke(Arquillian.java:370)
    1 frame
  8. Arquillian Container Test Implementation Base
    LocalTestExecuter.execute
    1. org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60)
    1 frame
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  10. Arquillian Core Implementation Base
    EventImpl.fire
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
    3. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
    4. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
    5. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
    6. org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
    6 frames
  11. Arquillian Container Test Implementation Base
    ClientTestExecuter.execute
    1. org.jboss.arquillian.container.test.impl.execution.ClientTestExecuter.execute(ClientTestExecuter.java:53)
    1 frame
  12. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  13. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
    3. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
    3 frames
  14. Arquillian Container Test Implementation Base
    ContainerEventController.createTestContext
    1. org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)
    2. org.jboss.arquillian.container.test.impl.client.ContainerEventController.createTestContext(ContainerEventController.java:129)
    2 frames
  15. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  16. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    2 frames
  17. Arquillian Test Implementation Base
    TestContextHandler.createTestContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130)
    1 frame
  18. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  19. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    2 frames
  20. Arquillian Test Implementation Base
    TestContextHandler.createClassContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92)
    1 frame
  21. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  22. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    2 frames
  23. Arquillian Test Implementation Base
    TestContextHandler.createSuiteContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
    1 frame
  24. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  25. Arquillian Core Implementation Base
    ManagerImpl.fire
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    3. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
    3 frames
  26. Arquillian Test Implementation Base
    EventTestRunnerAdaptor.test
    1. org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.test(EventTestRunnerAdaptor.java:136)
    1 frame
  27. Arquillian TestRunner JUnit Core
    Arquillian$7$1.invoke
    1. org.jboss.arquillian.junit.Arquillian$8.evaluate(Arquillian.java:363)
    2. org.jboss.arquillian.junit.Arquillian$4.evaluate(Arquillian.java:245)
    3. org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:422)
    4. org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)
    5. org.jboss.arquillian.junit.Arquillian$5.evaluate(Arquillian.java:259)
    6. org.jboss.arquillian.junit.Arquillian$7$1.invoke(Arquillian.java:315)
    6 frames
  28. Arquillian Container Test Implementation Base
    ClientBeforeAfterLifecycleEventExecuter.on
    1. org.jboss.arquillian.container.test.impl.execution.ClientBeforeAfterLifecycleEventExecuter.execute(ClientBeforeAfterLifecycleEventExecuter.java:99)
    2. org.jboss.arquillian.container.test.impl.execution.ClientBeforeAfterLifecycleEventExecuter.on(ClientBeforeAfterLifecycleEventExecuter.java:72)
    2 frames
  29. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  30. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
    3. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
    3 frames
  31. Arquillian Container Test Implementation Base
    ContainerEventController.createBeforeContext
    1. org.jboss.arquillian.container.test.impl.client.ContainerEventController.createContext(ContainerEventController.java:142)
    2. org.jboss.arquillian.container.test.impl.client.ContainerEventController.createBeforeContext(ContainerEventController.java:124)
    2 frames
  32. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  33. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    2 frames
  34. Arquillian Test Implementation Base
    TestContextHandler.createTestContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createTestContext(TestContextHandler.java:130)
    1 frame
  35. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  36. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    2 frames
  37. Arquillian Test Implementation Base
    TestContextHandler.createClassContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:92)
    1 frame
  38. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  39. Arquillian Core Implementation Base
    EventContextImpl.proceed
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    2 frames
  40. Arquillian Test Implementation Base
    TestContextHandler.createSuiteContext
    1. org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)
    1 frame
  41. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  42. Arquillian Core Implementation Base
    ManagerImpl.fire
    1. org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
    2. org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
    3. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)
    4. org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)
    4 frames
  43. Arquillian Test Implementation Base
    EventTestRunnerAdaptor.fireCustomLifecycle
    1. org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.fireCustomLifecycle(EventTestRunnerAdaptor.java:159)
    1 frame
  44. Arquillian TestRunner JUnit Core
    Arquillian$7.evaluate
    1. org.jboss.arquillian.junit.Arquillian$7.evaluate(Arquillian.java:311)
    1 frame
  45. JUnit
    ParentRunner$2.evaluate
    1. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    2. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    8 frames
  46. Arquillian TestRunner JUnit Core
    Arquillian$3.evaluate
    1. org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:204)
    2. org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:422)
    3. org.jboss.arquillian.junit.Arquillian.access$200(Arquillian.java:54)
    4. org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:218)
    4 frames
  47. JUnit
    ParentRunner.run
    1. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    1 frame
  48. Arquillian TestRunner JUnit Core
    Arquillian.run
    1. org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:166)
    1 frame
  49. JUnit
    JUnitCore.run
    1. org.junit.runners.Suite.runChild(Suite.java:127)
    2. org.junit.runners.Suite.runChild(Suite.java:26)
    3. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    4. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    5. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    6. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    7. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    8. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    9. org.junit.runner.JUnitCore.run(JUnitCore.java:160)
    10. org.junit.runner.JUnitCore.run(JUnitCore.java:138)
    10 frames
  50. SureFire JUnitCore Runner
    JUnitCoreProvider.invoke
    1. org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:113)
    2. org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:85)
    3. org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:54)
    4. org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:134)
    4 frames
  51. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
    2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
    3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
    3 frames