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

java.lang.NullPointerException & java.lang.OutOfMemoryError: Java heap space with r2009 #1757

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

Comments

@Omertron
Copy link
Member

Original issue 1758 created by Omertron on 2010-12-29T17:01:57.000Z:

Hi,

Looks like old problems are back. I can't create indexes anymore.

-Windows 7 64bits, 6Gb memory

  • Moviejukebox.bat: java -Xms1024m -Xmx4500m -classpath .;resources;lib/* com.moviejukebox.MovieJukebox %*

Here's what I get:

{15:41:20 Thread-11} Finished: Zelig - Woody Allen (2260/2262)
{15:41:20 Thread-8} Finished: Zorba le Grec (1964) -- Anthony Quinn, Alan Bates,
Irene Papas (2261/2262)
{15:41:20 Thread-12} Finished: Ça commence aujourd'hui (1999) -- Bertrand Taver
nier - Philippe Torreton, Maria Pitarresi, Nadia Kaci (2262/2262)
{15:41:20 Thread-12} Memory - Total: 981 MB, Free: 906 MB
{15:41:20 main} Memory - Total: 981 MB, Free: 924 MB
{15:41:20 main} Indexing libraries...
{15:41:20 Thread-14} Indexing Genres...
{15:41:20 Thread-15} Indexing Year...
{15:41:20 Thread-17} Indexing Cast...
{15:41:20 Thread-16} Indexing Director...
{15:41:20 Thread-18} Indexing Country...
{15:41:20 Thread-15} Indexing Title...
{15:41:21 Thread-16} Indexing Library ...
{15:41:21 Thread-19} Indexing Other...
{15:41:21 main} Sorting Indexes ...
{15:41:22 main} Memory - Total: 981 MB, Free: 772 MB
{15:41:23 main} Indexing masters...
{15:41:24 main} Memory - Total: 981 MB, Free: 877 MB
{15:41:24 main} Writing movie data...
{15:41:42 main} Memory - Total: 1,96 GB, Free: 1,23 GB
{15:41:42 main} Writing Indexes XML...
{15:41:42 main} Indexing Year (1/8) contains 13 indexes
{15:41:42 main} Indexing Director (2/8) contains 1057 indexes
{15:41:51 main} Indexing Title (3/8) contains 27 indexes
{15:41:51 main} Indexing Genres (4/8) contains 27 indexes
{15:41:51 main} Indexing Country (5/8) contains 63 indexes
{15:41:54 main} Indexing Other (6/8) contains 5 indexes
{15:41:55 main} Indexing Cast (7/8) contains 32601 indexes
{15:43:21 main} Indexing Set (8/8) contains 54 indexes
{15:43:23 main} Writing Category XML...
{15:43:23 main} Indexing Categories
{15:43:24 main} Writing Indexes HTML...
java.lang.NullPointerException
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.<init>(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.createReader
(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(Unknown Source)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:397)
at net.sf.saxon.event.Sender.send(Sender.java:182)
at net.sf.saxon.Controller.transform(Controller.java:1691)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter.writeSingleIndexPage(M
ovieJukeboxHTMLWriter.java:445)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter.access$000(MovieJukebo
xHTMLWriter.java:61)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter$1.call(MovieJukeboxHTM
LWriter.java:350)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter$1.call(MovieJukeboxHTM
LWriter.java:347)
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(ThreadExecu
tor.java:115)
{16:26:46 Thread-50} HTMLWriter: Failed generating HTML library index for Catego
ry: Cast, Key: Helena Bonham Carter, Page: 1
{16:27:28 Thread-50} java.lang.NullPointerException
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.<init>(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.createReader
(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(Unknown Source)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:397)
at net.sf.saxon.event.Sender.send(Sender.java:182)
at net.sf.saxon.Controller.transform(Controller.java:1691)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter.writeSingleIndexPage(M
ovieJukeboxHTMLWriter.java:445)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter.access$000(MovieJukebo
xHTMLWriter.java:61)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter$1.call(MovieJukeboxHTM
LWriter.java:350)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter$1.call(MovieJukeboxHTM
LWriter.java:347)
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(ThreadExecu
tor.java:115)

java.lang.NullPointerException
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.<init>(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.createReader
(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
java.lang.NullPointerException
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.<init>(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.createReader
(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(Unknown Source)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:397)
at net.sf.saxon.event.Sender.send(Sender.java:182)
at net.sf.saxon.Controller.transform(Controller.java:1691)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter.writeSingleIndexPage(M
ovieJukeboxHTMLWriter.java:445)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter.access$000(MovieJukebo
xHTMLWriter.java:61)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter$1.call(MovieJukeboxHTM
LWriter.java:350)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter$1.call(MovieJukeboxHTM
LWriter.java:347)
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(ThreadExecu
tor.java:115)
{17:01:26 Thread-48} HTMLWriter: Failed generating HTML library index for Catego
ry: Cast, Key: James Flavin, Page: 1
{17:01:26 Thread-48} java.lang.NullPointerException
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.<init>(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.createReader
(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(Unknown Source)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:397)
at net.sf.saxon.event.Sender.send(Sender.java:182)
at net.sf.saxon.Controller.transform(Controller.java:1691)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter.writeSingleIndexPage(M
ovieJukeboxHTMLWriter.java:445)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter.access$000(MovieJukebo
xHTMLWriter.java:61)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter$1.call(MovieJukeboxHTM
LWriter.java:350)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter$1.call(MovieJukeboxHTM
LWriter.java:347)
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(ThreadExecu
tor.java:115)

java.lang.NullPointerException
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.<init>(Unknown
Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.createReader
(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrent
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineD
ocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(Unknown Source)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:397)
at net.sf.saxon.event.Sender.send(Sender.java:182)
at net.sf.saxon.Controller.transform(Controller.java:1691)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter.writeSingleIndexPage(M
ovieJukeboxHTMLWriter.java:445)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter.access$000(MovieJukebo
xHTMLWriter.java:61)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter$1.call(MovieJukeboxHTM
LWriter.java:350)
at com.moviejukebox.writer.MovieJukeboxHTMLWriter$1.call(MovieJukeboxHTM
LWriter.java:347)
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

... and there it hungs.

Thanks for your help.

@Omertron
Copy link
Member Author

Comment #1 originally posted by Omertron on 2010-12-29T17:12:11.000Z:

Unfortunatly, I can't roll back to a previous release, because of the Allocine issue, which was fixed with r2008...

@Omertron
Copy link
Member Author

Comment #2 originally posted by Omertron on 2011-02-15T16:00:41.000Z:

<empty>

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