java.lang.AssertionError: expected:<Instructor AHPUiT Instrúctör has been successfully created with join link: https://teammatesv4.appspot.com/page/instructorCourseJoin?key=%5BBACKDOOR_STATUS_FAILURE%5Dteammates.common.exception.EntityDoesNotExistException%3A+Instructor+AHPUiT.instr1%40gmail.tmt+does+not+belong+to+course+AHPUiT.instr1.gma-demo%09at+teammates.logic.core.InstructorsLogic.verifyIsEmailOfInstructorOfCourse%28InstructorsLogic.java%3A176%29%09at+teammates.logic.core.InstructorsLogic.getEncryptedKeyForInstructor%28InstructorsLogic.java%3A126%29%09at+teammates.logic.api.Logic.getEncryptedKeyForInstructor%28Logic.java%3A447%29%09at+teammates.logic.backdoor.BackDoorServlet.executeBackendAction%28BackDoorServlet.java%3A184%29%09at+teammates.logic.backdoor.BackDoorServlet.doPost%28BackDoorServlet.java%3A119%29%09at+javax.servlet.http.HttpServlet.service%28HttpServlet.java%3A637%29%09at+javax.servlet.http.HttpServlet.service%28HttpServlet.java%3A717%29%09at+org.mortbay.jetty.servlet.ServletHolder.handle%28ServletHolder.java%3A511%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1166%29%09at+teammates.storage.datastore.DatastoreFilter.doFilter%28DatastoreFilter.java%3A29%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1157%29%09at+com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter%28ParseBlobUploadFilter.java%3A125%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1157%29%09at+com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter%28SaveSessionFilter.java%3A37%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1157%29%09at+com.google.apphosting.utils.servlet.JdbcMySqlConnectionCleanupFilter.doFilter%28JdbcMySqlConnectionCleanupFilter.java%3A60%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1157%29%09at+com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter%28TransactionCleanupFilter.java%3A50%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1157%29%09at+org.mortbay.jetty.servlet.ServletHandler.handle%28ServletHandler.java%3A388%29%09at+org.mortbay.jetty.security.SecurityHandler.handle%28SecurityHandler.java%3A216%29%09at+org.mortbay.jetty.servlet.SessionHandler.handle%28SessionHandler.java%3A182%29%09at+org.mortbay.jetty.handler.ContextHandler.handle%28ContextHandler.java%3A765%29%09at+org.mortbay.jetty.webapp.WebAppContext.handle%28WebAppContext.java%3A418%29%09at+com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle%28AppVersionHandlerMap.java%3A260%29%09at+org.mortbay.jetty.handler.HandlerWrapper.handle%28HandlerWrapper.java%3A152%29%09at+org.mortbay.jetty.Server.handle%28Server.java%3A326%29%09at+org.mortbay.jetty.HttpConnection.handleRequest%28HttpConnection.java%3A542%29%09at+org.mortbay.jetty.HttpConnection%24RequestHandler.headerComplete%28HttpConnection.java%3A923%29%09at+com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable%28RpcRequestParser.java%3A78%29%09at+org.mortbay.jetty.HttpConnection.handle%28HttpConnection.java%3A404%29%09at+com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest%28JettyServletEngineAdapter.java%3A148%29%09at+com.google.apphosting.runtime.JavaRuntime%24RequestRunnable.run%28JavaRuntime.java%3A504%29%09at+com.google.tracing.TraceContext%24TraceContextRunnable.runInContext%28TraceContext.java%3A446%29%09at+com.google.tracing.TraceContext%24TraceContextRunnable%241.run%28TraceContext.java%3A453%29%09at+com.google.tracing.CurrentContext.runInContext%28CurrentContext.java%3A276%29%09at+com.google.tracing.TraceContext%24AbstractTraceContextCallback.runInInheritedContextNoUnref%28TraceContext.java%3A312%29%09at+com.google.tracing.TraceContext%24AbstractTraceContextCallback.runInInheritedContext%28TraceContext.java%3A304%29%09at+com.google.tracing.TraceContext%24TraceContextRunnable.run%28TraceContext.java%3A450%29%09at+com.google.apphosting.runtime.ThreadGroupPool%24PoolEntry.run%28ThreadGroupPool.java%3A235%29%09at+java.lang.Thread.run%28Thread.java%3A745%29&instructorinstitution=TEAMMATES+Test+Institute+1> but was:<Instructor AHPUiT Instrúctör has been successfully created with join link: https://teammatesv4.appspot.com/page/instructorCourseJoin?key=8DFB869586127CAAD2437093B7618C9BBABC12BA67285F585424365A64D79884788A2CC27847D28754A974C2578353AEBAE4F374B719F843E7989E7A5BDDA1B5&instructorinstitution=TEAMMATES+Test+Institute+1>

GitHub | damithc | 4 months ago
  1. 0

    GitHub comment 5866#235789824

    GitHub | 4 months ago | damithc
    java.lang.AssertionError: expected:<Instructor AHPUiT Instrúctör has been successfully created with join link: https://teammatesv4.appspot.com/page/instructorCourseJoin?key=%5BBACKDOOR_STATUS_FAILURE%5Dteammates.common.exception.EntityDoesNotExistException%3A+Instructor+AHPUiT.instr1%40gmail.tmt+does+not+belong+to+course+AHPUiT.instr1.gma-demo%09at+teammates.logic.core.InstructorsLogic.verifyIsEmailOfInstructorOfCourse%28InstructorsLogic.java%3A176%29%09at+teammates.logic.core.InstructorsLogic.getEncryptedKeyForInstructor%28InstructorsLogic.java%3A126%29%09at+teammates.logic.api.Logic.getEncryptedKeyForInstructor%28Logic.java%3A447%29%09at+teammates.logic.backdoor.BackDoorServlet.executeBackendAction%28BackDoorServlet.java%3A184%29%09at+teammates.logic.backdoor.BackDoorServlet.doPost%28BackDoorServlet.java%3A119%29%09at+javax.servlet.http.HttpServlet.service%28HttpServlet.java%3A637%29%09at+javax.servlet.http.HttpServlet.service%28HttpServlet.java%3A717%29%09at+org.mortbay.jetty.servlet.ServletHolder.handle%28ServletHolder.java%3A511%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1166%29%09at+teammates.storage.datastore.DatastoreFilter.doFilter%28DatastoreFilter.java%3A29%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1157%29%09at+com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter%28ParseBlobUploadFilter.java%3A125%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1157%29%09at+com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter%28SaveSessionFilter.java%3A37%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1157%29%09at+com.google.apphosting.utils.servlet.JdbcMySqlConnectionCleanupFilter.doFilter%28JdbcMySqlConnectionCleanupFilter.java%3A60%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1157%29%09at+com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter%28TransactionCleanupFilter.java%3A50%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1157%29%09at+org.mortbay.jetty.servlet.ServletHandler.handle%28ServletHandler.java%3A388%29%09at+org.mortbay.jetty.security.SecurityHandler.handle%28SecurityHandler.java%3A216%29%09at+org.mortbay.jetty.servlet.SessionHandler.handle%28SessionHandler.java%3A182%29%09at+org.mortbay.jetty.handler.ContextHandler.handle%28ContextHandler.java%3A765%29%09at+org.mortbay.jetty.webapp.WebAppContext.handle%28WebAppContext.java%3A418%29%09at+com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle%28AppVersionHandlerMap.java%3A260%29%09at+org.mortbay.jetty.handler.HandlerWrapper.handle%28HandlerWrapper.java%3A152%29%09at+org.mortbay.jetty.Server.handle%28Server.java%3A326%29%09at+org.mortbay.jetty.HttpConnection.handleRequest%28HttpConnection.java%3A542%29%09at+org.mortbay.jetty.HttpConnection%24RequestHandler.headerComplete%28HttpConnection.java%3A923%29%09at+com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable%28RpcRequestParser.java%3A78%29%09at+org.mortbay.jetty.HttpConnection.handle%28HttpConnection.java%3A404%29%09at+com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest%28JettyServletEngineAdapter.java%3A148%29%09at+com.google.apphosting.runtime.JavaRuntime%24RequestRunnable.run%28JavaRuntime.java%3A504%29%09at+com.google.tracing.TraceContext%24TraceContextRunnable.runInContext%28TraceContext.java%3A446%29%09at+com.google.tracing.TraceContext%24TraceContextRunnable%241.run%28TraceContext.java%3A453%29%09at+com.google.tracing.CurrentContext.runInContext%28CurrentContext.java%3A276%29%09at+com.google.tracing.TraceContext%24AbstractTraceContextCallback.runInInheritedContextNoUnref%28TraceContext.java%3A312%29%09at+com.google.tracing.TraceContext%24AbstractTraceContextCallback.runInInheritedContext%28TraceContext.java%3A304%29%09at+com.google.tracing.TraceContext%24TraceContextRunnable.run%28TraceContext.java%3A450%29%09at+com.google.apphosting.runtime.ThreadGroupPool%24PoolEntry.run%28ThreadGroupPool.java%3A235%29%09at+java.lang.Thread.run%28Thread.java%3A745%29&instructorinstitution=TEAMMATES+Test+Institute+1> but was:<Instructor AHPUiT Instrúctör has been successfully created with join link: https://teammatesv4.appspot.com/page/instructorCourseJoin?key=8DFB869586127CAAD2437093B7618C9BBABC12BA67285F585424365A64D79884788A2CC27847D28754A974C2578353AEBAE4F374B719F843E7989E7A5BDDA1B5&instructorinstitution=TEAMMATES+Test+Institute+1>
  2. 0

    AdminHomePageUiTest is failing on live server

    GitHub | 5 months ago | damithc
    java.lang.AssertionError: expected:<Instructor AHPUiT Instrúctör has been successfully created with join link: https://teammatesv4.appspot.com/page/instructorCourseJoin?key=dsdsdsds127CAAD2437093B7618C9BBABC12BA67285F585424365A64D7988430BB14C548C6038E135B1734B0BCF7BD236D8F7D77464C5C3718E062531EA7FD&instructorinstitution=TEAMMATES+Test+Institute+1> but was:<Instructor AHPUiT Instrúctör has been successfully created with join link: https://teammatesv4.appspot.com/page/instructorCourseJoin?key=fdfsdfdfsdfsd437093B7618C9BBABC12BA67285F585424365A64D79884BEBBF31301DA5DA6B0F4D5676C9875B059EACECD374619CCEDED2A50DC673D51&instructorinstitution=TEAMMATES+Test+Institute+1>
  3. 0

    Add unit test for StudentEvalSubmissionEditSaveActionTest.java

    GitHub | 3 years ago | damithc
    java.lang.AssertionError: expected:<The evaluation has finished but the results have not been made available to the students> but was:<This evalutions is not currently open for editing>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Test cases fail due to accented characters

    GitHub | 3 years ago | damithc
    java.lang.AssertionError: expected:<Charlie Dávis> but was:<Charlie Dávis>
  6. 0

    Why is TestNG running these test classes multiple times?

    Stack Overflow | 3 years ago | Dancrumb
    java.lang.AssertionError: expected:&lt;1.0&gt; but was:&lt;null&gt;

    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. java.lang.AssertionError

      expected:<Instructor AHPUiT Instrúctör has been successfully created with join link: https://teammatesv4.appspot.com/page/instructorCourseJoin?key=%5BBACKDOOR_STATUS_FAILURE%5Dteammates.common.exception.EntityDoesNotExistException%3A+Instructor+AHPUiT.instr1%40gmail.tmt+does+not+belong+to+course+AHPUiT.instr1.gma-demo%09at+teammates.logic.core.InstructorsLogic.verifyIsEmailOfInstructorOfCourse%28InstructorsLogic.java%3A176%29%09at+teammates.logic.core.InstructorsLogic.getEncryptedKeyForInstructor%28InstructorsLogic.java%3A126%29%09at+teammates.logic.api.Logic.getEncryptedKeyForInstructor%28Logic.java%3A447%29%09at+teammates.logic.backdoor.BackDoorServlet.executeBackendAction%28BackDoorServlet.java%3A184%29%09at+teammates.logic.backdoor.BackDoorServlet.doPost%28BackDoorServlet.java%3A119%29%09at+javax.servlet.http.HttpServlet.service%28HttpServlet.java%3A637%29%09at+javax.servlet.http.HttpServlet.service%28HttpServlet.java%3A717%29%09at+org.mortbay.jetty.servlet.ServletHolder.handle%28ServletHolder.java%3A511%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1166%29%09at+teammates.storage.datastore.DatastoreFilter.doFilter%28DatastoreFilter.java%3A29%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1157%29%09at+com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter%28ParseBlobUploadFilter.java%3A125%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1157%29%09at+com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter%28SaveSessionFilter.java%3A37%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1157%29%09at+com.google.apphosting.utils.servlet.JdbcMySqlConnectionCleanupFilter.doFilter%28JdbcMySqlConnectionCleanupFilter.java%3A60%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1157%29%09at+com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter%28TransactionCleanupFilter.java%3A50%29%09at+org.mortbay.jetty.servlet.ServletHandler%24CachedChain.doFilter%28ServletHandler.java%3A1157%29%09at+org.mortbay.jetty.servlet.ServletHandler.handle%28ServletHandler.java%3A388%29%09at+org.mortbay.jetty.security.SecurityHandler.handle%28SecurityHandler.java%3A216%29%09at+org.mortbay.jetty.servlet.SessionHandler.handle%28SessionHandler.java%3A182%29%09at+org.mortbay.jetty.handler.ContextHandler.handle%28ContextHandler.java%3A765%29%09at+org.mortbay.jetty.webapp.WebAppContext.handle%28WebAppContext.java%3A418%29%09at+com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle%28AppVersionHandlerMap.java%3A260%29%09at+org.mortbay.jetty.handler.HandlerWrapper.handle%28HandlerWrapper.java%3A152%29%09at+org.mortbay.jetty.Server.handle%28Server.java%3A326%29%09at+org.mortbay.jetty.HttpConnection.handleRequest%28HttpConnection.java%3A542%29%09at+org.mortbay.jetty.HttpConnection%24RequestHandler.headerComplete%28HttpConnection.java%3A923%29%09at+com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable%28RpcRequestParser.java%3A78%29%09at+org.mortbay.jetty.HttpConnection.handle%28HttpConnection.java%3A404%29%09at+com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest%28JettyServletEngineAdapter.java%3A148%29%09at+com.google.apphosting.runtime.JavaRuntime%24RequestRunnable.run%28JavaRuntime.java%3A504%29%09at+com.google.tracing.TraceContext%24TraceContextRunnable.runInContext%28TraceContext.java%3A446%29%09at+com.google.tracing.TraceContext%24TraceContextRunnable%241.run%28TraceContext.java%3A453%29%09at+com.google.tracing.CurrentContext.runInContext%28CurrentContext.java%3A276%29%09at+com.google.tracing.TraceContext%24AbstractTraceContextCallback.runInInheritedContextNoUnref%28TraceContext.java%3A312%29%09at+com.google.tracing.TraceContext%24AbstractTraceContextCallback.runInInheritedContext%28TraceContext.java%3A304%29%09at+com.google.tracing.TraceContext%24TraceContextRunnable.run%28TraceContext.java%3A450%29%09at+com.google.apphosting.runtime.ThreadGroupPool%24PoolEntry.run%28ThreadGroupPool.java%3A235%29%09at+java.lang.Thread.run%28Thread.java%3A745%29&instructorinstitution=TEAMMATES+Test+Institute+1> but was:<Instructor AHPUiT Instrúctör has been successfully created with join link: https://teammatesv4.appspot.com/page/instructorCourseJoin?key=8DFB869586127CAAD2437093B7618C9BBABC12BA67285F585424365A64D79884788A2CC27847D28754A974C2578353AEBAE4F374B719F843E7989E7A5BDDA1B5&instructorinstitution=TEAMMATES+Test+Institute+1>

      at org.testng.AssertJUnit.assertEquals()
    2. TestNG
      AssertJUnit.assertEquals
      1. org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)
      2. org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
      2 frames
    3. teammates.test.cases
      AdminHomePageUiTest.testAll
      1. teammates.test.cases.BaseTestCase.assertEquals(BaseTestCase.java:172)
      2. teammates.test.cases.ui.browsertests.AdminHomePageUiTest.testCreateInstructorAction(AdminHomePageUiTest.java:122)
      3. teammates.test.cases.ui.browsertests.AdminHomePageUiTest.testAll(AdminHomePageUiTest.java:60)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. TestNG
      RemoteTestNG.main
      1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
      2. org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
      3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
      4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
      5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
      6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
      7. org.testng.TestRunner.privateRun(TestRunner.java:767)
      8. org.testng.TestRunner.run(TestRunner.java:617)
      9. org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
      10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
      11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
      12. org.testng.SuiteRunner.run(SuiteRunner.java:240)
      13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
      16. org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
      17. org.testng.TestNG.run(TestNG.java:1057)
      18. org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:115)
      19. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:207)
      20. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:178)
      20 frames