SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Github Development
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-04-2017, 02:37 PM
mwnswiss mwnswiss is offline
Sage User
 
Join Date: Feb 2007
Location: Switzerland
Posts: 54
EPG Import Plugin java.lang.ClassNotFoundException

I suddenly got an exception with my xmltv.XMLTVImportPlugin which is not loading anymore.

The xmltv import property:
epg/epg_import_plugin=xmltv.XMLTVImportPlugin

the class files are as always in the folder xmltv/

Log shows:
Code:
Sat 3/4 21:24:41.220 [main@4d7e1886] Splash: EPG is initializing...
Sat 3/4 21:24:41.255 [main@4d7e1886] Increased hash set pool to size=1
Sat 3/4 21:24:41.271 [LucenePersonTransactionTask@113f9ac3] 17.47% / 5723 work queue, 1000 inserted @ 0.53 ms/peep avg [tot:530ms]
Sat 3/4 21:24:41.273 [main@4d7e1886] Error loading EPG Import Plugin of:java.lang.ClassNotFoundException: xmltv.XMLTVImportPlugin
Sat 3/4 21:24:41.273 [main@4d7e1886] DISABLING EPG IMPORT PLUGIN SINCE IT FAILS LOADING!!!
Sat 3/4 21:24:41.274 [main@4d7e1886] Splash: Profiler is initializing...
I did not get that with 9.0.12.510 for sure and no other changes took place, but after digging around in the code I did not see any significant changes, the class loader seems to be untouched. So I would assume that it could relate to a java upgrade. I'm on build 1.8.0_121-b13 on a ubuntu 16.04 64bit installation. I recompiled the xmltv (https://github.com/yafraorg/xmltvplugin) but no success.

I'm a bit stuck, any help to further narrow it down would be appreciated.
__________________
Standard Intel PC with 4GB RAM Ubuntu 16.04 64bit
JVM version=1.8.0_121-b13 / SageTV V9 latest
HDHR DUAL EU with 2 DVB-C and HDHR EXPAND 4DC with 4 DVB-C
XMLTV using WebGrabPlus in Switzerland
Clients: HD200, Placeshift on OSX (limited) and Windows, Sage Android Client on ShieldTV and Tablets
Reply With Quote
  #2  
Old 03-04-2017, 03:23 PM
mwnswiss mwnswiss is offline
Sage User
 
Join Date: Feb 2007
Location: Switzerland
Posts: 54
I rolled back to 9.0.12 and it worked again, so it must be a change in the recent code which results into the loader issue of the EPG XMLTV plugin. It can't be related with the jvm updates, it must be with sagetv code changes.
__________________
Standard Intel PC with 4GB RAM Ubuntu 16.04 64bit
JVM version=1.8.0_121-b13 / SageTV V9 latest
HDHR DUAL EU with 2 DVB-C and HDHR EXPAND 4DC with 4 DVB-C
XMLTV using WebGrabPlus in Switzerland
Clients: HD200, Placeshift on OSX (limited) and Windows, Sage Android Client on ShieldTV and Tablets
Reply With Quote
  #3  
Old 03-04-2017, 04:03 PM
mwnswiss mwnswiss is offline
Sage User
 
Join Date: Feb 2007
Location: Switzerland
Posts: 54
Found it now. It was with commit https://github.com/google/sagetv/com...2994663dcec9f4 changing the classpath and replacing the ":.:". The path "." is needed for xmltv classloading.

I will do a change.
__________________
Standard Intel PC with 4GB RAM Ubuntu 16.04 64bit
JVM version=1.8.0_121-b13 / SageTV V9 latest
HDHR DUAL EU with 2 DVB-C and HDHR EXPAND 4DC with 4 DVB-C
XMLTV using WebGrabPlus in Switzerland
Clients: HD200, Placeshift on OSX (limited) and Windows, Sage Android Client on ShieldTV and Tablets
Reply With Quote
  #4  
Old 03-04-2017, 04:08 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by mwnswiss View Post
Found it now. It was with commit https://github.com/google/sagetv/com...2994663dcec9f4 changing the classpath and replacing the ":.:". The path "." is needed for xmltv classloading.

I will do a change.
It might be better if the change involved putting the xmltv files in a jar and then adding that file the JARs directory, and/or updating it as a sagetv plugin. The "." is something that should not really be in the classpath (and was removed).
Reply With Quote
  #5  
Old 03-04-2017, 05:13 PM
mwnswiss mwnswiss is offline
Sage User
 
Join Date: Feb 2007
Location: Switzerland
Posts: 54
Any hint how I could load the class triggered through the property?
__________________
Standard Intel PC with 4GB RAM Ubuntu 16.04 64bit
JVM version=1.8.0_121-b13 / SageTV V9 latest
HDHR DUAL EU with 2 DVB-C and HDHR EXPAND 4DC with 4 DVB-C
XMLTV using WebGrabPlus in Switzerland
Clients: HD200, Placeshift on OSX (limited) and Windows, Sage Android Client on ShieldTV and Tablets
Reply With Quote
  #6  
Old 03-04-2017, 05:21 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
Quote:
Originally Posted by mwnswiss View Post
Any hint how I could load the class triggered through the property?
My guess is that if you add the xmltv files to a jar file, preserving the folder structure, and put that jar in the JARs directory, then it will just work.
Reply With Quote
  #7  
Old 03-11-2017, 02:59 PM
mwnswiss mwnswiss is offline
Sage User
 
Join Date: Feb 2007
Location: Switzerland
Posts: 54
It works, just did not include the xmltv/ directory in the jar, including the xmltv and having the setting still as xmltv.XMLTVImportPlugin it works now. I will update my repo for my xmltv importer https://github.com/yafraorg/xmltvplugin.
__________________
Standard Intel PC with 4GB RAM Ubuntu 16.04 64bit
JVM version=1.8.0_121-b13 / SageTV V9 latest
HDHR DUAL EU with 2 DVB-C and HDHR EXPAND 4DC with 4 DVB-C
XMLTV using WebGrabPlus in Switzerland
Clients: HD200, Placeshift on OSX (limited) and Windows, Sage Android Client on ShieldTV and Tablets
Reply With Quote
  #8  
Old 03-11-2017, 04:00 PM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,713
great news!
Reply With Quote
Reply

Tags
xmltv importer


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

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
Java error: java.lang.NullPointerException neil.prasad SageTV Software 8 12-13-2011 07:43 PM
java.lang.OutOfMemoryError? Anyone Else? panteragstk SageTV Beta Test Software 35 03-30-2011 08:19 AM
Placeshifter has java.lang.UnsatisfiedLinkError vhurst SageTV Placeshifter 0 02-28-2007 01:21 AM
java.lang.NoClassDefFoundError: wesw02 SageTV Software 2 06-15-2004 12:15 PM
Beta V1.2.2 Java java.lang Null Pointer Exception hamptonhills SageTV Beta Test Software 1 03-27-2003 12:11 PM


All times are GMT -6. The time now is 03:55 PM.


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