java.lang.RuntimeException: junit.framework.AssertionFailedError: expected:<[]> but was:<[module1.beam]>

GitHub | deadok22 | 8 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.
  1. 0

    Failing compilation tests in ErlangBuildInSingleModuleTest

    GitHub | 8 months ago | deadok22
    java.lang.RuntimeException: junit.framework.AssertionFailedError: expected:<[]> but was:<[module1.beam]>
  2. 0

    [TEST-FAILURE] EntryProcessorTest.testIssue2754

    GitHub | 3 years ago | bilalyasar
    junit.framework.AssertionFailedError: expected:<6> but was:<null>
  3. 0

    [TEST-FAILURE] EntryProcessorTest.testBackups

    GitHub | 2 years ago | ajermakovics
    junit.framework.AssertionFailedError: expected:<524> but was:<525>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [TEST-FAILURE] EntryProcessorTest.testBackups

    GitHub | 2 years ago | bilalyasar
    junit.framework.AssertionFailedError: expected:<794> but was:<795>
  6. 0

    junit.framework.AssertionFailedError while doing assertEquals on String[]

    Stack Overflow | 4 years ago | Alagappan Ramu
    junit.framework.AssertionFailedError: expected: &lt;[Ljava.lang.String;@2352544e&gt; but was:&lt;[Ljava.lang.String;@721cdeff&gt;

    1 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. junit.framework.AssertionFailedError

      expected:<[]> but was:<[module1.beam]>

      at junit.framework.Assert.fail()
    2. JUnit
      TestCase.assertEquals
      1. junit.framework.Assert.fail(Assert.java:57)
      2. junit.framework.Assert.failNotEquals(Assert.java:329)
      3. junit.framework.Assert.assertEquals(Assert.java:78)
      4. junit.framework.Assert.assertEquals(Assert.java:86)
      5. junit.framework.TestCase.assertEquals(TestCase.java:253)
      5 frames
    3. org.intellij.erlang
      ErlangBuildInSingleModuleTest.testBeamsForDeletedSourcesAreDeleted
      1. org.intellij.erlang.build.ErlangCompilationTestBase.assertUnorderedElementsAreEqual(ErlangCompilationTestBase.java:230)
      2. org.intellij.erlang.build.ErlangCompilationTestBase.assertContains(ErlangCompilationTestBase.java:226)
      3. org.intellij.erlang.build.ErlangCompilationTestBase.assertSourcesCompiled(ErlangCompilationTestBase.java:214)
      4. org.intellij.erlang.build.ErlangCompilationTestBase.compileAndAssertOutput(ErlangCompilationTestBase.java:150)
      5. org.intellij.erlang.build.ErlangBuildInSingleModuleTest.testBeamsForDeletedSourcesAreDeleted(ErlangBuildInSingleModuleTest.java:159)
      5 frames
    4. 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
    5. JUnit
      TestCase.runTest
      1. junit.framework.TestCase.runTest(TestCase.java:176)
      1 frame
    6. IDEA
      LaterInvocator$FlushQueue.run
      1. com.intellij.testFramework.UsefulTestCase.access$001(UsefulTestCase.java:80)
      2. com.intellij.testFramework.UsefulTestCase.lambda$runTest$0(UsefulTestCase.java:326)
      3. com.intellij.testFramework.PlatformTestCase.lambda$invokeTestRunnable$3(PlatformTestCase.java:737)
      4. com.intellij.testFramework.PlatformTestCase.invokeTestRunnable(PlatformTestCase.java:749)
      5. com.intellij.testFramework.UsefulTestCase.runTest(UsefulTestCase.java:341)
      6. com.intellij.testFramework.PlatformTestCase.lambda$runBareImpl$2(PlatformTestCase.java:666)
      7. com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:29)
      8. com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:27)
      9. com.intellij.testFramework.EdtTestUtilKt$sam$Runnable$ca4818df.run(EdtTestUtil.kt)
      10. com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:291)
      11. com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:156)
      12. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:326)
      13. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:310)
      13 frames
    7. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      8 frames
    8. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:863)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:699)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:385)
      3 frames
    9. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames