![]() |
|
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 |
#1
|
|||
|
|||
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'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 |
#2
|
|||
|
|||
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 |
#3
|
|||
|
|||
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 |
#4
|
||||
|
||||
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 |
#5
|
|||
|
|||
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 |
#6
|
||||
|
||||
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.
__________________
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 |
#7
|
|||
|
|||
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 |
#8
|
||||
|
||||
great news!
__________________
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 |
![]() |
Tags |
xmltv importer |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
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 |