java.lang.AssertionError: eCount=4expectedFilenameList.size=6

QOS.ch JIRA | Ralph Goers | 7 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

    ------------------------------------------------------------------------------- Test set: ch.qos.logback.classic.rolling.TimeBasedRollingWithConfigFileTest ------------------------------------------------------------------------------- Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec <<< FAILURE! basic(ch.qos.logback.classic.rolling.TimeBasedRollingWithConfigFileTest) Time elapsed: 0.048 sec timeAndSize(ch.qos.logback.classic.rolling.TimeBasedRollingWithConfigFileTest) Time elapsed: 0.04 sec <<< FAILURE! java.lang.AssertionError: eCount=4expectedFilenameList.size=6 at org.junit.Assert.fail(Assert.java:74) at org.junit.Assert.assertTrue(Assert.java:37) at ch.qos.logback.classic.rolling.TimeBasedRollingWithConfigFileTest.timeAndSize(TimeBasedRollingWithConfigFileTest.java:142) 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.internal.runners.TestMethod.invoke(TestMethod.java:59) at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98) at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79) at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87) at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77) at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42) at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88) at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51) at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44) at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27) at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37) at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)

    QOS.ch JIRA | 7 years ago | Ralph Goers
    java.lang.AssertionError: eCount=4expectedFilenameList.size=6
  2. 0

    ------------------------------------------------------------------------------- Test set: ch.qos.logback.classic.rolling.TimeBasedRollingWithConfigFileTest ------------------------------------------------------------------------------- Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec <<< FAILURE! basic(ch.qos.logback.classic.rolling.TimeBasedRollingWithConfigFileTest) Time elapsed: 0.048 sec timeAndSize(ch.qos.logback.classic.rolling.TimeBasedRollingWithConfigFileTest) Time elapsed: 0.04 sec <<< FAILURE! java.lang.AssertionError: eCount=4expectedFilenameList.size=6 at org.junit.Assert.fail(Assert.java:74) at org.junit.Assert.assertTrue(Assert.java:37) at ch.qos.logback.classic.rolling.TimeBasedRollingWithConfigFileTest.timeAndSize(TimeBasedRollingWithConfigFileTest.java:142) 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.internal.runners.TestMethod.invoke(TestMethod.java:59) at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98) at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79) at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87) at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77) at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42) at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88) at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51) at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44) at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27) at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37) at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127) at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 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.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)

    QOS.ch JIRA | 7 years ago | Ralph Goers
    java.lang.AssertionError: eCount=4expectedFilenameList.size=6
  3. 0

    Timeout problem

    Google Groups | 6 years ago | yulian_o
    java.lang.AssertionError: Too slow
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 82#68278054

    GitHub | 2 years ago | ColinMaudry
    java.lang.AssertionError: models should be isomorphic
  6. 0

    Build and test 2.beta.3 with 1 failure

    symmetricds | 7 years ago | dellph
    java.lang.AssertionError: MessageKey: NodeInitialLoadOpened[Ljava.lang.Object;@1349665

  1. jf-ast 2 times, last 2 weeks ago
  2. Adrien 15 times, last 2 weeks ago
  3. raytest 10 times, last 3 weeks ago
  4. treefolk 2 times, last 4 weeks ago
  5. chenjunjun 1 times, last 1 month ago
6 more registered users
10 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.AssertionError

    eCount=4expectedFilenameList.size=6

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertTrue
    1. org.junit.Assert.fail(Assert.java:74)
    2. org.junit.Assert.assertTrue(Assert.java:37)
    2 frames
  3. ch.qos.logback
    TimeBasedRollingWithConfigFileTest.timeAndSize
    1. ch.qos.logback.classic.rolling.TimeBasedRollingWithConfigFileTest.timeAndSize(TimeBasedRollingWithConfigFileTest.java:142)
    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
    JUnit4ClassRunner.run
    1. org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
    2. org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:98)
    3. org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:79)
    4. org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:87)
    5. org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
    6. org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
    7. org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
    8. org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
    9. org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
    10. org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
    11. org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
    12. org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)
    12 frames
  6. JUnit4 Provider
    JUnit4TestSet.execute
    1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
    1 frame
  7. SureFire
    Surefire.run
    1. org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
    2. org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
    3. org.apache.maven.surefire.Surefire.run(Surefire.java:177)
    3 frames
  8. 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
  9. SureFire
    SurefireBooter.main
    1. org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
    2. org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
    2 frames