Excpetion with PMSEncoder

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
gabriels
Posts: 14
Joined: Sun Dec 07, 2014 6:40 am

Excpetion with PMSEncoder

Post by gabriels »

I added the latest PMSEcoder plugin to the plugins folder and I am getting this error:
Full debug log attached

INFO 2014-12-07 16:34:39.746 [main] PMSEncoder: loading built-in log4j config file: jar:file:/C:/Program%20Files%20(x86)/Universal%20Media%20Server/plugins/pmsencoder-2.0.0.jar!/log4j_default.xml
INFO 2014-12-07 16:34:39.938 [main] Exception in thread "main" java.lang.NoClassDefFoundError: java/util/HashMap$Entry
INFO 2014-12-07 16:34:39.940 [main] at java.lang.Class.getDeclaredMethods0(Native Method)
INFO 2014-12-07 16:34:39.941 [main] at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
INFO 2014-12-07 16:34:39.941 [main] at java.lang.Class.getDeclaredMethods(Unknown Source)
INFO 2014-12-07 16:34:39.942 [main] at org.codehaus.groovy.reflection.CachedClass$3$1.run(CachedClass.java:84)
INFO 2014-12-07 16:34:39.942 [main] at java.security.AccessController.doPrivileged(Native Method)
INFO 2014-12-07 16:34:39.943 [main] at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:81)
INFO 2014-12-07 16:34:39.943 [main] at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:79)
INFO 2014-12-07 16:34:39.943 [main] at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
INFO 2014-12-07 16:34:39.943 [main] at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
INFO 2014-12-07 16:34:39.944 [main] at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:250)
INFO 2014-12-07 16:34:39.944 [main] at groovy.lang.MetaClassImpl.populateMethods(MetaClassImpl.java:343)
INFO 2014-12-07 16:34:39.945 [main] at groovy.lang.MetaClassImpl.fillMethodIndex(MetaClassImpl.java:293)
INFO 2014-12-07 16:34:39.945 [main] at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:3048)
INFO 2014-12-07 16:34:39.945 [main] at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:176)
INFO 2014-12-07 16:34:39.946 [main] at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:192)
INFO 2014-12-07 16:34:39.946 [main] at com.chocolatey.pmsencoder.Stash.$getStaticMetaClass(Stash.groovy)
INFO 2014-12-07 16:34:39.946 [main] at com.chocolatey.pmsencoder.Stash.<init>(Stash.groovy:15)
INFO 2014-12-07 16:34:39.947 [main] at com.chocolatey.pmsencoder.Matcher.<init>(Matcher.groovy:44)
INFO 2014-12-07 16:34:39.947 [main] at com.chocolatey.pmsencoder.Plugin.createMatcher(Plugin.groovy:254)
INFO 2014-12-07 16:34:39.948 [main] at com.chocolatey.pmsencoder.Plugin.<init>(Plugin.groovy:182)
INFO 2014-12-07 16:34:39.948 [main] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
INFO 2014-12-07 16:34:39.948 [main] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
INFO 2014-12-07 16:34:39.949 [main] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
INFO 2014-12-07 16:34:39.949 [main] at java.lang.reflect.Constructor.newInstance(Unknown Source)
INFO 2014-12-07 16:34:39.949 [main] at java.lang.Class.newInstance(Unknown Source)
INFO 2014-12-07 16:34:39.950 [main] at net.pms.external.ExternalFactory.instantiateEarlyListeners(ExternalFactory.java:417)
INFO 2014-12-07 16:34:39.950 [main] at net.pms.external.ExternalFactory.lookup(ExternalFactory.java:397)
INFO 2014-12-07 16:34:39.950 [main] at net.pms.PMS.init(PMS.java:638)
INFO 2014-12-07 16:34:39.951 [main] at net.pms.PMS.createInstance(PMS.java:1035)
INFO 2014-12-07 16:34:39.951 [main] at net.pms.PMS.main(PMS.java:1135)
INFO 2014-12-07 16:34:39.952 [main] Caused by: java.lang.ClassNotFoundException: java.util.HashMap$Entry
INFO 2014-12-07 16:34:39.952 [main] at java.net.URLClassLoader$1.run(Unknown Source)
INFO 2014-12-07 16:34:39.952 [main] at java.net.URLClassLoader$1.run(Unknown Source)
INFO 2014-12-07 16:34:39.953 [main] at java.security.AccessController.doPrivileged(Native Method)
INFO 2014-12-07 16:34:39.953 [main] at java.net.URLClassLoader.findClass(Unknown Source)
INFO 2014-12-07 16:34:39.953 [main] at java.lang.ClassLoader.loadClass(Unknown Source)
INFO 2014-12-07 16:34:39.954 [main] at java.lang.ClassLoader.loadClass(Unknown Source)
Attachments
ums_dbg.zip
(14.79 KiB) Downloaded 547 times
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: Excpetion with PMSEncoder

Post by SharkHunter »

Most likely you have some permission error that don't let you write the log file. Change permissions.
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
gabriels
Posts: 14
Joined: Sun Dec 07, 2014 6:40 am

Re: Excpetion with PMSEncoder

Post by gabriels »

SharkHunter wrote:Most likely you have some permission error that don't let you write the log file. Change permissions.
It has nothing to do with permissions.
I'm running as Administrator and the file pmsencoder.log is created in C:\ProgramData\UMS
I've deleted it and it has been created again when I run UMS.
Same plugin with same permission runs perfect in PS3 Media Server.
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: Excpetion with PMSEncoder

Post by SharkHunter »

The fault is described here http://groovy.329449.n5.nabble.com/NoCl ... 20093.html and in short it's the new java has done some change to HashMap which groovy can't cope with. So your options are to either use java7 or try and fix PMSEncoder to work under java8.
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: Excpetion with PMSEncoder

Post by infidel »

PMSEncoder is incompatible with current UMS even if you get past this bug, the codebase has diverged and it would need patching.
gabriels
Posts: 14
Joined: Sun Dec 07, 2014 6:40 am

Re: Excpetion with PMSEncoder

Post by gabriels »

debug.log
(15.32 KiB) Downloaded 572 times
SharkHunter wrote:The fault is described here http://groovy.329449.n5.nabble.com/NoCl ... 20093.html and in short it's the new java has done some change to HashMap which groovy can't cope with. So your options are to either use java7 or try and fix PMSEncoder to work under java8.
I've removed Java 8 and installed Java 7.
Now I get a different exception with PMSEncoder.
debug.log
(15.32 KiB) Downloaded 572 times
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: Excpetion with PMSEncoder

Post by SharkHunter »

gabriels wrote:
debug.log
SharkHunter wrote:The fault is described here http://groovy.329449.n5.nabble.com/NoCl ... 20093.html and in short it's the new java has done some change to HashMap which groovy can't cope with. So your options are to either use java7 or try and fix PMSEncoder to work under java8.
I've removed Java 8 and installed Java 7.
Now I get a different exception with PMSEncoder.
debug.log
Read infidels last post again. UMS has diverged a bit from PMS and PMSEncoder will most likely not work with UMS.
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
gabriels
Posts: 14
Joined: Sun Dec 07, 2014 6:40 am

Re: Excpetion with PMSEncoder

Post by gabriels »

SharkHunter wrote:
gabriels wrote:
debug.log
SharkHunter wrote:The fault is described here http://groovy.329449.n5.nabble.com/NoCl ... 20093.html and in short it's the new java has done some change to HashMap which groovy can't cope with. So your options are to either use java7 or try and fix PMSEncoder to work under java8.
I've removed Java 8 and installed Java 7.
Now I get a different exception with PMSEncoder.
debug.log
Read infidels last post again. UMS has diverged a bit from PMS and PMSEncoder will most likely not work with UMS.
Maybe you should remove it from your plugins link in the help tab?
Me I am back to PMS since I only need it for PMSEncoder.
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: Excpetion with PMSEncoder

Post by SharkHunter »

Exactly which function of PMSencoder is it you use. We/I have move most of the functionallity into UMS and other plugins.
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
gabriels
Posts: 14
Joined: Sun Dec 07, 2014 6:40 am

Re: Excpetion with PMSEncoder

Post by gabriels »

SharkHunter wrote:Exactly which function of PMSencoder is it you use. We/I have move most of the functionallity into UMS and other plugins.
I am streaming from SopCast to my PS3 using PMSEncoder.
If you have a solution for this I'd be happy.
Post Reply