junit.framework.AssertionFailedError

Expected: <null> but was: file:/srv/ciagent/workspace/target/test-classes/repo/MyClass.groovy

Solutions on the web2676

  • via JIRA by Maxime Gréau, 6 months ago
    Expected: <null> but was: file:/srv/ciagent/workspace/target/test-classes/repo/MyClass.groovy
  • via gump-general by gump@vmgump.apache.org, 1 year ago
    /target/classes java:compile: [echo] Compiling to /srv/gump/public/workspace/groovy/target/classes [echo] No java source files to compile. resources or todir was null java:jar-resources: test:prepare-filesystem: [mkdir] Created dir: /srv/gump
  • via Apache's JIRA Issue Tracker by Akihiro Suda, 1 year ago
    expected:<test[1]> but was:<test[0]>
  • Stack trace

    • junit.framework.AssertionFailedError: Expected: <null> but was: file:/srv/ciagent/workspace/target/test-classes/repo/MyClass.groovy at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.assertTrue(Assert.java:20) at junit.framework.Assert.assertNull(Assert.java:237) at junit.framework.Assert.assertNull(Assert.java:230) at org.exoplatform.services.rest.ext.groovy.DefaultGroovyResourceLoaderTest.testLoadGroovySource(DefaultGroovyResourceLoaderTest.java:47)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 month ago
    2 times, 1 month ago
    8 times, 2 months ago
    14 times, 3 months ago
    Unknown user
    Once, 4 months ago
    27 more bugmates