java.lang.reflect.InvocationTargetException

Sonatype JIRA | Benjamin Hanzelmann | 5 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

    The tests check for update of item access time. Access time did not change, it seems unlikely that the grid slave was so fast (retrieveItem in between with string checks etc., but nothing really slow, so this still might be the case here). https://builds.sonatype.org/job/nexus-oss-its/jdk=java-6x,label=win/lastCompletedBuild/testReport/org.sonatype.nexus.proxy.storage.local.fs.perf/DefaultFSLocalRepositoryStoragePerformanceTest/testRetieveItemWithLastAccessUpdate/ https://builds.sonatype.org/job/nexus-oss-its/jdk=java-6x,label=win/lastCompletedBuild/testReport/org.sonatype.nexus.proxy.storage.local.fs.perf/DefaultFSLocalRepositoryStoragePerformanceITTest/validateRetieveItemWithLastAccessUpdate/ {code} org.sonatype.nexus.proxy.storage.local.fs.perf.DefaultFSLocalRepositoryStoragePerformanceTest.testRetieveItemWithLastAccessUpdate (from DefaultFSLocalRepositoryStoragePerformanceTest) Failing for the past 1 build (Since Failed#98 ) Took 1.4 sec. add description Stacktrace java.lang.reflect.InvocationTargetException at com.carrotsearch.junitbenchmarks.BenchmarkStatement$BaseEvaluator.evaluateInternally(BenchmarkStatement.java:68) at com.carrotsearch.junitbenchmarks.BenchmarkStatement$SequentialEvaluator.evaluate(BenchmarkStatement.java:99) at com.carrotsearch.junitbenchmarks.BenchmarkStatement.evaluate(BenchmarkStatement.java:328) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) 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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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:172) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70) Caused by: java.lang.AssertionError: Expected: a value greater than <1322464895689L> but: <1322464895689L> was equal to <1322464895689L> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8) at org.sonatype.nexus.proxy.storage.local.fs.perf.DefaultFSLocalRepositoryStoragePerformanceTest.testRetieveItemWithLastAccessUpdate(DefaultFSLocalRepositoryStoragePerformanceTest.java:152) at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at com.carrotsearch.junitbenchmarks.BenchmarkStatement$BaseEvaluator.evaluateInternally(BenchmarkStatement.java:62) ... 23 more {code} {code} org.sonatype.nexus.proxy.storage.local.fs.perf.DefaultFSLocalRepositoryStoragePerformanceITTest.validateRetieveItemWithLastAccessUpdate (from DefaultFSLocalRepositoryStoragePerformanceITTest) Failing for the past 1 build (Since Failed#98 ) Took 0.32 sec. add description Stacktrace java.lang.reflect.InvocationTargetException at com.carrotsearch.junitbenchmarks.BenchmarkStatement$BaseEvaluator.evaluateInternally(BenchmarkStatement.java:68) at com.carrotsearch.junitbenchmarks.BenchmarkStatement$SequentialEvaluator.evaluate(BenchmarkStatement.java:99) at com.carrotsearch.junitbenchmarks.BenchmarkStatement.evaluate(BenchmarkStatement.java:328) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) 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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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:172) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70) Caused by: java.lang.AssertionError: Expected: a value greater than <1322464892902L> but: <1322464892902L> was equal to <1322464892902L> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8) at org.sonatype.nexus.proxy.storage.local.fs.perf.DefaultFSLocalRepositoryStoragePerformanceITTest.validateRetieveItemWithLastAccessUpdate(DefaultFSLocalRepositoryStoragePerformanceITTest.java:192) 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:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at com.carrotsearch.junitbenchmarks.BenchmarkStatement$BaseEvaluator.evaluateInternally(BenchmarkStatement.java:62) ... 23 more {code}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    java.lang.reflect.InvocationTargetException
  2. 0

    Build not working in Windows

    GitHub | 2 years ago | hypery2k
    java.lang.AssertionError: Expected: iterable containing ["some-component/specs/image.png"] but: item 0: was "some-component/specs\image.png"
  3. 0

    Build fails during :sagan-site:integTest

    GitHub | 3 years ago | as1s
    java.lang.AssertionError: Expected: "Spring Tool Suiteâ„¢ Downloads" but: was "Spring Tool Suite™ Downloads"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RiverMongoInitialTimestampTest fails in isolation

    GitHub | 3 years ago | kdkeck
    java.lang.AssertionError: Expected: <0L> but: was <1L>
  6. 0

    installing allure jenkins plugin (v2.1) fails on latest jenkins build 1.576

    GitHub | 3 years ago | psura
    java.lang.AssertionError: Expected: is <2> but: was <1>
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.AssertionError

    Expected: a value greater than <1322464892902L> but: <1322464892902L> was equal to <1322464892902L>

    at org.hamcrest.MatcherAssert.assertThat()
  2. Hamcrest
    MatcherAssert.assertThat
    1. org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
    2. org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
    2 frames
  3. org.sonatype.nexus
    DefaultFSLocalRepositoryStoragePerformanceITTest.validateRetieveItemWithLastAccessUpdate
    1. org.sonatype.nexus.proxy.storage.local.fs.perf.DefaultFSLocalRepositoryStoragePerformanceITTest.validateRetieveItemWithLastAccessUpdate(DefaultFSLocalRepositoryStoragePerformanceITTest.java:192)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. JUnit
    RunAfters.evaluate
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    6 frames
  6. JUnitBenchmarks
    BenchmarkStatement.evaluate
    1. com.carrotsearch.junitbenchmarks.BenchmarkStatement$BaseEvaluator.evaluateInternally(BenchmarkStatement.java:62)
    2. com.carrotsearch.junitbenchmarks.BenchmarkStatement$SequentialEvaluator.evaluate(BenchmarkStatement.java:99)
    3. com.carrotsearch.junitbenchmarks.BenchmarkStatement.evaluate(BenchmarkStatement.java:328)
    3 frames
  7. JUnit
    ParentRunner.run
    1. org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
    2. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
    3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
    4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    9. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    9 frames
  8. JUnit4 Provider
    JUnit4Provider.invoke
    1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
    2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
    3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
    3 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  10. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
    2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
    3. org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:172)
    4. org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:104)
    5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:70)
    5 frames