Closed damithc closed 10 years ago
From arnold.k...@gmail.com on January 28, 2014 19:04:00
https://codereview.appspot.com/58110043/ The exception is thrown by fsLogic when the session is either private or already published. My guess for why this is encountered is either: 1) The link disabling didn't work properly 2) The link was clicked multiple times, causing the 2nd onwards to get the exception
1) is unlikely as there is an extensive test testing the disabling of the links so it's probably 2). To avoid throwing the exception we can simply catch it and show a message to the user and admin (the exception message is convinienty "Session is already Published."). If it is indeed already published then nothing else needs to be done. If it turns out it hasn't been published and the error istriggered by mistake then hopefully the instructor will contact us about it.
Status: ReadyForReview
From arnold.k...@gmail.com on January 28, 2014 19:04:09
Cc: dam...@gmail.com
From dam...@gmail.com on January 28, 2014 20:19:53
When posting stack traces, remember to remove personal data such as emails and google IDs
Status: ReadyToMerge
From arnold.k...@gmail.com on January 28, 2014 20:35:40
ok, sorry about that
From arnold.k...@gmail.com on January 28, 2014 20:40:07
This issue was updated by revision 8d08d57dc6c0 .
Status: Delivered
From dam...@gmail.com on January 30, 2014 04:42:14
Status: Deployed
Labels: Milestone-V4.84
From arnold.k...@gmail.com on February 26, 2014 01:58:36
This issue was updated by revision 8d08d57dc6c0 .
Status: Delivered
From dam...@gmail.com on February 26, 2014 02:50:58
Status: Deployed
From arnold.k...@gmail.com on January 29, 2014 10:57:11
Error Message
InvalidParametersException not expected at this point
Request Path /page Request Parameters {next::/page/instructorFeedbacksPage?user=laurenriva%40stmarksschool.org, user::laurenriva@stmarksschool.org, courseid::AlgebraII.Brown.1314, fsname::Unit 4} Stack Trace
java.lang.AssertionError: InvalidParametersException not expected at this point at teammates.common.util.Assumption.fail(Assumption.java:56) at teammates.ui.controller.InstructorFeedbackPublishAction.execute(InstructorFeedbackPublishAction.java:25) at teammates.ui.controller.Action.executeAndPostProcess(Action.java:125) at teammates.ui.controller.ControllerServlet.doPost(ControllerServlet.java:48) at teammates.ui.controller.ControllerServlet.doGet(ControllerServlet.java:34) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166) at teammates.ui.controller.LoginFilter.doFilter(LoginFilter.java:46) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at teammates.storage.datastore.DatastoreFilter.doFilter(DatastoreFilter.java:28) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.appstats.AppstatsFilter.doFilter(AppstatsFilter.java:141) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:125) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:35) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.JdbcMySqlConnectionCleanupFilter.doFilter(JdbcMySqlConnectionCleanupFilter.java:60) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:266) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923) at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:76) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:146) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:446) at com.google.tracing.TraceContext$TraceContextRunnable.runInContext(TraceContext.java:437) at com.google.tracing.TraceContext$TraceContextRunnable$1.run(TraceContext.java:444) at com.google.tracing.CurrentContext.runInContext(CurrentContext.java:188) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContextNoUnref(TraceContext.java:308) at com.google.tracing.TraceContext$AbstractTraceContextCallback.runInInheritedContext(TraceContext.java:300) at com.google.tracing.TraceContext$TraceContextRunnable.run(TraceContext.java:441) at com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:251) at java.lang.Thread.run(Thread.java:724)
Original issue: http://code.google.com/p/teammatespes/issues/detail?id=1568