Page 82 of 325

RE: problems with tracker

Posted: Tue Jul 27, 2010 3:39 am
by n01487477
ORIGINAL: Theages

I am using V1.6 of WitpTracker (with latest version of java) und the latest version of WitpAE. I started a new game as Japan. I initialized the database with the first daily autosave. Then I used multiturn read for the next 6 autosave files. Java showed the following error. WitpTracker seems to work regardless. There is 1 "Kawai R." in the pilot list.

java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for
column(s) $$: SYS_PK_103
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source)
at witptracker.Database.InsertRow(Database.java:54)
at witptracker.Pilots.InsertInTable(Pilots.java:157)
at witptracker.InMemoryDB.ComparePilotLists(InMemoryDB.java:2979)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:194)
at witptracker.ReadTurnTask.doInBackground(ReadTurnTask.java:1)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.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)
Insert Error code = -104
Table=Pilots Values=(8411,'Kawai R.',1,4)
Yeah,
sometimes happens with multi reads ... no worries unless it keeps giving the same message and hangs

RE: problems with tracker

Posted: Tue Jul 27, 2010 4:04 pm
by Kwik E Mart
i've searched this folder, but can't find an answer to why tracker looks for intel reports from the day before the loaded turn. i had to change the date on the first sigint report of the game (dec 7th) to dec 6th before it would show the report...is this WAD?

thanks

edit: found my answer, but still having issues (operator error, i'm sure!)...see my post below

RE: problems with tracker

Posted: Tue Jul 27, 2010 6:11 pm
by Bliztk
Rebuilt all my savegames plus combat reports.

Using multiple turn load starting from turn 1, got the same error as Theages but it worked.

Total turns read 58

Then I use the version with map and I get this error:


WitP Tracker AE tables loaded in 13 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:354)
       at witptracker.MapPanel.<init>(MapPanel.java:193)
       at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:883)
       at witptracker.GUIMain$5.run(GUIMain.java:997)
       at java.awt.event.InvocationEvent.dispatch(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)

BUT, if I run the version with no map it works. Got a Quad Core with 6GB of RAM and 1 TB of HD, so I guess that this is a problem with the code, not the machine [;)]

RE: WitPTracker AE Release 1.3.1 Available

Posted: Tue Jul 27, 2010 7:08 pm
by Kwik E Mart
ORIGINAL: floydg

Okay, I now have release 1.3.1 available.

This is an incremental fix for loading the signal intelligence files. The program will now also look for a file called "[font="Courier New"]asigint.txt[/font]" or "[font="Courier New"]jsigint.txt[/font]" if it can't find a file with a date on in the name. Also, it will look for the file for the date previous to the turn being loaded. That means, for example, if you load the first turn (12/7/41), it will be looking for a file named (for Japanese player), [font="Courier New"]jsigint_411206.txt[/font], which won't exist, but if you load the save after the first turn is run, the date will be 12/8/41 and it will look for a file named [font="Courier New"]jsigint_411207.txt [/font] or [font="Courier New"]jsigint.txt [/font] which should exist for December 7th.

Also added a tooltip to the Turn column in the Intel panel that shows the date associated with the turn number.

Release is available here.


ok, this answers my previous question...but i can't seem to get Tracker to load the asigint.txt file on the first turn...perhaps this has changed since 1.3.1?

RE: WitPTracker AE Release 1.3.1 Available

Posted: Wed Jul 28, 2010 10:09 pm
by Kwik E Mart
anybody home?

RE: WitPTracker AE Release 1.3.1 Available

Posted: Thu Jul 29, 2010 3:08 am
by n01487477
ORIGINAL: Kwik E Mart

anybody home?
Yep ... just thought you'd solved the problem on your own. If you do a pre-turn load before the game has executed the 7 Dec turn, there will always be this error recorded. It is normal & as quoted
That means, for example, if you load the first turn (12/7/41), it will be looking for a file named (for Japanese player), jsigint_411206.txt, which won't exist, but if you load the save after the first turn is run, the date will be 12/8/41 and it will look for a file named jsigint_411207.txt or jsigint.txt which should exist for December 7th.

And everything from then on will work as indicated.

RE: WitPTracker AE Release 1.3.1 Available

Posted: Thu Jul 29, 2010 3:52 pm
by Kwik E Mart
ORIGINAL: n01487477

ORIGINAL: Kwik E Mart

anybody home?
Yep ... just thought you'd solved the problem on your own. If you do a pre-turn load before the game has executed the 7 Dec turn, there will always be this error recorded. It is normal & as quoted
That means, for example, if you load the first turn (12/7/41), it will be looking for a file named (for Japanese player), jsigint_411206.txt, which won't exist, but if you load the save after the first turn is run, the date will be 12/8/41 and it will look for a file named jsigint_411207.txt or jsigint.txt which should exist for December 7th.

And everything from then on will work as indicated.

ok, thanks for response...i just thought that in my previous post it had been stated that if the program can't find the current date, it would default to the generic asigint.txt...as long as what I descibe is WAD, then I'm cool....thanks again


RE: WitPTracker AE Release 1.6 Available!

Posted: Sat Jul 31, 2010 12:59 am
by Amoral
I keep getting a Java.Lang.UnsatisfiedLinkError (see screenshot)

Image


WitpStaff launches without an error
I'm using windows xp professional - Service Pack 3(32bit)on an intel core2 Dup CPU
I made sure I had every windows update available from update.microsoft.com
I went through and uninstalled Java, .net framework 4.0 and Microsoft Visusal Studio C++ 2008 Redist.
Then I went back and reinstalled them in that order. I still get the same error.

I downloaded the attachment at the end of the tracker support page and ran it as well. You can see that screenshot as well.

Image

Any idea what could be wrong?


RE: WitPTracker AE Release 1.6 Available!

Posted: Sat Jul 31, 2010 1:39 am
by n01487477
ORIGINAL: Amoral
I keep getting a Java.Lang.UnsatisfiedLinkError (see screenshot)
WitpStaff launches without an error

A little strange as both use the same *.dll to access the save game file.
I'm using windows xp professional - Service Pack 3(32bit)on an intel core2 Dup CPU
I made sure I had every windows update available from update.microsoft.com
I went through and uninstalled Java, .net framework 4.0 and Microsoft Visusal Studio C++ 2008 Redist.

Any idea what could be wrong?
Sounds like you've done all required, but as with many Microsoft products, they don't always work as intended.[;)]
The 2008 C++ redist. can usually do the job, but I recommend trying the 2005 C++
http://www.microsoft.com/downloads/deta ... laylang=en

Use the vcredist_x86.exe version, even if you have an AMD processor.

Lastly, I'm sorry but I've had people have to uninstall and reinstall this & even go back to the original (not the SP) and then apply ... before it worked. This is not a Tracker bug, rather a configuration problem...

Good Luck and let me know how you go...

RE: WitPTracker AE Release 1.6 Available!

Posted: Sat Jul 31, 2010 1:48 am
by n01487477
This is what I have installed ... I doubt you need all of these

Image

RE: WitPTracker AE Release 1.6 Available!

Posted: Sat Jul 31, 2010 2:26 am
by Amoral
Damian,

I though I had all the c++ redistrutables, but the link in your post (Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update) has fixed my problem.

Thanks very much.

RE: WitPTracker AE Release 1.6 Available!

Posted: Sat Jul 31, 2010 3:13 am
by n01487477
ORIGINAL: Amoral

Damian,

I though I had all the c++ redistrutables, but the link in your post (Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update) has fixed my problem.

Thanks very much.
Glad to get it resolved for you ... Welcome to Tracker, hope you enjoy using it and if you have any suggestions/problems let us know [8D]

RE: WitPTracker AE Release 1.3.1 Available

Posted: Sat Jul 31, 2010 4:15 pm
by floydg
ORIGINAL: Kwik E Mart

ORIGINAL: n01487477

ORIGINAL: Kwik E Mart

anybody home?
Yep ... just thought you'd solved the problem on your own. If you do a pre-turn load before the game has executed the 7 Dec turn, there will always be this error recorded. It is normal & as quoted
That means, for example, if you load the first turn (12/7/41), it will be looking for a file named (for Japanese player), jsigint_411206.txt, which won't exist, but if you load the save after the first turn is run, the date will be 12/8/41 and it will look for a file named jsigint_411207.txt or jsigint.txt which should exist for December 7th.

And everything from then on will work as indicated.

ok, thanks for response...i just thought that in my previous post it had been stated that if the program can't find the current date, it would default to the generic asigint.txt...as long as what I descibe is WAD, then I'm cool....thanks again


Yes, it will look in the generic asigint.txt, but it has to be for the date it's looking for (derived from the first line of the file).

RE: problems with tracker

Posted: Sat Jul 31, 2010 9:19 pm
by floydg
ORIGINAL: Bliztk

Rebuilt all my savegames plus combat reports.

Using multiple turn load starting from turn 1, got the same error as Theages but it worked.

Total turns read 58

Then I use the version with map and I get this error:


WitP Tracker AE tables loaded in 13 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:354)
       at witptracker.MapPanel.<init>(MapPanel.java:193)
       at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:883)
       at witptracker.GUIMain$5.run(GUIMain.java:997)
       at java.awt.event.InvocationEvent.dispatch(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)

BUT, if I run the version with no map it works. Got a Quad Core with 6GB of RAM and 1 TB of HD, so I guess that this is a problem with the code, not the machine [;)]

Well, before we go blaming the hapless programmer, what's the command line you're running this with?

Floyd

RE: problems with tracker

Posted: Sun Aug 01, 2010 8:30 am
by invernomuto
Tracker stopped working in my PBEM game as allied.
I have no clue why.
I upgraded some days ago to the latest version and everything went ok (tracker loaded normally). Yesterday it gives this error:
D:\Download\WITP AE\WitPTracker AE PBEM Ste>java -Xms384m -Xmx512m -jar "WitPTra
cker.jar"
WitP Tracker AE tables loaded in 57 seconds
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.image.DataBufferInt.<init>(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.image.Raster.createPackedRaster(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknow
n Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.image.BufferedImage.<init>(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at witptracker.MapPanel$Map.<init>(MapPanel.java:354)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at witptracker.MapPanel.<init>(MapPanel.java:193)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:883)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at witptracker.GUIMain$5.run(GUIMain.java:997)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.event.InvocationEvent.dispatch(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.EventQueue.dispatchEvent(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.awt.EventDispatchThread.run(Unknown Source)

D:\Download\WITP AE\WitPTracker AE PBEM Ste>pause
Premere un tasto per continuare . . .

RE: problems with tracker

Posted: Sun Aug 01, 2010 8:41 am
by invernomuto
Ok, sorry Floydg, it was just a memory issue like Bliztk one's.
Solution found: I changed memory values in the WitpTracker.bat file and everything is running fine now.

mine working WitpTracker.bat:
java -Xms512m -Xmx1024m -jar "WitPTracker.jar"
pause

RE: problems with tracker

Posted: Sun Aug 01, 2010 8:44 am
by invernomuto
ORIGINAL: Bliztk

Rebuilt all my savegames plus combat reports.

Using multiple turn load starting from turn 1, got the same error as Theages but it worked.

Total turns read 58

Then I use the version with map and I get this error:


WitP Tracker AE tables loaded in 13 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:354)
       at witptracker.MapPanel.<init>(MapPanel.java:193)
       at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:883)
       at witptracker.GUIMain$5.run(GUIMain.java:997)
       at java.awt.event.InvocationEvent.dispatch(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)

BUT, if I run the version with no map it works. Got a Quad Core with 6GB of RAM and 1 TB of HD, so I guess that this is a problem with the code, not the machine [;)]

Hi, you need to change the value in your WitpTracker.bat file.
Change the numbers to bigger values. Increase by 128.
Here is mine:

java -Xms512m -Xmx1024m -jar "WitPTracker.jar"
pause

RE: problems with tracker

Posted: Sun Aug 01, 2010 9:09 am
by n01487477
Glad you figured it Invernomuto,

Just so everyone knows ... the support page now has a few more tips for common probs including these memory issues.

http://sites.google.com/site/witptracker/support


RE: problems with tracker

Posted: Mon Aug 02, 2010 2:05 pm
by Roger Neilson II
A request, in the Alerts Data set could there be a filter for type of Alert in the same way s there is for the Object name? Would be v useful....

Roger

RE: problems with tracker

Posted: Mon Aug 02, 2010 10:26 pm
by floydg
ORIGINAL: Roger Neilson II

A request, in the Alerts Data set could there be a filter for type of Alert in the same way s there is for the Object name? Would be v useful....

Roger

Yeah, that certainly would be useful. Just tricky to do because it could have conflicts with the other control (Object Type).