Page 1 of 1
Skin Editor fails to save file
Posted: 13 Mar 2010 19:55
by baba
Hi,
when I try to save a file with the skin editor, I always get a java.lang.NullPointer exception and my theme.xml file is replaced by an empty file. Does anyone know a solution?
Regards
Baba
Re: Skin Editor fails to save file
Posted: 13 Mar 2010 22:31
by 3breadt
Does this happen with each skin file you try to save, no matter in which directory you want to save it? Which version are you using?
Re: Skin Editor fails to save file
Posted: 13 Mar 2010 22:43
by baba
I just found out, that it only happens with the unpacked skin "raptor". I'm using version 0.8.6 dev. But it's the same with all 0.8.x versions.
Re: Skin Editor fails to save file
Posted: 14 Mar 2010 14:23
by 3breadt
Then probably the raptor skin is somehow malformed, maybe an image file is missing. Can't help you with that problem.
Re: Skin Editor fails to save file
Posted: 14 Mar 2010 15:31
by baba
Yes, you're right. There are some bugs in the rapptor skin, which I tried to fix, because I like the design. I could fix some problems, others not. The skin editor is very squeamish with interpreting xml. Many things working fine in the player lead to malfunctions in the editor.
The default skin uses succesful item, collapse and expand, which are not defined in the skin, as images for the treeviev of playlist, but in raptor, they are always refused with an image not found message in the editor.
Unforunately, the documentation of the skin editor is very poor. Most I found out by trial and error.
Thank you.
Re: Skin Editor fails to save file
Posted: 30 Mar 2010 07:17
by rtjwilde
I'm new to the whole VLC Player and Editor but hopefully these suggestions will be of some help. What that means is I don't everything. Just brainstorming what might be ( In General ) possible solutions.
1. In the VLC Editor try scouring all attributes for all the elements for typo errors. It's highly possible something is written wrong or misspelled. Depending on what items, typo errors can reek havoc.
2. You might want to try opening the xml file in a text editor such as Notepad and search for possible broken tags. If you find a broken tag or something similar fix them manually there and save.
3. Try updating Java.