Stacktraces when accessing assets in event details

Steps to reproduce

  • Do to Event details → Assets → Media

  • Playback a video (wait a bit, …)

The following Stack trace will show up:

```

2017-10-23 12:02:19,578 | ERROR | (JAXRSUtils:1814) - Problem with writing the data, class java.io.FileInputStream, ContentType: video/mp4
2017-10-23 12:02:19,579 | WARN | (LogUtils:478) - Interceptor for {http://userdirectory.kernel.opencastproject.org/}RoleEndpoint has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.handleWriteException(JAXRSOutInterceptor.java:395)[220:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.12]
at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.serializeMessage(JAXRSOutInterceptor.java:270)[220:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.12]
at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.processResponse(JAXRSOutInterceptor.java:120)[220:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.12]
at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.handleMessage(JAXRSOutInterceptor.java:83)[220:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.12]
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)[219:org.apache.cxf.cxf-core:3.1.12]
at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:83)[219:org.apache.cxf.cxf-core:3.1.12]
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)[219:org.apache.cxf.cxf-core:3.1.12]
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[219:org.apache.cxf.cxf-core:3.1.12]
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:263)[227:org.apache.cxf.cxf-rt-transports-http:3.1.12]
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)[227:org.apache.cxf.cxf-rt-transports-http:3.1.12]
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)[227:org.apache.cxf.cxf-rt-transports-http:3.1.12]
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)[227:org.apache.cxf.cxf-rt-transports-http:3.1.12]
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:189)[227:org.apache.cxf.cxf-rt-transports-http:3.1.12]
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:299)[227:org.apache.cxf.cxf-rt-transports-http:3.1.12]
at org.opencastproject.kernel.rest.RestPublisher$RestServlet.handleRequest(RestPublisher.java:535)[106:matterhorn-kernel:4.0.0.SNAPSHOT]
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:223)[227:org.apache.cxf.cxf-rt-transports-http:3.1.12]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)[33:javax.servlet-api:3.1.0]
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:274)[227:org.apache.cxf.cxf-rt-transports-http:3.1.12]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)[296:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[296:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.opencastproject.kernel.rest.JsonpFilter.doFilter(JsonpFilter.java:113)[106:matterhorn-kernel:4.0.0.SNAPSHOT]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[296:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.opencastproject.security.urlsigning.filter.UrlSigningFilter.doFilter(UrlSigningFilter.java:85)[168:matterhorn-urlsigning-verifier-service-impl:4.0.0.SNAPSHOT]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[296:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.opencastproject.kernel.filter.proxy.TransparentProxyFilter.doFilter(TransparentProxyFilter.java:63)[106:matterhorn-kernel:4.0.0.SNAPSHOT]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[296:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.opencastproject.kernel.security.RemoteUserAndOrganizationFilter.doFilter(RemoteUserAndOrganizationFilter.java:247)[106:matterhorn-kernel:4.0.0.SNAPSHOT]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[296:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.opencastproject.kernel.rest.CurrentJobFilter.doFilter(CurrentJobFilter.java:87)[106:matterhorn-kernel:4.0.0.SNAPSHOT]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[296:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.opencastproject.kernel.security.AsyncTimeoutRedirectFilter.doFilter(AsyncTimeoutRedirectFilter.java:60)[106:matterhorn-kernel:4.0.0.SNAPSHOT]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:98)[339:org.springframework.web:3.1.4.RELEASE]
at org.springframework.security.web.authentication.www.DigestAuthenticationFilter.doFilter(DigestAuthenticationFilter.java:115)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.web.filter.CompositeFilter$VirtualFilterChain.doFilter(CompositeFilter.java:102)[339:org.springframework.web:3.1.4.RELEASE]
at org.springframework.web.filter.CompositeFilter.doFilter(CompositeFilter.java:82)[339:org.springframework.web:3.1.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:91)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.opencastproject.kernel.security.SecurityFilter.doFilter(SecurityFilter.java:124)[106:matterhorn-kernel:4.0.0.SNAPSHOT]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[296:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.opencastproject.kernel.security.OrganizationFilter.doFilter(OrganizationFilter.java:135)[106:matterhorn-kernel:4.0.0.SNAPSHOT]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[296:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.opencastproject.kernel.filter.https.HttpsFilter.doFilter(HttpsFilter.java:64)[106:matterhorn-kernel:4.0.0.SNAPSHOT]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[296:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.opencastproject.kernel.rest.CleanSessionsFilter.doFilter(CleanSessionsFilter.java:89)[106:matterhorn-kernel:4.0.0.SNAPSHOT]
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[296:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[296:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71)[318:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)[295:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)[294:org.eclipse.jetty.security:9.2.19.v20160908]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)[295:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)[295:org.eclipse.jetty.server:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:287)[318:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[296:org.eclipse.jetty.servlet:9.2.19.v20160908]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[295:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)[295:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[295:org.eclipse.jetty.server:9.2.19.v20160908]
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)[318:org.ops4j.pax.web.pax-web-jetty:4.3.0]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[295:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.Server.handle(Server.java:499)[295:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)[295:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[295:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)[287:org.eclipse.jetty.io:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[298:org.eclipse.jetty.util:9.2.19.v20160908]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[298:org.eclipse.jetty.util:9.2.19.v20160908]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_144]
Caused by: java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
at org.eclipse.jetty.util.SharedBlockingCallback$Blocker.block(SharedBlockingCallback.java:213)[298:org.eclipse.jetty.util:9.2.19.v20160908]
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:141)[295:org.eclipse.jetty.server:9.2.19.v20160908]
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:378)[295:org.eclipse.jetty.server:9.2.19.v20160908]
at org.springframework.security.web.context.SaveContextOnUpdateOrErrorResponseWrapper$SaveContextServletOutputStream.write(SaveContextOnUpdateOrErrorResponseWrapper.java:435)[337:org.springframework.security.web:3.1.4.RELEASE]
at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:51)[219:org.apache.cxf.cxf-core:3.1.12]
at org.apache.cxf.helpers.IOUtils.copy(IOUtils.java:207)[219:org.apache.cxf.cxf-core:3.1.12]
at org.apache.cxf.helpers.IOUtils.copyAndCloseInput(IOUtils.java:166)[219:org.apache.cxf.cxf-core:3.1.12]
at org.apache.cxf.jaxrs.provider.BinaryDataProvider.copyInputToOutput(BinaryDataProvider.java:184)[220:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.12]
at org.apache.cxf.jaxrs.provider.BinaryDataProvider.writeTo(BinaryDataProvider.java:148)[220:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.12]
at org.apache.cxf.jaxrs.utils.JAXRSUtils.writeMessageBody(JAXRSUtils.java:1390)[220:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.12]
at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.serializeMessage(JAXRSOutInterceptor.java:244)[220:org.apache.cxf.cxf-rt-frontend-jaxrs:3.1.12]
... 89 more
Caused by: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms
at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:161)[287:org.eclipse.jetty.io:9.2.19.v20160908]
at org.eclipse.jetty.io.IdleTimeout$1.run(IdleTimeout.java:50)[287:org.eclipse.jetty.io:9.2.19.v20160908]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_144]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_144]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_144]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_144]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_144]
... 1 more
```

Status

Assignee

Unassigned

Reporter

Lars Kiesow

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

None

Fix versions

Affects versions

4.0

Priority

Major
Configure