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>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by damithc
, 1 year ago
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
via GitHub by damithc
, 1 year ago
expected:<Instructor AHPUiT Instrúctör has been successfully created with join link: https://teammatesv4.appspot.com/page/instructorCourseJoin?key
via GitHub by damithc
, 7 months ago
expected:<CCSDetailsUiT.alice.tmms@gmail.tmt benny.c.tmms@gmail.tmt hugh.i.tmms@gmail.tmt ivan.j.tmms@gmail.tmt jack.k.tmms@gmail.tmt CCSDetailsUiT.charlie.tmms@gmail.tmt denny.c.tmms@gmail.tmt> but was:<CCSDetailsUiT.alice.tmms@gmail.tmt
via GitHub by damithc
, 1 year ago
expected:<Charlie Dávis> but was:<Charlie Dávis>
via Stack Overflow by Dancrumb
, 2 years ago
expected:&lt;1.0&gt; but was:&lt;null&gt;
via GitHub by ashrayjain
, 1 year ago
expected:<http://localhost:8888/page/studentProfilePic?studentemail=F702AF37C82846594241AA61DA9E8121513646F6B96E433CF5475D7A0DDC960D8A760297A033C316073F728DF8BAE432&courseid=C179779D673504E85F7ADD572ED9CD4D&user=instructorWith2Courses> but was:<http://localhost:8888/images/profile_picture_default.png>
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(AssertJUnit.java:101)
at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
at teammates.test.cases.BaseTestCase.assertEquals(BaseTestCase.java:172)
at teammates.test.cases.ui.browsertests.AdminHomePageUiTest.testCreateInstructorAction(AdminHomePageUiTest.java:122)
at teammates.test.cases.ui.browsertests.AdminHomePageUiTest.testAll(AdminHomePageUiTest.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:115)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:207)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:178)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.