SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-30-2018, 11:05 AM
gary201 gary201 is offline
Sage Advanced User
 
Join Date: Dec 2010
Location: Rochester NY
Posts: 104
Recordings View is blank

I've noticed this bug for a while, and even brought it up once before, but it still exists. If I change the recordings view to sort by original air date, sometimes Sage will not show any recordings. Change the view to something else (e.g. Title, Intelligent, any of the others) and the recordings reappear with that sort order.

The difference between then and now is I think I know what's causing it. One of the recordings has a blank (no entry) for the original air date property. This seems to most often (maybe each time it's occurred) by a scenario where BMT imports a recording as a SageTV recording so it shows up on the TV Recordings menus (e.g. the split pane view when the extras are enabled). These recordings come from PlayOn recording something off of Netflix or Hulu that gets moved to a SageTV import directory and BMT then used to lookup the metadata and flag the imported recording as something SageTV recorded.

So which component is at fault (BMT or Sage)? My guess is that it's likely a little of both (BMT for not putting something in that field and SageTV for getting tripped up on a recording with a blank entry).
Reply With Quote
  #2  
Old 06-30-2018, 11:35 AM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,053
If you look in the SageTV log file after causing one of these blank lists, itís likely there will be an error which would help identify a bug. The sort algorithm is probably tripping over that blank field.
Reply With Quote
  #3  
Old 06-30-2018, 12:06 PM
gary201 gary201 is offline
Sage Advanced User
 
Join Date: Dec 2010
Location: Rochester NY
Posts: 104
Sat 6/30 14:04:33.171 [ReProcessHook@45b15bd2] Filtered List size = 4669
Sat 6/30 14:04:33.171 [ReProcessHook@45b15bd2] ===== List Creation Elapsed Time = [2]
Sat 6/30 14:04:33.171 [ReProcessHook@45b15bd2] TotalCategoryFilterList=[]
Sat 6/30 14:04:33.171 [ReProcessHook@45b15bd2] Category Filter Elapsed Time = [0]
Sat 6/30 14:04:33.171 [ReProcessHook@45b15bd2] Other Filter Elapsed Time = [0]
Sat 6/30 14:04:33.171 [ReProcessHook@45b15bd2] FilterChannelsIn=true, FilterChannels=[]
Sat 6/30 14:04:33.171 [ReProcessHook@45b15bd2] Channel Filter Elapsed Time = [0]
Sat 6/30 14:04:33.172 [ReProcessHook@45b15bd2] No duplicates Elapsed Time = [0]
Sat 6/30 14:04:33.190 [ReProcessHook@45b15bd2] java.lang.IllegalArgumentException: Comparison method violates its general contract!
Sat 6/30 14:04:33.190 [ReProcessHook@45b15bd2] at java.util.TimSort.mergeHi(TimSort.java:899)
Sat 6/30 14:04:33.190 [ReProcessHook@45b15bd2] at java.util.TimSort.mergeAt(TimSort.java:516)
Sat 6/30 14:04:33.190 [ReProcessHook@45b15bd2] at java.util.TimSort.mergeCollapse(TimSort.java:439)
Sat 6/30 14:04:33.190 [ReProcessHook@45b15bd2] at java.util.TimSort.sort(TimSort.java:245)
Sat 6/30 14:04:33.190 [ReProcessHook@45b15bd2] at java.util.Arrays.sort(Arrays.java:1438)
Sat 6/30 14:04:33.190 [ReProcessHook@45b15bd2] at sage.api.Database$7.runSafely(Database.java:1575)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.PredefinedJEPFunction.run(PredefinedJEPFunction.java:110)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.jep.JEP$CommandEvaluator.evaluate(JEP.java:586)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.jep.JEP.getValueAsObject(JEP.java:428)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.Catbert.evaluateExpression(Catbert.java:641)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4641)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.processParentActions(ZPseudoComp.java:5212)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZDataTable.evaluate(ZDataTable.java:1559)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluateTree(ZPseudoComp.java:1154)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluate(ZPseudoComp.java:5127)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluateTree(ZPseudoComp.java:1154)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluate(ZPseudoComp.java:5127)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluateTree(ZPseudoComp.java:1154)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluate(ZPseudoComp.java:5127)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluateTree(ZPseudoComp.java:1154)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluate(ZPseudoComp.java:5127)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluateTree(ZPseudoComp.java:1154)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluate(ZPseudoComp.java:5127)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluateTree(ZPseudoComp.java:1154)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluate(ZPseudoComp.java:5127)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluateTree(ZPseudoComp.java:1154)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.PseudoMenu.refresh(PseudoMenu.java:1114)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.api.Global$1.runSafely(Global.java:77)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.PredefinedJEPFunction.run(PredefinedJEPFunction.java:110)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.jep.JEP$CommandEvaluator.evaluate(JEP.java:586)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.jep.JEP.getValueAsObject(JEP.java:428)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.Catbert.evaluateExpression(Catbert.java:641)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4641)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4680)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4579)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.Catbert.processHookDirectly(Catbert.java:493)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.Catbert.processUISpecificHook(Catbert.java:465)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.Catbert$3.run(Catbert.java:404)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] at sage.Pooler$PooledThread.run(Pooler.java:254)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] EXCEPTION in getValueAsObject:sage.jep.ParseException: Error in method reflection of Sort of java.lang.IllegalArgumentException: Comparison method violates its general contract! for:Sort(List, GetProperty(menuname + "_sort_reverse", false), sorting)
Sat 6/30 14:04:33.191 [ReProcessHook@45b15bd2] sage.jep.ParseException: Error in method reflection of Sort of java.lang.IllegalArgumentException: Comparison method violates its general contract!
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.PredefinedJEPFunction.run(PredefinedJEPFunction.java:119)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.jep.JEP$CommandEvaluator.evaluate(JEP.java:586)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.jep.JEP.getValueAsObject(JEP.java:428)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.Catbert.evaluateExpression(Catbert.java:641)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4641)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.processParentActions(ZPseudoComp.java:5212)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZDataTable.evaluate(ZDataTable.java:1559)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluateTree(ZPseudoComp.java:1154)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluate(ZPseudoComp.java:5127)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluateTree(ZPseudoComp.java:1154)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluate(ZPseudoComp.java:5127)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluateTree(ZPseudoComp.java:1154)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluate(ZPseudoComp.java:5127)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluateTree(ZPseudoComp.java:1154)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluate(ZPseudoComp.java:5127)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluateTree(ZPseudoComp.java:1154)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluate(ZPseudoComp.java:5127)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluateTree(ZPseudoComp.java:1154)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluate(ZPseudoComp.java:5127)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.evaluateTree(ZPseudoComp.java:1154)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.PseudoMenu.refresh(PseudoMenu.java:1114)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.api.Global$1.runSafely(Global.java:77)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.PredefinedJEPFunction.run(PredefinedJEPFunction.java:110)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.jep.JEP$CommandEvaluator.evaluate(JEP.java:586)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.jep.JEP.getValueAsObject(JEP.java:428)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.Catbert.evaluateExpression(Catbert.java:641)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4641)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4680)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.ZPseudoComp.processChain(ZPseudoComp.java:4579)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.Catbert.processHookDirectly(Catbert.java:493)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.Catbert.processUISpecificHook(Catbert.java:465)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.Catbert$3.run(Catbert.java:404)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.Pooler$PooledThread.run(Pooler.java:254)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract!
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at java.util.TimSort.mergeHi(TimSort.java:899)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at java.util.TimSort.mergeAt(TimSort.java:516)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at java.util.TimSort.mergeCollapse(TimSort.java:439)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at java.util.TimSort.sort(TimSort.java:245)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at java.util.Arrays.sort(Arrays.java:1438)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.api.Database$7.runSafely(Database.java:1575)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] at sage.PredefinedJEPFunction.run(PredefinedJEPFunction.java:110)
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] ... 32 more
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] Sorting Elapsed Time = [20]
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] Grouping Elapsed Time = [0]
Sat 6/30 14:04:33.192 [ReProcessHook@45b15bd2] ===== Overall Group Creation Elapsed Time = [23]

Last edited by gary201; 06-30-2018 at 12:09 PM.
Reply With Quote
  #4  
Old 06-30-2018, 12:31 PM
gary201 gary201 is offline
Sage Advanced User
 
Join Date: Dec 2010
Location: Rochester NY
Posts: 104
I used BMT to re-lookup/save the metadata on a bunch of SageTV actual recorded shows (not imports), then happen to recheck and the view content returned and the log now contains the following when the view content is populated:

Sat 6/30 14:27:11.014 [ReProcessHook@440d2dd7] Filtered List size = 4668
Sat 6/30 14:27:11.014 [ReProcessHook@440d2dd7] ===== List Creation Elapsed Time = [175]
Sat 6/30 14:27:11.014 [ReProcessHook@440d2dd7] TotalCategoryFilterList=[]
Sat 6/30 14:27:11.015 [ReProcessHook@440d2dd7] Category Filter Elapsed Time = [1]
Sat 6/30 14:27:11.015 [ReProcessHook@440d2dd7] Other Filter Elapsed Time = [0]
Sat 6/30 14:27:11.015 [ReProcessHook@440d2dd7] FilterChannelsIn=true, FilterChannels=[]
Sat 6/30 14:27:11.015 [ReProcessHook@440d2dd7] Channel Filter Elapsed Time = [0]
Sat 6/30 14:27:11.015 [ReProcessHook@440d2dd7] No duplicates Elapsed Time = [0]
Sat 6/30 14:27:11.037 [ReProcessHook@440d2dd7] Sorting Elapsed Time = [22]
Sat 6/30 14:27:11.045 [ReProcessHook@440d2dd7] Grouping Elapsed Time = [7]
Sat 6/30 14:27:11.045 [ReProcessHook@440d2dd7] ===== Overall Group Creation Elapsed Time = [206]

I never really did find the specific show entry that caused the problem.
Reply With Quote
  #5  
Old 09-19-2018, 02:47 PM
gary201 gary201 is offline
Sage Advanced User
 
Join Date: Dec 2010
Location: Rochester NY
Posts: 104
The problem continues to appear and dissapear. Does the exception error above mean anything to anyone?
Reply With Quote
  #6  
Old 09-19-2018, 05:02 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,541
from what I can tell, from googling, the Java Sort implementation changed between 6 and 7, and whereas the v6 sort implementation was a little more fogiving, the v7 implementation is not. This ultimately is a problem in the code, in the item being sorted has an equals or compare method that is not implemented correctly. I don't know what is being sorted here, so I can't really tell where the problem really exists.
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
Blank Video / Audio for Some Recordings KarylFStein SageTV Placeshifter 1 10-14-2012 03:17 PM
SageTV Recordings blank after install on new pc bobvoeh SageTV Software 2 07-22-2012 01:49 PM
SageClient (6.1.9) LiveTv/Recordings=Good, Video = blank spots riekl SageTV Software 2 04-28-2007 06:15 AM
Sage Recordings now blank eshafer_24 SageTV Software 3 07-25-2005 08:05 PM
Some recordings showing up in Sage Recording with 'blank' names JasonJoel SageTV Beta Test Software 2 04-15-2004 11:28 PM


All times are GMT -6. The time now is 06:56 PM.


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