junit.framework.AssertionFailedError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Usage of Eval
    via by Neil Benn,
  • Usage of Eval
    via by Neil Benn,
  • GitHub comment 23#20821349
    via GitHub by ksclarke
    ,
  • error
    via by 807598,
  • Some tests fail occasionally
    via GitHub by julie-sullivan
    ,
    • junit.framework.AssertionFailedError: exception from Jython: Traceback (innermost last): (no code object) at line 0 File "<string>", line 1 def test(): ^ SyntaxError: invalid syntax at junit.framework.Assert.fail(Assert.java:47) at uk.co.ziath.datapaq.server.scripting.test.BSFScriptProcessorTest.testRawJythonScript(BSFScriptProcessorTest.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod) at sun.reflect.NativeMethodAccessorImpl.invoke(UnknownSource) at sun.reflect.DelegatingMethodAccessorImpl.invoke(UnknownSource) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) 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:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

    Users with the same issue

    Casper
    2 times, last one,
    treefolk
    5 times, last one,
    Unknown visitor1 times, last one,
    Adrien
    9 times, last one,
    andyglick
    1 times, last one,
    27 more bugmates