SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations > Gemstone for v7

Notices

Gemstone for v7 This forum is for discussing the user-created Gemstone custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-02-2016, 07:18 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 6,923
Sagetv hangs when trying to use Utility Import

I think I posted about this before. I am using SageTV Client V9 and trying to import a settings file from the server. But after I select a file to import it hangs at saying "Loading..." There is no issue using this settings file on my extenders or on the server.

Here is what shows up in my Sagetvclient_0 file:
Code:
Fri 12/2 20:14:05.872 [Fork-JUSJOKEN-5641186@a8886e] Error with c/s comm: requestAction: java.lang.NullPointerException
Fri 12/2 20:14:05.872 [Fork-JUSJOKEN-5641186@a8886e] java.lang.NullPointerException
Fri 12/2 20:14:05.874 [Fork-JUSJOKEN-5641186@a8886e] 	at sage.SageTVConnection.requestAction(SageTVConnection.java:2139)
Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] 	at sage.PredefinedJEPFunction.run(PredefinedJEPFunction.java:100)
Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] 	at sage.Catbert.evaluateAction(Catbert.java:1663)
Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] 	at sage.SageTV.apiUI(SageTV.java:107)
Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] 	at sagex.remote.EmbeddedSageAPIProvider.callService(EmbeddedSageAPIProvider.java:24)
Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] 	at sagex.SageAPI.call(SageAPI.java:212)
Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] 	at sagex.SageAPI.call(SageAPI.java:228)
Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] 	at sagex.api.Utility.GetFileAsString(Utility.java:3862)
Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] 	at Gemstone.Import.<init>(Import.java:76)
Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] 	at java.lang.reflect.Constructor.newInstance(Unknown Source)
Fri 12/2 20:14:05.875 [Fork-JUSJOKEN-5641186@a8886e] 	at sage.Catbert$ReflectedJEPFunction.run(Catbert.java:1991)
Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] 	at sage.jep.JEP$CommandEvaluator.evaluate(JEP.java:586)
Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] 	at sage.jep.JEP.getValueAsObject(JEP.java:428)
Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] 	at sage.Catbert.evaluateExpression(Catbert.java:641)
Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] 	at sage.ZPseudoComp.processChain(ZPseudoComp.java:4641)
Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] 	at sage.ZPseudoComp.processChain(ZPseudoComp.java:4680)
Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] 	at sage.ZPseudoComp.processChain(ZPseudoComp.java:4579)
Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] 	at sage.ZPseudoComp$2.run(ZPseudoComp.java:4627)
Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] 	at sage.Pooler$PooledThread.run(Pooler.java:253)
Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] java.lang.reflect.InvocationTargetException
Fri 12/2 20:14:05.876 [Fork-JUSJOKEN-5641186@a8886e] sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Fri 12/2 20:14:05.877 [Fork-JUSJOKEN-5641186@a8886e] sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
Fri 12/2 20:14:05.877 [Fork-JUSJOKEN-5641186@a8886e] sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
Fri 12/2 20:14:05.877 [Fork-JUSJOKEN-5641186@a8886e] java.lang.reflect.Constructor.newInstance(Unknown Source)
Fri 12/2 20:14:05.877 [Fork-JUSJOKEN-5641186@a8886e] sage.Catbert$ReflectedJEPFunction.run(Catbert.java:1991)
Fri 12/2 20:14:05.878 [Fork-JUSJOKEN-5641186@a8886e] sage.jep.JEP$CommandEvaluator.evaluate(JEP.java:586)
Fri 12/2 20:14:05.878 [Fork-JUSJOKEN-5641186@a8886e] sage.jep.JEP.getValueAsObject(JEP.java:428)
Fri 12/2 20:14:05.878 [Fork-JUSJOKEN-5641186@a8886e] sage.Catbert.evaluateExpression(Catbert.java:641)
Fri 12/2 20:14:05.878 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp.processChain(ZPseudoComp.java:4641)
Fri 12/2 20:14:05.878 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp.processChain(ZPseudoComp.java:4680)
Fri 12/2 20:14:05.879 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp.processChain(ZPseudoComp.java:4579)
Fri 12/2 20:14:05.879 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp$2.run(ZPseudoComp.java:4627)
Fri 12/2 20:14:05.879 [Fork-JUSJOKEN-5641186@a8886e] sage.Pooler$PooledThread.run(Pooler.java:253)
Fri 12/2 20:14:05.879 [Fork-JUSJOKEN-5641186@a8886e] java.lang.NullPointerException
Fri 12/2 20:14:05.879 [Fork-JUSJOKEN-5641186@a8886e] Gemstone.PropertiesExt.load(PropertiesExt.java:135)
Fri 12/2 20:14:05.880 [Fork-JUSJOKEN-5641186@a8886e] Gemstone.Import.<init>(Import.java:77)
Fri 12/2 20:14:05.880 [Fork-JUSJOKEN-5641186@a8886e] sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Fri 12/2 20:14:05.880 [Fork-JUSJOKEN-5641186@a8886e] sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
Fri 12/2 20:14:05.880 [Fork-JUSJOKEN-5641186@a8886e] sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
Fri 12/2 20:14:05.880 [Fork-JUSJOKEN-5641186@a8886e] java.lang.reflect.Constructor.newInstance(Unknown Source)
Fri 12/2 20:14:05.881 [Fork-JUSJOKEN-5641186@a8886e] sage.Catbert$ReflectedJEPFunction.run(Catbert.java:1991)
Fri 12/2 20:14:05.881 [Fork-JUSJOKEN-5641186@a8886e] sage.jep.JEP$CommandEvaluator.evaluate(JEP.java:586)
Fri 12/2 20:14:05.881 [Fork-JUSJOKEN-5641186@a8886e] sage.jep.JEP.getValueAsObject(JEP.java:428)
Fri 12/2 20:14:05.881 [Fork-JUSJOKEN-5641186@a8886e] sage.Catbert.evaluateExpression(Catbert.java:641)
Fri 12/2 20:14:05.881 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp.processChain(ZPseudoComp.java:4641)
Fri 12/2 20:14:05.882 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp.processChain(ZPseudoComp.java:4680)
Fri 12/2 20:14:05.882 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp.processChain(ZPseudoComp.java:4579)
Fri 12/2 20:14:05.882 [Fork-JUSJOKEN-5641186@a8886e] sage.ZPseudoComp$2.run(ZPseudoComp.java:4627)
Fri 12/2 20:14:05.882 [Fork-JUSJOKEN-5641186@a8886e] sage.Pooler$PooledThread.run(Pooler.java:253)
Fri 12/2 20:14:05.883 [Fork-JUSJOKEN-5641186@a8886e] EXCEPTION in getValueAsObject:sage.jep.ParseException: Error in method reflection of new_Gemstone_Import of java.lang.reflect.InvocationTargetException for:new_Gemstone_Import(SelectedFilePath + "", !UseLocalFilePaths)
Fri 12/2 20:14:05.971 [AWT-EventQueue-0@df8d8a] processUserEvent-UserEvent[anything] evtTime=Fri 12/2 20:14:05.824
Fri 12/2 20:14:06.358 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 228x456 for java.lang.ref.WeakReference@46ab70
Fri 12/2 20:14:06.367 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=228 h=456
Fri 12/2 20:14:06.369 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 194x388 for java.lang.ref.WeakReference@140fba4
Fri 12/2 20:14:06.376 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=194 h=388
Fri 12/2 20:14:06.378 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 77x154 for java.lang.ref.WeakReference@16f2335
Fri 12/2 20:14:06.379 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=77 h=154
Fri 12/2 20:14:06.379 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 79x158 for java.lang.ref.WeakReference@d78f76
Fri 12/2 20:14:06.381 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=79 h=158
Fri 12/2 20:14:06.384 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 228x456 for java.lang.ref.WeakReference@133a4b7
Fri 12/2 20:14:06.393 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=228 h=456
Fri 12/2 20:14:06.395 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 194x388 for java.lang.ref.WeakReference@1d6e06e
Fri 12/2 20:14:06.401 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=194 h=388
Fri 12/2 20:14:06.403 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 77x154 for java.lang.ref.WeakReference@1e0106a
Fri 12/2 20:14:06.404 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=77 h=154
Fri 12/2 20:14:06.405 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating copy of Java image to RawImage of size 79x158 for java.lang.ref.WeakReference@11c869f
Fri 12/2 20:14:06.406 [FinalRender-SAGETV_PROCESS_LOCAL_UI@12847e9] Creating DirectX9 Texture from nio buffer w=79 h=158
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #2  
Old 12-03-2016, 05:28 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
I think there were some changes in how server side files are accessed by clients, that may have affected this (it was not an API call that was used much). In any case, it seems the client is unable to fetch the settings file from the server. In the meantime, you can likely copy your exported settings file from the server to the client, and have gemstone import it with Import Settings (Local).

It's very likely this is fixed in Gemstone2. If I had to guess, this issue would be from the different in path separators between the client and server, and it inadvertently 'fixing' them the wrong way.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #3  
Old 12-03-2016, 09:28 PM
jusjoken jusjoken is offline
Sage Icon
 
Join Date: Dec 2005
Location: Minneapolis MN
Posts: 2,195
Can you open an issue on G2 github site...see my signature.. Then i wont forget to review this and fix if needed.

G2 has changed under the hood a lot so the import and export likely need reworking too.

k
Reply With Quote
  #4  
Old 12-03-2016, 09:36 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 6,923
Manually transferring the file from the server to the client and then importing did the trick.

One other thing that I have noticed in the past is that you sometimes need to reload the UI to get the new menus to be reflected after importing. You might want to force a UI restart. I have manually done this by restarting the client or extender.

I will post the issue in Github.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Utility: SageTV Auto Restarter (SAR) Slugger SageTV v7 Customizations 7 02-11-2015 08:27 PM
Utility: SageTV Registry Settings babgvant SageTV Customizations 71 06-04-2013 11:24 AM
Utility: ComChecker for SageTV on Mac OS X bcjenkins SageTV Customizations 29 09-01-2009 07:29 PM
Utility functions to simplify STV import dflachbart SageTV Studio 72 01-08-2007 11:48 AM
SageTV "hangs" on EPG-import from o2grabber paatus SageTV EPG Service 7 01-24-2005 11:06 AM


All times are GMT -6. The time now is 12:54 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.