HELP - Tracker Error

This new stand alone release based on the legendary War in the Pacific from 2 by 3 Games adds significant improvements and changes to enhance game play, improve realism, and increase historical accuracy. With dozens of new features, new art, and engine improvements, War in the Pacific: Admiral's Edition brings you the most realistic and immersive WWII Pacific Theater wargame ever!

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

Post Reply
User avatar
dereck
Posts: 3014
Joined: Mon Sep 06, 2004 10:43 pm
Location: Romulus, MI

HELP - Tracker Error

Post by dereck »

I have been using Tracker with no problem for my new game. I am only 9 turns into it and suddenly I keep getting this error:

C:\Matrix Games\War in the Pacific Admiral's Edition\tools\Tracker>"C:\Program F
iles\Java\jre6\bin\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar"
WitP Tracker AE tables loaded in 37 seconds
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
at java.awt.image.DataBufferInt.<init>(Unknown Source)
at java.awt.image.Raster.createPackedRaster(Unknown Source)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknow
n Source)
at java.awt.image.BufferedImage.<init>(Unknown Source)
at witptracker.MapPanel$Map.<init>(MapPanel.java:428)
at witptracker.MapPanel.<init>(MapPanel.java:222)
at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:898)
at witptracker.GUIMain$5.run(GUIMain.java:1020)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

C:\Matrix Games\War in the Pacific Admiral's Edition\tools\Tracker>pause
Press any key to continue . . .
PO2 US Navy (1980-1986);
USS Midway CV-41 (1981-1984)
Whidbey Island, WA (1984-1986)
Naval Reserve (1986-1992)
Cpt Sherwood
Posts: 837
Joined: Thu Dec 01, 2005 12:27 am
Location: A Very Nice Place in the USA

RE: HELP - Tracker Error

Post by Cpt Sherwood »

oops, disregard.
“Luck is what happens when preparation meets opportunity.” &#8213; Lucius Annaeus Seneca
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: HELP - Tracker Error

Post by n01487477 »

ORIGINAL: dereck

I have been using Tracker with no problem for my new game. I am only 9 turns into it and suddenly I keep getting this error:

C:\Matrix Games\War in the Pacific Admiral's Edition\tools\Tracker>"C:\Program F
iles\Java\jre6\bin\java.exe" -Xms384m -Xmx512m -jar "WitPTracker.jar"
WitP Tracker AE tables loaded in 37 seconds
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
at java.awt.image.DataBufferInt.<init>(Unknown Source)
at java.awt.image.Raster.createPackedRaster(Unknown Source)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknow
n Source)
at java.awt.image.BufferedImage.<init>(Unknown Source)
at witptracker.MapPanel$Map.<init>(MapPanel.java:428)
at witptracker.MapPanel.<init>(MapPanel.java:222)
at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:898)
at witptracker.GUIMain$5.run(GUIMain.java:1020)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown
Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

C:\Matrix Games\War in the Pacific Admiral's Edition\tools\Tracker>pause
Press any key to continue . . .
Very few turns to be getting java memory errors.
1. Turn off the map.
2. Change your xms settings to 512 and xmx to 640
User avatar
dereck
Posts: 3014
Joined: Mon Sep 06, 2004 10:43 pm
Location: Romulus, MI

RE: HELP - Tracker Error

Post by dereck »

Unfortunately that didn't completely work. I get a different error now.

I should say that what caused this problem was I was going through looking at the history of a number of ships I had at sea to see their experience gains. After about the tenth (10th) ship the ship history screen went grey and after a while I simply closed that window using the 'X' on the window. Then I closed Tracker to start fresh but when I tried to reopen Tracker that is when I started getting the error above.

I think somehow maybe the database got corrupted because now, with the new setting you provided, I get this error:

C:\Matrix Games\War in the Pacific Admiral's Edition\tools\Tracker>java -Xms512m
-Xmx640m -jar "WitPTracker.jar" nomap
ERROR: Problem starting the database. Exiting.
java.sql.SQLException: error in script file line: 52 S1000 General error java.la
ng.NullPointerException in statement [SET TABLE TURNINFO INDEX'70912 0']
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
at org.hsqldb.jdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at witptracker.Database.<init>(Database.java:32)
at witptracker.Main.main(Main.java:59)

C:\Matrix Games\War in the Pacific Admiral's Edition\tools\Tracker>pause
Press any key to continue . . .
PO2 US Navy (1980-1986);
USS Midway CV-41 (1981-1984)
Whidbey Island, WA (1984-1986)
Naval Reserve (1986-1992)
paolorossi
Posts: 89
Joined: Mon Dec 17, 2012 6:52 pm
Location: Milan - Italy

RE: HELP - Tracker Error

Post by paolorossi »

It happened to me too. I had to use the non map option. Let's try
Post Reply

Return to “War in the Pacific: Admiral's Edition”