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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by deadok22
, 1 year ago
junit.framework.AssertionFailedError: expected:<[]> but was:<[module1.beam]>
via GitHub by dlsniper
, 1 year ago
junit.framework.AssertionFailedError
java.lang.RuntimeException: junit.framework.AssertionFailedError: expected:<[]> but was:<[module1.beam]>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.Assert.assertEquals(Assert.java:86)
at org.intellij.erlang.build.ErlangCompilationTestBase.assertUnorderedElementsAreEqual(ErlangCompilationTestBase.java:230)
at org.intellij.erlang.build.ErlangCompilationTestBase.assertContains(ErlangCompilationTestBase.java:226)
at org.intellij.erlang.build.ErlangCompilationTestBase.assertSourcesCompiled(ErlangCompilationTestBase.java:214)
at org.intellij.erlang.build.ErlangCompilationTestBase.compileAndAssertOutput(ErlangCompilationTestBase.java:150)
at org.intellij.erlang.build.ErlangBuildInSingleModuleTest.testBeamsForDeletedSourcesAreDeleted(ErlangBuildInSingleModuleTest.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at junit.framework.TestCase.runTest(TestCase.java:176)
at com.intellij.testFramework.UsefulTestCase.access$001(UsefulTestCase.java:80)
at com.intellij.testFramework.UsefulTestCase.lambda$runTest$0(UsefulTestCase.java:326)
at com.intellij.testFramework.PlatformTestCase.lambda$invokeTestRunnable$3(PlatformTestCase.java:737)
at com.intellij.testFramework.PlatformTestCase.invokeTestRunnable(PlatformTestCase.java:749)
at com.intellij.testFramework.UsefulTestCase.runTest(UsefulTestCase.java:341)
at com.intellij.testFramework.PlatformTestCase.lambda$runBareImpl$2(PlatformTestCase.java:666)
at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:29)
at com.intellij.testFramework.EdtTestUtil$Companion$runInEdtAndWait$1.invoke(EdtTestUtil.kt:27)
at com.intellij.testFramework.EdtTestUtilKt$sam$Runnable$ca4818df.run(EdtTestUtil.kt)
at com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:291)
at com.intellij.openapi.application.impl.LaterInvocator$1.run(LaterInvocator.java:156)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:326)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:863)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:699)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Users with the same issue

Once, 1 month ago
15 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 3 weeks ago
4 times, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.