junit.framework.AssertionFailedError: You are overriding the setUp() method without calling super.setUp().  You must call the superclass setUp() and tearDown() methods in your TestCase subclass to ensure proper initialization.

strutstestcase | nobody | 1 decade ago
  1. 0

    AssertionFailedError: You are overriding...

    strutstestcase | 1 decade ago | nobody
    junit.framework.AssertionFailedError: You are overriding the setUp() method without calling super.setUp().  You must call the superclass setUp() and tearDown() methods in your TestCase subclass to ensure proper initialization.
  2. 0

    How to use CactusStrutsTestCase

    strutstestcase | 1 decade ago | nobody
    junit.framework.AssertionFailedError: You are overriding the setUp() method without calling super.setUp().  You must call the superclass setUp() method in your TestCase subclass to ensure proper initialization.
  3. 0

    The following error is being logged by Confluence when run in the CI builds. Presumably this is because the server is being run from a zipped Confluence home directory that does not have Dev Mode enabled. Might need to hack the run command to pass in the devMode=true flag. {noformat} 28-Nov-2010 19:10:29 testAdminUserHasEditPermissionRestrictedPage(it.com.atlassian.confluence.plugins.rpc.permcheck.SoapPermissionCheckerAcceptanceTest) Time elapsed: 0 sec <<< FAILURE! 28-Nov-2010 19:10:29 junit.framework.AssertionFailedError: Expected text not found in current page: [Manage Plugins] 28-Nov-2010 19:10:29 Page content was: [Administrator Access - Confluence 28-Nov-2010 19:10:29 Administrator Access 28-Nov-2010 19:10:29 If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. 28-Nov-2010 19:10:29 You have requested access to an administrative function in Confluence and are required to validate your credentials below. 28-Nov-2010 19:10:29 If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. You have requested access to an administrative function in Confluence and are required to validate your credentials below. 28-Nov-2010 19:10:29 Username admin 28-Nov-2010 19:10:29 Password 28-Nov-2010 19:10:29 Confirm Cancel Not You? 28-Nov-2010 19:10:29 28-Nov-2010 19:10:29 ] 28-Nov-2010 19:10:29 at junit.framework.Assert.fail(Assert.java:47) 28-Nov-2010 19:10:29 at net.sourceforge.jwebunit.junit.WebTester.assertTextPresent(WebTester.java:485) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.JWebUnitConfluenceWebTester.installPluginInternal(JWebUnitConfluenceWebTester.java:350) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.JWebUnitConfluenceWebTester.installPlugin(JWebUnitConfluenceWebTester.java:299) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.JWebUnitConfluenceWebTester.installTestLibrary(JWebUnitConfluenceWebTester.java:263) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.AbstractConfluencePluginWebTestCase.installTestLibrary(AbstractConfluencePluginWebTestCase.java:102) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.AbstractConfluencePluginWebTestCase.setUp(AbstractConfluencePluginWebTestCase.java:44) 28-Nov-2010 19:10:29 at it.com.atlassian.confluence.plugins.rpc.permcheck.SoapPermissionCheckerAcceptanceTest.setUp(SoapPermissionCheckerAcceptanceTest.java:42) 28-Nov-2010 19:10:29 at junit.framework.TestCase.runBare(TestCase.java:125) 28-Nov-2010 19:10:29 at net.sourceforge.jwebunit.junit.WebTestCase.runBare(WebTestCase.java:93) 28-Nov-2010 19:10:29 at junit.framework.TestResult$1.protect(TestResult.java:106) 28-Nov-2010 19:10:29 at junit.framework.TestResult.runProtected(TestResult.java:124) 28-Nov-2010 19:10:29 at junit.framework.TestResult.run(TestResult.java:109) 28-Nov-2010 19:10:29 at junit.framework.TestCase.run(TestCase.java:118) 28-Nov-2010 19:10:29 at junit.framework.TestSuite.runTest(TestSuite.java:208) 28-Nov-2010 19:10:29 at junit.framework.TestSuite.run(TestSuite.java:203) 28-Nov-2010 19:10:29 at org.testng.junit.JUnitTestRunner.doRun(JUnitTestRunner.java:244) 28-Nov-2010 19:10:29 at org.testng.junit.JUnitTestRunner.start(JUnitTestRunner.java:217) 28-Nov-2010 19:10:29 at org.testng.junit.JUnitTestRunner.run(JUnitTestRunner.java:205) 28-Nov-2010 19:10:29 at org.testng.TestRunner$2.run(TestRunner.java:546) 28-Nov-2010 19:10:29 at org.testng.TestRunner.runWorkers(TestRunner.java:759) 28-Nov-2010 19:10:29 at org.testng.TestRunner.privateRunJUnit(TestRunner.java:558) 28-Nov-2010 19:10:29 at org.testng.TestRunner.run(TestRunner.java:483) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.runTest(SuiteRunner.java:332) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.run(SuiteRunner.java:204) 28-Nov-2010 19:10:29 at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912) 28-Nov-2010 19:10:29 at org.testng.TestNG.runSuitesLocally(TestNG.java:876) 28-Nov-2010 19:10:29 at org.testng.TestNG.run(TestNG.java:784) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:155) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 28-Nov-2010 19:10:29 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 28-Nov-2010 19:10:29 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 28-Nov-2010 19:10:29 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 28-Nov-2010 19:10:29 at java.lang.reflect.Method.invoke(Method.java:597) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) {noformat}

    Atlassian JIRA | 6 years ago | Joe Clark [Atlassian]
    junit.framework.AssertionFailedError: Expected text not found in current page: [Manage Plugins] Page content was: [Administrator Access - Confluence Administrator Access If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. You have requested access to an administrative function in Confluence and are required to validate your credentials below. If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. You have requested access to an administrative function in Confluence and are required to validate your credentials below. Username admin Password Confirm Cancel Not You? ]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The following error is being logged by Confluence when run in the CI builds. Presumably this is because the server is being run from a zipped Confluence home directory that does not have Dev Mode enabled. Might need to hack the run command to pass in the devMode=true flag. {noformat} 28-Nov-2010 19:10:29 testAdminUserHasEditPermissionRestrictedPage(it.com.atlassian.confluence.plugins.rpc.permcheck.SoapPermissionCheckerAcceptanceTest) Time elapsed: 0 sec <<< FAILURE! 28-Nov-2010 19:10:29 junit.framework.AssertionFailedError: Expected text not found in current page: [Manage Plugins] 28-Nov-2010 19:10:29 Page content was: [Administrator Access - Confluence 28-Nov-2010 19:10:29 Administrator Access 28-Nov-2010 19:10:29 If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. 28-Nov-2010 19:10:29 You have requested access to an administrative function in Confluence and are required to validate your credentials below. 28-Nov-2010 19:10:29 If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. You have requested access to an administrative function in Confluence and are required to validate your credentials below. 28-Nov-2010 19:10:29 Username admin 28-Nov-2010 19:10:29 Password 28-Nov-2010 19:10:29 Confirm Cancel Not You? 28-Nov-2010 19:10:29 28-Nov-2010 19:10:29 ] 28-Nov-2010 19:10:29 at junit.framework.Assert.fail(Assert.java:47) 28-Nov-2010 19:10:29 at net.sourceforge.jwebunit.junit.WebTester.assertTextPresent(WebTester.java:485) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.JWebUnitConfluenceWebTester.installPluginInternal(JWebUnitConfluenceWebTester.java:350) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.JWebUnitConfluenceWebTester.installPlugin(JWebUnitConfluenceWebTester.java:299) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.JWebUnitConfluenceWebTester.installTestLibrary(JWebUnitConfluenceWebTester.java:263) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.AbstractConfluencePluginWebTestCase.installTestLibrary(AbstractConfluencePluginWebTestCase.java:102) 28-Nov-2010 19:10:29 at com.atlassian.confluence.plugin.functest.AbstractConfluencePluginWebTestCase.setUp(AbstractConfluencePluginWebTestCase.java:44) 28-Nov-2010 19:10:29 at it.com.atlassian.confluence.plugins.rpc.permcheck.SoapPermissionCheckerAcceptanceTest.setUp(SoapPermissionCheckerAcceptanceTest.java:42) 28-Nov-2010 19:10:29 at junit.framework.TestCase.runBare(TestCase.java:125) 28-Nov-2010 19:10:29 at net.sourceforge.jwebunit.junit.WebTestCase.runBare(WebTestCase.java:93) 28-Nov-2010 19:10:29 at junit.framework.TestResult$1.protect(TestResult.java:106) 28-Nov-2010 19:10:29 at junit.framework.TestResult.runProtected(TestResult.java:124) 28-Nov-2010 19:10:29 at junit.framework.TestResult.run(TestResult.java:109) 28-Nov-2010 19:10:29 at junit.framework.TestCase.run(TestCase.java:118) 28-Nov-2010 19:10:29 at junit.framework.TestSuite.runTest(TestSuite.java:208) 28-Nov-2010 19:10:29 at junit.framework.TestSuite.run(TestSuite.java:203) 28-Nov-2010 19:10:29 at org.testng.junit.JUnitTestRunner.doRun(JUnitTestRunner.java:244) 28-Nov-2010 19:10:29 at org.testng.junit.JUnitTestRunner.start(JUnitTestRunner.java:217) 28-Nov-2010 19:10:29 at org.testng.junit.JUnitTestRunner.run(JUnitTestRunner.java:205) 28-Nov-2010 19:10:29 at org.testng.TestRunner$2.run(TestRunner.java:546) 28-Nov-2010 19:10:29 at org.testng.TestRunner.runWorkers(TestRunner.java:759) 28-Nov-2010 19:10:29 at org.testng.TestRunner.privateRunJUnit(TestRunner.java:558) 28-Nov-2010 19:10:29 at org.testng.TestRunner.run(TestRunner.java:483) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.runTest(SuiteRunner.java:332) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299) 28-Nov-2010 19:10:29 at org.testng.SuiteRunner.run(SuiteRunner.java:204) 28-Nov-2010 19:10:29 at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912) 28-Nov-2010 19:10:29 at org.testng.TestNG.runSuitesLocally(TestNG.java:876) 28-Nov-2010 19:10:29 at org.testng.TestNG.run(TestNG.java:784) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:155) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.Surefire.run(Surefire.java:177) 28-Nov-2010 19:10:29 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 28-Nov-2010 19:10:29 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 28-Nov-2010 19:10:29 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 28-Nov-2010 19:10:29 at java.lang.reflect.Method.invoke(Method.java:597) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) 28-Nov-2010 19:10:29 at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) {noformat}

    Atlassian JIRA | 6 years ago | Joe Clark [Atlassian]
    junit.framework.AssertionFailedError: Expected text not found in current page: [Manage Plugins] Page content was: [Administrator Access - Confluence Administrator Access If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. You have requested access to an administrative function in Confluence and are required to validate your credentials below. If you were sent to this page from a link obtained from an untrusted source please proceed with caution or validate the link source before continuing. You have requested access to an administrative function in Confluence and are required to validate your credentials below. Username admin Password Confirm Cancel Not You? ]
  6. 0

    [Hive-dev] Hive-trunk-hadoop2 - Build # 91 - Still Failing - Grokbase

    grokbase.com | 1 year ago
    junit.framework.AssertionFailedError: Unexpected exception in setup

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. junit.framework.AssertionFailedError

      You are overriding the setUp() method without calling super.setUp().  You must call the superclass setUp() and tearDown() methods in your TestCase subclass to ensure proper initialization.

      at servletunit.struts.CactusStrutsTestCase.init()
    2. servletunit.struts
      CactusStrutsTestCase.setRequestPathInfo
      1. servletunit.struts.CactusStrutsTestCase.init(CactusStrutsTestCase.java:87)
      2. servletunit.struts.CactusStrutsTestCase.setRequestPathInfo(CactusStrutsTestCase.java:347)
      2 frames