|
SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
web interface import/export xml issue
Hello,
i am trying to import a large xml file from a sage V6 into a sage V7 installation using the web interface, and am getting a Java crash. I then tried to export a single recording within V7 and re-import it, and am getting the same crash: Exception while processing servlet: java.lang.NullPointerException java.lang.NullPointerException at net.sf.sageplugins.webserver.XmlImporterServlet.importXml(XmlImporterServlet.java:392) at net.sf.sageplugins.webserver.XmlImporterServlet.doServletGet(XmlImporterServlet.java:63) at net.sf.sageplugins.webserver.SageServlet.doGet(SageServlet.java:86) at net.sf.sageplugins.webserver.SageServlet.doPost(SageServlet.java:110) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at Acme.Serve.ServeConnection.runServlet(Serve.java:1504) at Acme.Serve.ServeConnection.parseRequest(Serve.java:1479) at Acme.Serve.ServeConnection.run(Serve.java:1366) at java.lang.Thread.run(Unknown Source) I am at a loss as to what I need to do. I am running Sage V7.19, and webserver 2.33.1749 Thanks in advance !!! Stefano
__________________
ASUS Z68MX-UDH2, Ci5-2500k @3.4GHz, 8GB , 2x2TB Seagate Pipeline, HDHR Prime, HDHR, Win 10x64, Sage V9 Clients: 1 HD 200, 1 HD 300, 5 PCs |
#2
|
||||
|
||||
additional information
I am sad that nobody was able to offer up any help so far.....
I have tried to debug this myself by trimming the xml input file to the bone. This is the test xml file: <?xml version="1.0" encoding="UTF-8" standalone="no"?> And this is the result after import: Exception while processing servlet: java.lang.NullPointerException java.lang.NullPointerException at net.sf.sageplugins.webserver.XmlImporterServlet.importXml(XmlImporterServlet.java:392) at net.sf.sageplugins.webserver.XmlImporterServlet.doServletGet(XmlImporterServlet.java:63) at net.sf.sageplugins.webserver.SageServlet.doGet(SageServlet.java:86) at net.sf.sageplugins.webserver.SageServlet.doPost(SageServlet.java:110) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at Acme.Serve.ServeConnection.runServlet(Serve.java:1504) at Acme.Serve.ServeConnection.parseRequest(Serve.java:1479) at Acme.Serve.ServeConnection.run(Serve.java:1366) at java.lang.Thread.run(Unknown Source) So it is pretty clear to me that I have a buggy web server installation... What do I need to do to fix it ? Thanks, Stefano
__________________
ASUS Z68MX-UDH2, Ci5-2500k @3.4GHz, 8GB , 2x2TB Seagate Pipeline, HDHR Prime, HDHR, Win 10x64, Sage V9 Clients: 1 HD 200, 1 HD 300, 5 PCs |
#3
|
|||
|
|||
Two things:
1) The stack trace you provide does not appear to lineup with the latest version of the web server UI. Which version are you running? Go to any page on the web UI and the version number should be at the bottom. 2) I think the null pointer is a result of an invalid/non-existent directory being passed in the url as the source of the xml to import. What is the full url being called to do the xml import? The url should have a param named directoryXML and its value should be the dir to read the xml imports from. My guess is that directory does not exist, can't be read, etc.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#4
|
||||
|
||||
Thanks for the information, now I have another problem....
Hi Slugger,
thanks for the information ! I was able to feed the import filter the right path and have transferred all the relevant recordings. Now I have all the recordings show up in the "videos" section too What is the best way to remove them ? Thanks, Stefano
__________________
ASUS Z68MX-UDH2, Ci5-2500k @3.4GHz, 8GB , 2x2TB Seagate Pipeline, HDHR Prime, HDHR, Win 10x64, Sage V9 Clients: 1 HD 200, 1 HD 300, 5 PCs |
#5
|
|||
|
|||
I've never actually used the feature so I don't know exactly what it's done. Hopefully someone who's used it can jump in and help you out.
__________________
Twitter: @ddb_db Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive Capture: 2 x Colossus STB Controller: 1 x USB-UIRT Software:Java 1.7.0_71; SageTV 7.1.9 Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter Plugins: Too many to list now... |
#6
|
||||
|
||||
it fixed itself !!!
It turns out that as soon as I loaded a proper DVD directory everything straightened itself up as if nothing was ever a problem....
Stefano
__________________
ASUS Z68MX-UDH2, Ci5-2500k @3.4GHz, 8GB , 2x2TB Seagate Pipeline, HDHR Prime, HDHR, Win 10x64, Sage V9 Clients: 1 HD 200, 1 HD 300, 5 PCs |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Import/Export Channel Lineup | lenkost | SageTV v7 Customizations | 12 | 06-04-2017 04:57 PM |
how to import/export recordings between two MCs? | rnewman | SageTV Software | 10 | 07-06-2009 08:52 AM |
Import/export does not work | lcddream | SageMC Custom Interface | 7 | 10-06-2008 08:00 PM |
export/import SageTV recordings? | rnewman | SageTV Software | 9 | 06-22-2008 06:36 PM |
Feature Request: Favorites Import/Export | Truxton | SageTV Beta Test Software | 6 | 01-08-2008 03:08 AM |