java.lang.AssertionError: Invalid result: 1 + 1 + 2 + 3 + 5 expected:<12.0> but was:<12>

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

,
Expert tip

Check your pattern declaration or check your assert declaration.

Solutions on the web

via commons-dev by Apache Continuum, 1 year ago
via commons-dev by Apache Continuum, 1 year ago
via hadoop-hdfs-issues by Colin Patrick McCabe (JIRA), 1 year ago
java.lang.AssertionError: Invalid result: 1 + 1 + 2 + 3 + 5 expected:<12.0> but was:<12>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.apache.commons.scxml2.env.javascript.JSEvaluatorTest.testStandardExpressions(JSEvaluatorTest.java:184)

Users with the same issue

9 times, 3 weeks ago
Once, 11 months ago
3 times, 1 year ago
Once, 4 months ago
4 times, 9 months ago
123 more bugmates

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