Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EndElementEvent error on some movies with r1469 #1323

Closed
Omertron opened this issue Mar 15, 2015 · 7 comments
Closed

EndElementEvent error on some movies with r1469 #1323

Omertron opened this issue Mar 15, 2015 · 7 comments

Comments

@Omertron
Copy link
Member

Original issue 1324 created by Omertron on 2010-03-04T13:31:02.000Z:

What steps will reproduce the problem?

  1. Try to build a jukebox with a movie with filename "04 A Matter of Loaf
    and Death.BluRay.ts"

What is the expected output? What do you see instead?
Following error occurs:
Recheck of 04 A Matter of Loaf and Death.BluRay required
Error: com.sun.xml.internal.stream.events.EndElementEvent cannot be cast
to java
x.xml.stream.events.Characters
java.lang.ClassCastException:
com.sun.xml.internal.stream.events.EndElementEvent
cannot be cast to javax.xml.stream.events.Characters
at com.sun.xml.internal.stream.events.DummyEvent.asCharacters
(Unknown So
urce)
at com.moviejukebox.themoviedb.TheMovieDb.parseMovieInfo
(TheMovieDb.java
:287)
at com.moviejukebox.themoviedb.TheMovieDb.moviedbSearch
(TheMovieDb.java:
95)
at
com.moviejukebox.plugin.poster.MovieDbPosterPlugin.getIdFromMovieInfo
(MovieDbPosterPlugin.java:42)
at com.moviejukebox.plugin.poster.MovieDbPosterPlugin.getPosterUrl
(Movie
DbPosterPlugin.java:49)
at com.moviejukebox.scanner.PosterScanner.getPosterURL
(PosterScanner.jav
a:307)
at com.moviejukebox.scanner.PosterScanner.scan
(PosterScanner.java:402)
at com.moviejukebox.MovieJukebox.updateMovieData
(MovieJukebox.java:1191)

    at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:713)
    at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:705)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown 

Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
Finished: 04 A Matter of Loaf and Death (6/631)

What version of YAMJ are you using? On what operating system?
r1469

What device are you using YAMJ on? Networked Media Tank, PlayonHD, Other?
NMT A-110

Please provide any additional information below.

@Omertron
Copy link
Member Author

Comment #1 originally posted by Omertron on 2010-03-04T19:59:09.000Z:

Ok, seems it's a problem with the XML file.
Deleting it should solve the issue.

If you want to post the XML file up here, I can take a look, but honestly, I think
it's easier just to delete it and continue on.

If you have the problem with a "fresh" xml then it's a different problem

@Omertron
Copy link
Member Author

Comment #2 originally posted by Omertron on 2010-03-04T20:52:46.000Z:

Sorry, I should have mentioned that I originally raised this on the NMT forums and Omertron already had
me delete the XML file and I still get exactly the same error.

@Omertron
Copy link
Member Author

Comment #3 originally posted by Omertron on 2010-03-05T08:42:04.000Z:

When it says this "Recheck of 04 A Matter of Loaf and Death.BluRay required" it means
that the XML file is still there. So can you post the error after you have deleted
the XML file?

What is in your NFO file?

@Omertron
Copy link
Member Author

Comment #4 originally posted by Omertron on 2010-03-05T11:58:31.000Z:

Are you sure? I have definitely deleted the XML from the Jukebox folder. In fact,
this time I deleted everything for that movie - poster, fanart, playlist - I left no
files behind of any type for that movie and I'm still getting this:

Error: com.sun.xml.internal.stream.events.EndElementEvent cannot be cast to java
x.xml.stream.events.Characters
java.lang.ClassCastException: com.sun.xml.internal.stream.events.EndElementEvent
cannot be cast to javax.xml.stream.events.Characters
at com.sun.xml.internal.stream.events.DummyEvent.asCharacters(Unknown Source)
at com.moviejukebox.themoviedb.TheMovieDb.parseMovieInfo(TheMovieDb.java:287)
at com.moviejukebox.themoviedb.TheMovieDb.moviedbSearch(TheMovieDb.java:95)
at com.moviejukebox.plugin.poster.MovieDbPosterPlugin.getIdFromMovieInfo
(MovieDbPosterPlugin.java:42)
at com.moviejukebox.plugin.poster.MovieDbPosterPlugin.getPosterUrl
(MovieDbPosterPlugin.java:49)
at com.moviejukebox.scanner.PosterScanner.getPosterURL
(PosterScanner.java:307)
at com.moviejukebox.scanner.PosterScanner.scan(PosterScanner.java:402)
at com.moviejukebox.MovieJukebox.updateMovieData(MovieJukebox.java:1191)

    at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:713)
    at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:705)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source

)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

I've attached the nfo if it helps?

@Omertron
Copy link
Member Author

Comment #5 originally posted by Omertron on 2010-03-05T12:50:11.000Z:

Ok, I'll take a look :)

@Omertron
Copy link
Member Author

Comment #6 originally posted by Omertron on 2010-03-05T13:27:28.000Z:

I've just kicked off a Jukebox refresh with r1472 and am no longer seeing the
error. I don't event get the "Recheck of..." message any more when it hits A Matter
of Loaf and Death.

@Omertron
Copy link
Member Author

Comment #7 originally posted by Omertron on 2010-03-05T13:30:16.000Z:

Recheck only occurs when the XML data is stale (Old YAMJ version, >10 revisions old,

30 days old) so you won't see that with a new jukebox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant