|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
Same here.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#22
|
||||
|
||||
Ok... i added c=GetMediaFiles and I get the error on my site as well... My initial understanding was that you service wasn't available, but this is something different... looks like a new API maybe causing an endless loop in the serialization... Could take a little longer to troubleshoot... but they fact that I can reproduce it, gives hope
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#23
|
||||
|
||||
In looking at the Airing api I see a new method GetPlayableAiring (added in 8.0) that is likely causing the endless loop... I'm at work and then I have an appointment later... so not sure if I can get this fixed today, or not... doesn't look like a big task.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#24
|
|||
|
|||
Thanks Stuckless! We really appreciate all the work!
Mike |
#25
|
||||
|
||||
FYI... I updated the sagex-apis again this morning... i didn't have time to test if my change fixes the issue... so if someone wants to test, that would be great
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#26
|
|||
|
|||
Quote:
Code:
?c=GetMediaFiles&1=T
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#27
|
||||
|
||||
Thanks... i was hoping this would fix it... but as I said I didn't have time to test it Looks like I won't get to this now until the weekend (I have a small window on thursday evening... it might get done then).
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#28
|
|||
|
|||
I will say that the Android mini client wouldn't play anything on 9.0.0.1, (I forget the error message and just switched to Phoenix Remote), but after loading the new version this morning it's working again. Not sure if that's related, but that's the only change I made between last night and this morning.
__________________
Home Network: https://karylstein.com/technology.html |
#29
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#30
|
||||
|
||||
I just tested that against my test machine (with the update sagex-api installed) and it worked ok. I must be missing something else
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#31
|
|||
|
|||
I'm not sure. It might be something in my wiz.bin. I remember it was working on unRAID prior to introducing my wiz.bin from Windows. But it was also working on Windows prior to the sagex upgrade.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#32
|
||||
|
||||
It's likely something in the data. I'm going to put out a build with some debugging so that when it dies, I can see what field/method it was trying to process... that should help me narrow down where to look.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#33
|
|||
|
|||
Feel free to send me test JAR's.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#34
|
||||
|
||||
This jar file has some extra debugging, feel free to update your jar with this and then test your /sagex/api url again and post the logs.. thx.
https://bintray.com/opensagetv/saget...ex-api/9.0.0.3
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#35
|
|||
|
|||
Quote:
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#36
|
||||
|
||||
Quote:
Thanks for testing... at least I know that the problem was in fact the new 8.x API that was added. I'll update the plugins repo tonight to a 9.0.0.4.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#37
|
|||
|
|||
Quote:
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#38
|
|||
|
|||
I updated to 9.0.0.6 tonight, but am seeing the same errors.:
at sagex.remote.builder.SageAPIBuilder.build(SageAPIBuilder.java:57) at sagex.remote.builder.SageAPIBuilder.buildObject(SageAPIBuilder.java:156) at sagex.remote.builder.SageAPIBuilder.buildAiring(SageAPIBuilder.java:120) at sagex.remote.builder.SageAPIBuilder.build(SageAPIBuilder.java:57) at sagex.remote.builder.SageAPIBuilder.buildObject(SageAPIBuilder.java:156) at sagex.remote.builder.SageAPIBuilder.buildAiring(SageAPIBuilder.java:120) at sagex.remote.builder.SageAPIBuilder.build(SageAPIBuilder.java:57) at sagex.remote.builder.SageAPIBuilder.buildObject(SageAPIBuilder.java:156) at sagex.remote.builder.SageAPIBuilder.buildAiring(SageAPIBuilder.java:120) at sagex.remote.builder.SageAPIBuilder.build(SageAPIBuilder.java:57) at sagex.remote.builder.SageAPIBuilder.buildObject(SageAPIBuilder.java:156) at sagex.remote.builder.SageAPIBuilder.buildAiring(SageAPIBuilder.java:120) at sagex.remote.builder.SageAPIBuilder.build(SageAPIBuilder.java:57) at sagex.remote.builder.SageAPIBuilder.buildObject(SageAPIBuilder.java:156) The weird thing is just after I installed it, it pex seemed to get one show referenced that worked right, but nothing after that. And When I did a manual query via a browser , I got differing responses at times. Most of the time, it returns: HTTP ERROR 500 Problem accessing /sagex/api. Reason: Sage Servlet Failed: null Powered by Jetty:// But rarely it returns: {false} The query I am doing is: http://10.0.8.130:8080/sagex/api?c=p...s&encoder=json |
#39
|
|||
|
|||
PS I deleted the plugin and reinstalled it, and then rebooted the system to restart sage (linux is so fast doing a reboot!).
Then when I did the same query before in chrome, I got this: {"sagexVersion":"9.0.0","exception":"java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1.0\n\tat sagex.remote.api.ApiHandler.callService(ApiHandler.java:200)\n\tat sagex.remote.api.ApiHandler.handleRequest(ApiHandler.java:140)\n\tat sagex.remote.SagexServlet.doPost(SagexServlet.java:87)\n\tat sagex.remote.SagexServlet.doGet(SagexServlet.java:41)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:707)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:820)\n\tat org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)\n\tat org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)\n\tat org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)\n\tat org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)\n\tat org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)\n\tat org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)\n\tat org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)\n\tat org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)\n\tat org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)\n\tat org.mortbay.jetty.Server.handle(Server.java:326)\n\tat org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)\n\tat org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)\n\tat org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)\n\tat org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)\n\tat org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)\n\tat org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)\n\tat org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)\nCaused by: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1.0\n\tat jdk.internal.dynalink.beans.BeanLinker.rangeCheck(BeanLinker.java:369)\n\tat jdk.nashorn.internal.scripts.Script$Recompilation$4$1499A$\\^eval\\_.GetMediaFileForName(<eval>:79)\n\tat jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:639)\n\tat jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)\n\tat jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)\n\tat jdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:199)\n\tat jdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:383)\n\tat jdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:190)\n\tat sagex.remote.api.ServiceFactory.callService(ServiceFactory.java:86)\n\tat sagex.remote.api.ApiHandler.callService(ApiHandler.java:198)\n\t... 22 more\n","error":"java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1.0"} Followed by: HTTP ERROR 500 Problem accessing /sagex/api. Reason: Sage Servlet Failed: null Powered by Jetty:// And then this again: {"sagexVersion":"9.0.0","exception":"java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1.0\n\tat sagex.remote.api.ApiHandler.callService(ApiHandler.java:200)\n\tat sagex.remote.api.ApiHandler.handleRequest(ApiHandler.java:140)\n\tat sagex.remote.SagexServlet.doPost(SagexServlet.java:87)\n\tat sagex.remote.SagexServlet.doGet(SagexServlet.java:41)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:707)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:820)\n\tat org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)\n\tat org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)\n\tat org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)\n\tat org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)\n\tat org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)\n\tat org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)\n\tat org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)\n\tat org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)\n\tat org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)\n\tat org.mortbay.jetty.Server.handle(Server.java:326)\n\tat org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)\n\tat org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)\n\tat org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)\n\tat org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)\n\tat org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)\n\tat org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)\n\tat org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)\nCaused by: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1.0\n\tat jdk.internal.dynalink.beans.BeanLinker.rangeCheck(BeanLinker.java:369)\n\tat jdk.nashorn.internal.scripts.Script$Recompilation$4$1499A$\\^eval\\_.GetMediaFileForName(<eval>:79)\n\tat jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:639)\n\tat jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)\n\tat jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)\n\tat jdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:199)\n\tat jdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:383)\n\tat jdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:190)\n\tat sagex.remote.api.ServiceFactory.callService(ServiceFactory.java:86)\n\tat sagex.remote.api.ApiHandler.callService(ApiHandler.java:198)\n\t... 22 more\n","error":"java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1.0"} Very odd. Thanks! Mike |
#40
|
||||
|
||||
Stuckless, running the 9.0.0.6 version and getting this error
Code:
java.lang.NoSuchMethodError: sagex.api.FavoriteAPI.GetFavoritePerson John |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugin: Jetty Web Server 2.0 | jreichen | SageTV v7 Customizations | 389 | 06-19-2021 09:38 PM |
Jetty Web Server Issue | Ghildebr | SageTV v9 Customizations | 17 | 09-03-2016 09:52 AM |
Windows OS Update For Server? | voorhees | General Discussion | 11 | 12-28-2012 03:26 PM |