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

VideoImageScanner NullPointerException in r1643 #1450

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

VideoImageScanner NullPointerException in r1643 #1450

Omertron opened this issue Mar 15, 2015 · 5 comments

Comments

@Omertron
Copy link
Member

Original issue 1451 created by Omertron on 2010-04-28T18:25:21.000Z:

Output...
...
Updating: V [Season 1]
Finished: V Season 1
Updating: Vampire Diaries [Season 1]
Finished: Vampire Diaries Season 1
java.lang.NullPointerException
at
com.moviejukebox.scanner.VideoImageScanner.scan(VideoImageScanner.java:116)
at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:713)
at com.moviejukebox.MovieJukebox$3.call(MovieJukebox.java:697)
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)
at
com.moviejukebox.tools.ThreadExecutor$ScheduledThread.run(ThreadExecutor.java:115)

Finished: The Bridge Season 1
Finished: Rules Of Engagement Season 3

@Omertron Omertron self-assigned this Mar 15, 2015
@Omertron
Copy link
Member Author

Comment #1 originally posted by Omertron on 2010-04-28T18:34:55.000Z:

Ran again, checked the files, and I am guessing the problem occurs because I renamed
some "series - the episode.mkv" files (in media location) to remove ' the ' and the
change is
not picked up. It seems I'll have to remove the xml files in order to resolve this.

Although I thought these default values for XML checking would handle this situation
since the media file no longer matches what is in the xml file:

## Recheck properties
# These properties control the forced rechecking of XML files
#
# Turn on/off the recheck function
mjb.recheck.XML=true

# The maximum number of XML files to rescan. Any more than this amount will be
checked on the next run.
mjb.recheck.Max=50

# Check if the version of YAMJ has changed, e.g. v1.8 -> v1.9
mjb.recheck.Version=true

# The number of YAMJ revisions before forcing a rescan
mjb.recheck.Revision=25

# The number of days before forcing a rescan.
# 0 (Zero) disables this check
mjb.recheck.Days=30

# Check to see if certain values of the XML file have UNKNOWN
# Currently only Title, plot, year, video image and episode plots are checked
mjb.recheck.Unknown=true

@Omertron
Copy link
Member Author

Comment #2 originally posted by Omertron on 2010-05-06T05:52:11.000Z:

so you changed the filename from "The Vampire Diaries S01E01.avi" to "Vampire Diaries
S01E01.avi" and this caused the error?

@Omertron
Copy link
Member Author

Comment #3 originally posted by Omertron on 2010-05-06T06:14:38.000Z:

I can't replicate this specific issue.

I have three files called "The Vampire Diaries S01Exx.avi"
renamed the last one to remove "The" and it still existed in the "The Vampire Diaries
S01E01.xml" file which is a problem.

Renaming all the files to remove "The" resulted in the correct XML because the base
XML was removed.

The problem is going to be detecting the change of name with the non-first episode
without a full recheck of the all the season's files. The recheck should handle this
(hence the reason for it) but I know there currently (r1650) there are some issues
with it

@Omertron
Copy link
Member Author

Comment #4 originally posted by Omertron on 2010-05-07T23:21:16.000Z:

I can't find a copy of the message that I sent through google groups so...

I did not change the TV series name, only the episode title part.
I don't think it mattered if it was the first season episode or any episode.

It just happened again with 1650, such that I had modified the episode because I saw
an extra space at the end:
"Chuck S03E14 - Chuck vs Honeymooners .mkv" ---> "Chuck S03E14 - Chuck vs
Honeymooners.mkv"
It crashed YAMJ on the second run with episode change but the first time it
downloaded the videoimage and named it
"Chuck S03E14 - Chuck vs Honeymooners .videoimage.jpg"
however on the second run, it fails with thread error message.

@Omertron
Copy link
Member Author

Comment #5 originally posted by Omertron on 2010-05-10T20:15:40.000Z:

Fixed r1651

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