junit.framework.ComparisonFailure: valor inesperado para number expected:<> but was:<>**

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

Solutions on the web

via openxava by trapagual
, 1 year ago
valor inesperado para number expected:<> but was:<>**
via GitHub by vincent-zurczak
, 2 years ago
expected:<...l => { '/toto' => { [port => '3306', ip => '172.16.20.12]' }}> but was:<...l => { '/toto' => { [ip => '172.16.20.12', port => '3306]' }}>
via Stack Overflow by Mario Costa
, 1 year ago
usb serial != adb serial expected:<[]> but was:<[42032c0e41da3100]>
via Google Groups by vijay kumar, 2 years ago
/Main_testB9.jar:/ data/local/tmp/vm-tests/dot/junit/opcodes/add_float_2addr/d/T_add_float_2addr_1.jar dot.junit.opcodes.add_float_2addr.Main_testB9 expected:<[]> b ut was:<[Segmentation fault ]>
via jtds by khichdo
, 1 year ago
expected:<[#TABLE0]> but was:<[]>
via openxava by rumpelstisien
, 1 year ago
Unexpected value for product.description expected:<[Peopleware: Productive Projects and Teams]> but was:<[]>
junit.framework.ComparisonFailure: valor inesperado para number expected:<> but was:<>**
at org.openxava.tests.ModuleTestBase.assertValue(ModuleTestBase.java:941)
at org.openxava.invoicing.tests.CustomerTest.testCreateReadUpdateDelete(CustomerTest.java:33)
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 junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

Users with the same issue

2 times, 11 months ago
3 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
4 times, 5 months ago
2 times, 6 months ago
6 more bugmates

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