org.testng.TestNGException: Cannot instantiate class com.hazelcast.cache.CacheUnitTest

GitHub | thomasmodeneis | 8 months ago
  1. 0

    After updating to HZ 3.6-EA2, test CacheUnitTest fails with NumberFormatException

    GitHub | 8 months ago | thomasmodeneis
    org.testng.TestNGException: Cannot instantiate class com.hazelcast.cache.CacheUnitTest
  2. 0

    GitHub comment 6821#199726652

    GitHub | 8 months ago | thomasmodeneis
    com.hazelcast.cache.CacheUnitTest
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    WebLogic Deployment getting Failed

    Oracle Community | 4 years ago | 943647
    java.lang.NumberFormatException: null

  1. MyInnos 1 times, last 8 months ago
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.NumberFormatException

    null

    at java.lang.Integer.parseInt()
  2. Java RT
    Byte.parseByte
    1. java.lang.Integer.parseInt(Integer.java:454)
    2. java.lang.Byte.parseByte(Byte.java:148)
    3. java.lang.Byte.parseByte(Byte.java:174)
    3 frames
  3. Hazelcast
    BuildInfoProvider.getBuildInfo
    1. com.hazelcast.instance.BuildInfoProvider.getBuildInfo(BuildInfoProvider.java:67)
    1 frame
  4. hazelcast
    XmlConfigBuilder.<init>
    1. com.hazelcast.config.AbstractXmlConfigHelper.getReleaseVersion(AbstractXmlConfigHelper.java:210)
    2. com.hazelcast.config.AbstractXmlConfigHelper.<init>(AbstractXmlConfigHelper.java:72)
    3. com.hazelcast.config.AbstractConfigBuilder.<init>(AbstractConfigBuilder.java:60)
    4. com.hazelcast.config.XmlConfigBuilder.<init>(XmlConfigBuilder.java:156)
    4 frames
  5. Hazelcast
    HazelcastInstanceFactory.newHazelcastInstance
    1. com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:109)
    1 frame
  6. hazelcast
    Hazelcast.newHazelcastInstance
    1. com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
    1 frame
  7. Hazelcast
    CacheUnitTest.<init>
    1. com.hazelcast.cache.CacheUnitTest.<init>(CacheUnitTest.java:17)
    1 frame
  8. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    4 frames
  9. TestNG
    RemoteTestNGStarter.main
    1. org.testng.internal.ObjectFactoryImpl.newInstance(ObjectFactoryImpl.java:28)
    2. org.testng.internal.ClassHelper.createInstance1(ClassHelper.java:372)
    3. org.testng.internal.ClassHelper.createInstance(ClassHelper.java:284)
    4. org.testng.internal.ClassImpl.getDefaultInstance(ClassImpl.java:109)
    5. org.testng.internal.ClassImpl.getInstances(ClassImpl.java:181)
    6. org.testng.internal.TestNGClassFinder.<init>(TestNGClassFinder.java:120)
    7. org.testng.TestRunner.initMethods(TestRunner.java:402)
    8. org.testng.TestRunner.init(TestRunner.java:228)
    9. org.testng.TestRunner.init(TestRunner.java:198)
    10. org.testng.TestRunner.<init>(TestRunner.java:154)
    11. org.testng.remote.RemoteTestNG$1.newTestRunner(RemoteTestNG.java:141)
    12. org.testng.remote.RemoteTestNG$DelegatingTestRunnerFactory.newTestRunner(RemoteTestNG.java:270)
    13. org.testng.SuiteRunner$ProxyTestRunnerFactory.newTestRunner(SuiteRunner.java:561)
    14. org.testng.SuiteRunner.init(SuiteRunner.java:156)
    15. org.testng.SuiteRunner.<init>(SuiteRunner.java:110)
    16. org.testng.TestNG.createSuiteRunner(TestNG.java:1235)
    17. org.testng.TestNG.createSuiteRunners(TestNG.java:1222)
    18. org.testng.TestNG.runSuitesLocally(TestNG.java:1074)
    19. org.testng.TestNG.run(TestNG.java:999)
    20. org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
    21. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:203)
    22. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:174)
    23. org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:125)
    23 frames
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  11. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
    1 frame