IllegalStateException: Committed

426 views
Skip to first unread message

most...@gmail.com

unread,
Jul 17, 2017, 5:08:18 AM7/17/17
to us...@opencast.org

While making test to publish videos without TAGS, due to detected issue with player, I got:


2017-07-17 11:04:24,195 | WARN  | (ServletHandler:628) - /static/mh_default_org/engage-player/d9fc9b35-34e2-4981-be06-06100979215b/973effb3-5682-42be-960f-6e5bbf14827b/ponente.mp4
java.lang.IllegalStateException: Committed
    at org.eclipse.jetty.server.Response.resetBuffer(Response.java:1242)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.Response.sendError(Response.java:567)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.Response.sendError(Response.java:544)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:167)[29:javax.servlet-api:3.1.0]
    at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:167)[29:javax.servlet-api:3.1.0]
    at org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper.sendError(SaveContextOnUpdateOrErrorResponseWrapper.java:54)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.opencastproject.fsresources.StaticResourceServlet.doGet(StaticResourceServlet.java:189)[140:matterhorn-static:3.0.0]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)[29:javax.servlet-api:3.1.0]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[29:javax.servlet-api:3.1.0]
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.kernel.rest.JsonpFilter.doFilter(JsonpFilter.java:113)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.security.urlsigning.filter.UrlSigningFilter.doFilter(UrlSigningFilter.java:85)[153:matterhorn-urlsigning-verifier-service-impl:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.kernel.filter.proxy.TransparentProxyFilter.doFilter(TransparentProxyFilter.java:63)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.kernel.security.RemoteUserAndOrganizationFilter.doFilter(RemoteUserAndOrganizationFilter.java:247)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.kernel.rest.CurrentJobFilter.doFilter(CurrentJobFilter.java:87)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.opencastproject.kernel.security.AsyncTimeoutRedirectFilter.doFilter(AsyncTimeoutRedirectFilter.java:60)[99:matterhorn-kernel:3.0.0]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.oauth.provider.OAuthProviderProcessingFilter.doFilter(OAuthProviderProcessingFilter.java:173)[99:matterhorn-kernel:3.0.0]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:98)[332:org.springframework.web:3.1.4.RELEASE]
    at org.springframework.security.oauth.provider.OAuthProviderProcessingFilter.doFilter(OAuthProviderProcessingFilter.java:173)[99:matterhorn-kernel:3.0.0]
    at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:102)[332:org.springframework.web:3.1.4.RELEASE]
    at org.springframework.security.web.authentication.www.DigestAuthenticationFilter.doFilter(DigestAuthenticationFilter.java:115)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:102)[332:org.springframework.web:3.1.4.RELEASE]
    at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:82)[332:org.springframework.web:3.1.4.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:91)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.opencastproject.kernel.security.SecurityFilter.doFilter(SecurityFilter.java:124)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.kernel.security.OrganizationFilter.doFilter(OrganizationFilter.java:135)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.kernel.filter.https.HttpsFilter.doFilter(HttpsFilter.java:64)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.kernel.rest.CleanSessionsFilter.doFilter(CleanSessionsFilter.java:89)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)[311:org.ops4j.pax.web.pax-web-jetty:4.3.0]
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[287:org.eclipse.jetty.security:9.2.19.v20160908]
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)[311:org.ops4j.pax.web.pax-web-jetty:4.3.0]
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)[311:org.ops4j.pax.web.pax-web-jetty:4.3.0]
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.Server.handle(Server.java:499)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[280:org.eclipse.jetty.io:9.2.19.v20160908]
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[291:org.eclipse.jetty.util:9.2.19.v20160908]
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[291:org.eclipse.jetty.util:9.2.19.v20160908]
    at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]
2017-07-17 11:04:24,199 | WARN  | (HttpChannel:396) - /static/mh_default_org/engage-player/d9fc9b35-34e2-4981-be06-06100979215b/973effb3-5682-42be-960f-6e5bbf14827b/ponente.mp4
java.lang.IllegalStateException: Committed
    at org.eclipse.jetty.server.Response.resetBuffer(Response.java:1242)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.Response.sendError(Response.java:567)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.Response.sendError(Response.java:544)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:167)[29:javax.servlet-api:3.1.0]
    at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:167)[29:javax.servlet-api:3.1.0]
    at org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper.sendError(SaveContextOnUpdateOrErrorResponseWrapper.java:54)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.opencastproject.fsresources.StaticResourceServlet.doGet(StaticResourceServlet.java:189)[140:matterhorn-static:3.0.0]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)[29:javax.servlet-api:3.1.0]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[29:javax.servlet-api:3.1.0]
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.kernel.rest.JsonpFilter.doFilter(JsonpFilter.java:113)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.security.urlsigning.filter.UrlSigningFilter.doFilter(UrlSigningFilter.java:85)[153:matterhorn-urlsigning-verifier-service-impl:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.kernel.filter.proxy.TransparentProxyFilter.doFilter(TransparentProxyFilter.java:63)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.kernel.security.RemoteUserAndOrganizationFilter.doFilter(RemoteUserAndOrganizationFilter.java:247)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.kernel.rest.CurrentJobFilter.doFilter(CurrentJobFilter.java:87)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.opencastproject.kernel.security.AsyncTimeoutRedirectFilter.doFilter(AsyncTimeoutRedirectFilter.java:60)[99:matterhorn-kernel:3.0.0]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.oauth.provider.OAuthProviderProcessingFilter.doFilter(OAuthProviderProcessingFilter.java:173)[99:matterhorn-kernel:3.0.0]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:98)[332:org.springframework.web:3.1.4.RELEASE]
    at org.springframework.security.oauth.provider.OAuthProviderProcessingFilter.doFilter(OAuthProviderProcessingFilter.java:173)[99:matterhorn-kernel:3.0.0]
    at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:102)[332:org.springframework.web:3.1.4.RELEASE]
    at org.springframework.security.web.authentication.www.DigestAuthenticationFilter.doFilter(DigestAuthenticationFilter.java:115)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:102)[332:org.springframework.web:3.1.4.RELEASE]
    at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:82)[332:org.springframework.web:3.1.4.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:91)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)[330:org.springframework.security.web:3.1.0.RELEASE]
    at org.opencastproject.kernel.security.SecurityFilter.doFilter(SecurityFilter.java:124)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.kernel.security.OrganizationFilter.doFilter(OrganizationFilter.java:135)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.kernel.filter.https.HttpsFilter.doFilter(HttpsFilter.java:64)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.opencastproject.kernel.rest.CleanSessionsFilter.doFilter(CleanSessionsFilter.java:89)[99:matterhorn-kernel:3.0.0]
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)[311:org.ops4j.pax.web.pax-web-jetty:4.3.0]
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[287:org.eclipse.jetty.security:9.2.19.v20160908]
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)[311:org.ops4j.pax.web.pax-web-jetty:4.3.0]
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[289:org.eclipse.jetty.servlet:9.2.19.v20160908]
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)[311:org.ops4j.pax.web.pax-web-jetty:4.3.0]
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.Server.handle(Server.java:499)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[288:org.eclipse.jetty.server:9.2.19.v20160908]
    at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[280:org.eclipse.jetty.io:9.2.19.v20160908]
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[291:org.eclipse.jetty.util:9.2.19.v20160908]
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[291:org.eclipse.jetty.util:9.2.19.v20160908]
    at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]
2017-07-17 11:04:24,200 | WARN  | (HttpChannel:482) - Could not send response error 500: java.lang.IllegalStateException: Committed


The same way thumbails must have the search+preview flavor...do videos need an special flavor in order to be played by engage?

Is that documented somewhere?


Regards

Greg Logan

unread,
Jul 17, 2017, 9:02:37 PM7/17/17
to Opencast Users
Hi Mostolog,

There are (potentially) two issues here: the stack traces, and an issue with the player.

First, the stack traces: these are (very unfortunately) normal.  They indicate that the connection with the client was unexpectedly severed and aren't the result of something we're doing deliberately.  Typically they show up when a user is watching a video and closes the tab prior to the video downloading completely.  They can be silenced with logging configuration if they're bugging you.

Second, the engage issue.  Historically videos have been presenter/delivery and presentation/delivery, but that's not technically required - it's going to depend on which engage players you use and what they're looking for.  This is also, in part, why it's not documented :)

G

--
You received this message because you are subscribed to the Google Groups "Opencast Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@opencast.org.

most...@gmail.com

unread,
Jul 18, 2017, 6:50:51 AM7/18/17
to us...@opencast.org



On 18/07/17 03:02, Greg Logan wrote:
Hi Mostolog,

There are (potentially) two issues here: the stack traces, and an issue with the player.

First, the stack traces: these are (very unfortunately) normal.  They indicate that the connection with the client was unexpectedly severed and aren't the result of something we're doing deliberately.  Typically they show up when a user is watching a video and closes the tab prior to the video downloading completely.  They can be silenced with logging configuration if they're bugging you.
If it is safe to ignore those messages, what would be the classes to silence?



Second, the engage issue.  Historically videos have been presenter/delivery and presentation/delivery, but that's not technically required - it's going to depend on which engage players you use and what they're looking for.  This is also, in part, why it's not documented :)
My workflow works again after switching to */delivery. I would have save me a lot of time if this were documented...I'm going to PR on engage playear doc at least.

most...@gmail.com

unread,
Jul 19, 2017, 4:47:03 AM7/19/17
to us...@opencast.org

What classes/packages do I have to specify in org.ops4j.pax.logging.cfg in order to silence this errors?

It is safe to silence them or i'll be hiding other potential issues? If so...Is there any way to silence those methods only?

kdolan

unread,
Jul 19, 2017, 8:27:22 AM7/19/17
to us...@opencast.org
Hi Mostolog & Greg,

This is similar/identical to MH-12197. I believe the following code change in the AuthenticationSuccessHandler can mitigate the additional "IllegalStateException: Committed" error stack dumps.

Replace all "HttpSession session = request.getSession();"

With:
"HttpSession session = request.getSession(false);
if (session) {

else {
log DEBUG ("The session has already closed, not applying filter XYZ");
}
"

Ref https://opencast.jira.com/browse/MH-12197

I’ll make a ticket & work on the pull.

- Karen

kdolan

unread,
Jul 19, 2017, 8:35:26 AM7/19/17
to us...@opencast.org
> in the AuthenticationSuccessHandler
And elsewhere.

> With something like
> "HttpSession session = request.getSession(false);
> if (session) {
> …
> } else {
> log DEBUG ("The session has already closed, not applying filter XYZ");
> } ...

- Karen

Greg Logan

unread,
Jul 19, 2017, 10:11:50 PM7/19/17
to Opencast Users
Thanks Karen!

G

most...@gmail.com

unread,
Jul 20, 2017, 3:13:17 AM7/20/17
to us...@opencast.org

Greg, would you please update the source to fix this...I could try, but I'm sure it will take me longer to do it...and even more to do it right :P

Karen Dolan

unread,
Jul 20, 2017, 6:58:33 AM7/20/17
to us...@opencast.org
Greg and Mostolog,

When I took a closer look at the path of Mostolog's stack trace, the issue was not at getSession(). It was a similar issue, but at the point where the code tries to change a response header to a 500 after starting a response (static file data copy uses a 200).

I made a pull to add warning logs at the point where the static copy went wrong for Mostolog and catch and shorten the stack trace to the core message at the point where the response change was requested.

Lars is reviewing.

The other getSession() in the code might  cause issues, but not for this specific case.

- Karen

most...@gmail.com

unread,
Jul 24, 2017, 10:11:25 AM7/24/17
to us...@opencast.org

This is what is shown now:


2017-07-24 16:08:21,869 | INFO  | (StaticResourceServlet:431) - The user probably closed the client side after the file started copying. null
2017-07-24 16:08:21,872 | WARN  | (Response:565) - Committed before 500 null
2017-07-24 16:08:21,872 | INFO  | (StaticResourceServlet:199) - unable to send http 500 error. Client side was probably closed during file copy. java.lang.IllegalStateException: Committed
2017-07-24 16:08:22,026 | INFO  | (StaticResourceServlet:431) - The user probably closed the client side after the file started copying. null
2017-07-24 16:08:22,026 | WARN  | (Response:565) - Committed before 500 null
2017-07-24 16:08:22,027 | INFO  | (StaticResourceServlet:199) - unable to send http 500 error. Client side was probably closed during file copy. java.lang.IllegalStateException: Committed
2017-07-24 16:08:22,064 | INFO  | (StaticResourceServlet:431) - The user probably closed the client side after the file started copying. null
2017-07-24 16:08:22,065 | WARN  | (Response:565) - Committed before 500 null
2017-07-24 16:08:22,065 | INFO  | (StaticResourceServlet:199) - unable to send http 500 error. Client side was probably closed during file copy. java.lang.IllegalStateException: Committed
2017-07-24 16:08:22,094 | INFO  | (StaticResourceServlet:431) - The user probably closed the client side after the file started copying. null
2017-07-24 16:08:22,095 | WARN  | (Response:565) - Committed before 500 null
2017-07-24 16:08:22,095 | INFO  | (StaticResourceServlet:199) - unable to send http 500 error. Client side was probably closed during file copy. java.lang.IllegalStateException: Committed


is it useful?

kdolan

unread,
Jul 24, 2017, 10:33:21 AM7/24/17
to us...@opencast.org
Hi Mostolog,


> On Jul 24, 2017, at 10:11 AM, most...@gmail.com wrote:
>
> This is what is shown now:
>
>
> 2017-07-24 16:08:21,869 | INFO | (StaticResourceServlet:431) - The user probably closed the client side after the file started copying. null
> 2017-07-24 16:08:21,872 | WARN | (Response:565) - Committed before 500 null
> 2017-07-24 16:08:21,872 | INFO | (StaticResourceServlet:199) - unable to send http 500 error. Client side was probably closed during file copy. java.lang.IllegalStateException: Committed
> 2017-07-24 16:08:22,026 | INFO | (StaticResourceServlet:431) - The user probably closed the client side after the file started copying. null
> 2017-07-24 16:08:22,026 | WARN | (Response:565) - Committed before 500 null
> 2017-07-24 16:08:22,027 | INFO | (StaticResourceServlet:199) - unable to send http 500 error. Client side was probably closed during file copy. java.lang.IllegalStateException: Committed
> 2017-07-24 16:08:22,064 | INFO | (StaticResourceServlet:431) - The user probably closed the client side after the file started copying. null
> 2017-07-24 16:08:22,065 | WARN | (Response:565) - Committed before 500 null
> 2017-07-24 16:08:22,065 | INFO | (StaticResourceServlet:199) - unable to send http 500 error. Client side was probably closed during file copy. java.lang.IllegalStateException: Committed
> 2017-07-24 16:08:22,094 | INFO | (StaticResourceServlet:431) - The user probably closed the client side after the file started copying. null
> 2017-07-24 16:08:22,095 | WARN | (Response:565) - Committed before 500 null
> 2017-07-24 16:08:22,095 | INFO | (StaticResourceServlet:199) - unable to send http 500 error. Client side was probably closed during file copy. java.lang.IllegalStateException: Committed
>
> is it useful?

Yes. Can you describe exactly what is going on at this point in time with the engage media module and the engage player.
Is either of those items open in a browser? Was the browser closed or refreshed at the point of these logs?

- Karen

most...@gmail.com

unread,
Jul 24, 2017, 10:34:13 AM7/24/17
to us...@opencast.org
yes (browser tab)

kdolan

unread,
Jul 24, 2017, 10:47:15 AM7/24/17
to us...@opencast.org
Hi Mostolog,

> On Jul 24, 2017, at 10:34 AM, most...@gmail.com wrote:
> On 24/07/17 16:33, kdolan wrote:
>> Hi Mostolog,
>>
Ok, you convinced me that the IllegalStateException server side errors are the result of the server making an futile complaint when a client refuses to accept the response to its request.
The log level should be trace. I’ll make a pull.

- Karen




Dietmar Zenker

unread,
Jul 25, 2017, 6:54:44 AM7/25/17
to Opencast Users, kdo...@dce.harvard.edu

Hi,

I guess this is the same issue with 2.3.2 I had reported weeks ago, right?

Greets,
Dietmar

kdolan

unread,
Jul 25, 2017, 8:11:37 AM7/25/17
to us...@opencast.org
Hi Dietmar,

> I guess this is the same issue with 2.3.2 I had reported weeks ago, right?

Ah, yes.
The WARN “(Response:315) - Committed before 500 null” will still be in the logs after a client disconnect, because it’s the same confusing log strategy buried in an underlying library.

- Karen
Reply all
Reply to author
Forward
0 new messages