java.lang.NullPointerException

GitHub | mcqueary | 7 months 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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at io.nats.client.TCPConnectionMock.bounce()
  2. io.nats.client
    ConnectionFactoryTest.testConnectionFactoryStringStringArray
    1. io.nats.client.TCPConnectionMock.bounce(TCPConnectionMock.java:560)
    2. io.nats.client.ConnectionFactoryTest.testConnectionFactoryStringStringArray(ConnectionFactoryTest.java:354)
    2 frames
  3. 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:498)
    4 frames
  4. JUnit
    ParentRunner.run
    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)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    7. org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
    8. org.junit.rules.RunRules.evaluate(RunRules.java:20)
    9. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    10. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    11. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    12. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    13. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    14. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    15. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    16. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    17. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    18. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    19. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    20. org.junit.runners.Suite.runChild(Suite.java:127)
    21. org.junit.runners.Suite.runChild(Suite.java:26)
    22. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    23. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    24. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    25. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    26. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    27. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    27 frames
  5. SureFire JUnitCore Runner
    JUnitCoreProvider.invoke
    1. org.apache.maven.surefire.junitcore.JUnitCore.run(JUnitCore.java:55)
    2. org.apache.maven.surefire.junitcore.JUnitCoreWrapper.createRequestAndRun(JUnitCoreWrapper.java:137)
    3. org.apache.maven.surefire.junitcore.JUnitCoreWrapper.executeEager(JUnitCoreWrapper.java:107)
    4. org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:83)
    5. org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:75)
    6. org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(JUnitCoreProvider.java:161)
    6 frames
  6. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    3 frames