Stream Target REST API - NullPointerException

With the latest update 4.5.0.03 when I create stream targets using Wowza REST API, I get the following:

[HTML]java.lang.NullPointerException

at+com.wowza.wms.webapp.application.streamtargets.StreamTargetModel.setUIData(StreamTargetModel.java:1419)

at+com.wowza.wms.webapp.application.streamtargets.StreamTargetsModel.setUIData(StreamTargetsModel.java:124)

at+com.wowza.wms.webapp.application.streamtargets.StreamTargetsModel.loadUIData(StreamTargetsModel.java:111)

at+com.wowza.wms.webapp.application.streamtargets.StreamTargetsController.getStreamTargets(StreamTargetsController.java:578)

at+com.wowza.wms.webapp.application.streamtargets.StreamTargetsController.showStreamTargets(StreamTargetsController.java:159)

at+sun.reflect.GeneratedMethodAccessor239.invoke(Unknown+Source)

at+sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at+java.lang.reflect.Method.invoke(Method.java:498)

at+org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)

at+org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)

at+org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

at+org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)

at+org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)

at+org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)

at+org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)

at+org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)

at+org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)

at+org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)

at+javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

at+org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)

at+javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at+net.winstone.core.ServletConfiguration.execute(ServletConfiguration.java:270)

at+net.winstone.core.SimpleRequestDispatcher.forward(SimpleRequestDispatcher.java:290)

at+net.winstone.core.SimpleRequestDispatcher.doFilter(SimpleRequestDispatcher.java:332)

at+com.wowza.wms.webapp.RequestLoggingFilter.doFilter(RequestLoggingFilter.java:35)

at+net.winstone.core.FilterConfiguration.execute(FilterConfiguration.java:189)

at+net.winstone.core.SimpleRequestDispatcher.doFilter(SimpleRequestDispatcher.java:321)

at+org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

at+org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)

at+org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)

at+org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at+org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)

at+org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at+org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)

at+org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at+org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)

at+org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at+org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)

at+org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at+org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)

at+org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at+org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)

at+org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at+org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)

at+org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at+org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)

at+org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at+org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)

at+org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

at+org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)

at+org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)

at+org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)

at+org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)

at+net.winstone.core.FilterConfiguration.execute(FilterConfiguration.java:189)

at+net.winstone.core.SimpleRequestDispatcher.doFilter(SimpleRequestDispatcher.java:321)

at+com.wowza.wms.webapp.Utf8Filter.doFilter(Utf8Filter.java:30)

at+net.winstone.core.FilterConfiguration.execute(FilterConfiguration.java:189)

at+net.winstone.core.SimpleRequestDispatcher.doFilter(SimpleRequestDispatcher.java:321)

at+net.winstone.core.SimpleRequestDispatcher.forward(SimpleRequestDispatcher.java:288)

at+net.winstone.core.listener.RequestHandlerThread.processRequest(RequestHandlerThread.java:213)

at+net.winstone.core.listener.RequestHandlerThread.run(RequestHandlerThread.java:144)

at+java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at+java.util.concurrent.FutureTask.run(FutureTask.java:266)

at+net.winstone.util.BoundedExecutorService$1.run(BoundedExecutorService.java:81)

at+java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at+java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at+java.lang.Thread.run(Thread.java:745)[/HTML]

This was working fine in previous version.

Could you help me to clarify what is going on ?

Hello!

Thanks for contacting Wowza Forums!

We would need the log files to see exactly what is going on. You can open a ticket HERE.

Can you provide the following information and this will help me determine where the issue is?

  • Your logs in a .zip file, located here: [install-dir]/logs

  • Your conf folder in a .zip file, located here: [install-dir]/conf

  • Helpful Article on creating a .zip file: HERE

Regards,

Jermaine