Plugin: Web Interface for headless UMS

Discuss third party additions, plugins and translations for Universal Media Server
cptgunther
Posts: 9
Joined: Sun Jan 31, 2016 2:34 am

Re: Plugin: Web Interface for headless UMS

Post by cptgunther » Mon Feb 01, 2016 7:43 am

Getting Java errors with latest version of this plugin and UMS 5.5.0/6.0.0. Still able to save configs, but would like to know why the errors are coming up

Code: Select all

ERROR 15:00:13.620 [nioEventLoopGroup-3-3] java.lang.ClassCastException: java.util.Collections$SynchronizedRandomAccessList cannot be cast to java.util.ArrayList
com.corundumstudio.socketio.handler.SocketIOException: java.lang.ClassCastException: java.util.Collections$SynchronizedRandomAccessList cannot be cast to java.util.ArrayList
	at com.corundumstudio.socketio.annotation.OnEventScanner$2.onData(OnEventScanner.java:104) ~[ums-web-interface-2.0.0-a3.jar:na]
	at com.corundumstudio.socketio.namespace.Namespace.onEvent(Namespace.java:134) ~[ums-web-interface-2.0.0-a3.jar:na]
	at com.corundumstudio.socketio.handler.PacketListener.onPacket(PacketListener.java:103) [ums-web-interface-2.0.0-a3.jar:na]
	at com.corundumstudio.socketio.handler.InPacketHandler.channelRead0(InPacketHandler.java:92) [ums-web-interface-2.0.0-a3.jar:na]
	at com.corundumstudio.socketio.handler.InPacketHandler.channelRead0(InPacketHandler.java:36) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:108) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:187) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846) [ums-web-interface-2.0.0-a3.jar:na]
	at com.corundumstudio.socketio.transport.WebSocketTransport.channelRead(WebSocketTransport.java:94) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at com.corundumstudio.socketio.transport.PollingTransport.channelRead(PollingTransport.java:109) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at com.corundumstudio.socketio.handler.AuthorizeHandler.channelRead(AuthorizeHandler.java:115) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:108) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:108) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:182) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [ums-web-interface-2.0.0-a3.jar:na]
	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [ums-web-interface-2.0.0-a3.jar:na]
	at java.lang.Thread.run(Unknown Source) [na:1.7.0_80]
Caused by: java.lang.ClassCastException: java.util.Collections$SynchronizedRandomAccessList cannot be cast to java.util.ArrayList
	at org.qantic.umsplugin.services.Services.onGetPrototypeHandler(Services.java:67) ~[ums-web-interface-2.0.0-a3.jar:na]
	at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) ~[na:na]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_80]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_80]
	at com.corundumstudio.socketio.annotation.OnEventScanner$2.onData(OnEventScanner.java:102) ~[ums-web-interface-2.0.0-a3.jar:na]
	... 44 common frames omitted

omgfrost
Posts: 4
Joined: Tue May 10, 2016 9:13 am

Re: Plugin: Web Interface for headless UMS

Post by omgfrost » Sat May 14, 2016 8:40 am

Hello,
i've been testing this since 5 days and can you help me with this issue addressed in this topic viewtopic.php?f=9&t=7889 ?
Any help will be much appreciated, i'm really struggling with that javaw.exe not closing
Thanks!

User avatar
valib
Developer
Posts: 630
Joined: Fri Feb 08, 2013 3:11 am

Re: Plugin: Web Interface for headless UMS

Post by valib » Sat May 14, 2016 9:04 am

Please follow the instruction at viewtopic.php?f=9&t=556. The information you provided are not sufficient.

Post Reply