junit.framework.AssertionFailedError

Expected: <null> but was: file:/srv/ciagent/workspace/PLF/ws-develop-sonar/exo.ws.rest.ext/target/test-classes/repo/MyClass.groovy


Solutions on the web2689

Solution icon of web
via JIRA by Maxime Gréau, 7 months ago
Expected: <null> but was: file:/srv/ciagent/workspace/PLF/ws-develop-sonar/exo.ws.rest.ext/target/test-classes/repo/MyClass.groovy

Solution icon of apache
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

Solution icon of apache
via Apache's JIRA Issue Tracker by Akihiro Suda, 1 year ago
expected:<test[1]> but was:<test[0]>

Solution icon of github
via GitHub by cuter74
, 1 year ago
Expected: <null> but was: file:///android_asset/www/login.html

Solution icon of web
via narkive.com by Unknown author, 1 year ago
integrity test expected:<0> but was:<1>

Solution icon of web
via chuidiang.com by Unknown author, 1 year ago
Test suma expected:<2.0> but was:<1.0>

Solution icon of github
Expected: <<\null\>> but was: file:///android_asset/www/login.html

Solution icon of github
expected:<10> but was:<null> ...

Stack trace

  • junit.framework.AssertionFailedError: Expected: <null> but was: file:/srv/ciagent/workspace/PLF/ws-develop-sonar/exo.ws.rest.ext/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, 2 months ago
8 times, 2 months ago
14 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 4 months ago
27 more bugmates