
WitpDecoder; Now providing some overview
Moderators: Joel Billings, wdolson, Don Bowen, mogami
-
- Posts: 837
- Joined: Thu Dec 01, 2005 12:27 am
- Location: A Very Nice Place in the USA
RE: witpDecoder for the Allies
Hi Woos, I started using your decoder on a BigB senario and I am getting this error. Can you shed some light on what is happening? The data base initializes and the program seems to run ok, but, there is this error.


- Attachments
-
- decoder_error_1.jpg (48.03 KiB) Viewed 166 times
“Luck is what happens when preparation meets opportunity.” ― Lucius Annaeus Seneca
RE: witpDecoder for the Allies
I am trying to initialize a game on the CHS mod.
I get this.
What should I do?

I get this.
What should I do?

- Attachments
-
- exception.jpg (139.83 KiB) Viewed 166 times
Appear at places to which he must hasten; move swiftly where he does not expect you.
Sun Tzu
Sun Tzu
- Local Yokel
- Posts: 1494
- Joined: Sun Feb 04, 2007 12:55 pm
- Location: Somerset, U.K.
RE: witpDecoder for the Allies
Excellent tool, Woos! However, I've hit a problem whilst monitoring Japanese in CHS Scenario 158, v2.03. Tool worked fine from 7 Dec 41 to 2 Mar 42 approximately, but now get following in witpDecoder.log:
java.lang.NullPointerException
at org.hsqldb.persist.DataFileCache.get(Unknown Source)
at org.hsqldb.Table$RowStore.get(Unknown Source)
at org.hsqldb.Table.setIndexRoots(Unknown Source)
at org.hsqldb.Table.setIndexRoots(Unknown Source)
at org.hsqldb.DatabaseCommandInterpreter.processSet(Unknown Source)
at org.hsqldb.DatabaseCommandInterpreter.executePart(Unknown Source)
at org.hsqldb.DatabaseCommandInterpreter.execute(Unknown Source)
at org.hsqldb.Session.sqlExecuteDirectNoPreChecks(Unknown Source)
at org.hsqldb.scriptio.ScriptReaderText.readDDL(Unknown Source)
at org.hsqldb.scriptio.ScriptReaderBase.readAll(Unknown Source)
at org.hsqldb.persist.Log.processScript(Unknown Source)
at org.hsqldb.persist.Log.open(Unknown Source)
at org.hsqldb.persist.Logger.openLog(Unknown Source)
at org.hsqldb.Database.reopen(Unknown Source)
at org.hsqldb.Database.open(Unknown Source)
at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
at org.hsqldb.DatabaseManager.newSession(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 de.retsiemuab.witpDecoder.aW.<init>(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
java.sql.SQLException: error in script file line: 56 S1000 General error java.lang.NullPointerException in statement [SET TABLE "LCUStatus" INDEX'135908488 135763704 135862808 135764288 135783736 135849176 135780048 135873280 135908488 135876680 135874984 135764288 135849176 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 de.retsiemuab.witpDecoder.aW.<init>(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
Couldn't open DB. Exiting.
Exception in thread "main" java.lang.NullPointerException
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
Tool attempts to execute, apparently fails to open DB, then aborts execution without displaying screen interface. Process disappears from process list on XP. Any thoughts?
java.lang.NullPointerException
at org.hsqldb.persist.DataFileCache.get(Unknown Source)
at org.hsqldb.Table$RowStore.get(Unknown Source)
at org.hsqldb.Table.setIndexRoots(Unknown Source)
at org.hsqldb.Table.setIndexRoots(Unknown Source)
at org.hsqldb.DatabaseCommandInterpreter.processSet(Unknown Source)
at org.hsqldb.DatabaseCommandInterpreter.executePart(Unknown Source)
at org.hsqldb.DatabaseCommandInterpreter.execute(Unknown Source)
at org.hsqldb.Session.sqlExecuteDirectNoPreChecks(Unknown Source)
at org.hsqldb.scriptio.ScriptReaderText.readDDL(Unknown Source)
at org.hsqldb.scriptio.ScriptReaderBase.readAll(Unknown Source)
at org.hsqldb.persist.Log.processScript(Unknown Source)
at org.hsqldb.persist.Log.open(Unknown Source)
at org.hsqldb.persist.Logger.openLog(Unknown Source)
at org.hsqldb.Database.reopen(Unknown Source)
at org.hsqldb.Database.open(Unknown Source)
at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
at org.hsqldb.DatabaseManager.newSession(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 de.retsiemuab.witpDecoder.aW.<init>(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
java.sql.SQLException: error in script file line: 56 S1000 General error java.lang.NullPointerException in statement [SET TABLE "LCUStatus" INDEX'135908488 135763704 135862808 135764288 135783736 135849176 135780048 135873280 135908488 135876680 135874984 135764288 135849176 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 de.retsiemuab.witpDecoder.aW.<init>(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
Couldn't open DB. Exiting.
Exception in thread "main" java.lang.NullPointerException
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
Tool attempts to execute, apparently fails to open DB, then aborts execution without displaying screen interface. Process disappears from process list on XP. Any thoughts?

RE: witpDecoder for the Allies
It's a pity, but this tool seems to require more computer acumen than I have available in my noggin.
Great idea though!
Great idea though!
Appear at places to which he must hasten; move swiftly where he does not expect you.
Sun Tzu
Sun Tzu
- Roger Neilson II
- Posts: 1419
- Joined: Sun Jul 16, 2006 11:16 am
- Location: Newcastle upon Tyne. England
RE: witpDecoder for the Allies
I'm getting a similar message with CHS, runs fine on normal game.
Roger
Roger

RE: witpDecoder for the Allies
Hello kaleun,
have you tried what you can read in the error message?
In the second line you can read: java.sql.SQLException: Your Database is only partially initialized. Please delete all witp.* files in the directory and restart.
After you have deleted those files it should work fine.
I hope that helps.
Best regards
Enrico
have you tried what you can read in the error message?
In the second line you can read: java.sql.SQLException: Your Database is only partially initialized. Please delete all witp.* files in the directory and restart.
After you have deleted those files it should work fine.
I hope that helps.
Best regards
Enrico
- Roger Neilson II
- Posts: 1419
- Joined: Sun Jul 16, 2006 11:16 am
- Location: Newcastle upon Tyne. England
RE: witpDecoder for the Allies
It doesn't...... and therin lies the problem I feel.ORIGINAL: EnricoR
Hello kaleun,
have you tried what you can read in the error message?
In the second line you can read: java.sql.SQLException: Your Database is only partially initialized. Please delete all witp.* files in the directory and restart.
After you have deleted those files it should work fine.
I hope that helps.
Best regards
Enrico

RE: witpDecoder for the Allies
In what directory would I find those files?
I can't find them anywhere.
I can't find them anywhere.
Appear at places to which he must hasten; move swiftly where he does not expect you.
Sun Tzu
Sun Tzu
RE: WitpDecoder; Now also for allies
Ok I'm going to jump in and give this a try.
Former War in the Pacific Test Team Manager and Beta Tester for War in the East.


RE: WitpDecoder; Now also for allies
Is the link on the first post up to date?
Former War in the Pacific Test Team Manager and Beta Tester for War in the East.


- seydlitz_slith
- Posts: 2036
- Joined: Sun Jun 16, 2002 6:13 am
- Location: Danville, IL
RE: WitpDecoder; Now also for allies
Hello,
I am having a problem getting the program to initialise, and it seems slightly different than the problems seen on the bulleting board. Hopefully this is very simple and someone will be able to help send me on my way.
Everything is installed per the instructions. When I try to run the witpdecoder.bat file, I was getting the dosbox that opened and closed faster than I could read it. So, I went and did a cmd line run so I could read the box.
It appears that my PC (running XP home with the required java run time installed) is not recognising the JAVA command in the batch file and therefore refuses to run the batch. Here is a screen print:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
Directory of C:\Matrix Games\War in the Pacific\SAVE\decoder
04/08/2007 10:43 AM <DIR> .
04/08/2007 10:43 AM <DIR> ..
04/08/2007 10:16 AM 382,331 BigMainMap.jpg
11/19/2006 03:10 AM 3,956 clusterbases-example.csv
11/19/2006 03:10 AM 343 clusters-example.csv
11/12/2006 12:19 PM 641,570 hsqldb.jar
11/14/2006 09:52 PM 3,447 hsqldb_license.txt
04/08/2007 10:16 AM 117,050 MainMap.jpg
11/11/2006 11:01 PM 64 ships4history.csv
11/12/2006 12:28 PM 32,768 swt-awt-win32-3235.dll
11/12/2006 12:28 PM 73,728 swt-gdip-win32-3235.dll
11/14/2006 09:56 PM 4,725 SWT-license.html
11/12/2006 12:28 PM 40,960 swt-wgl-win32-3235.dll
11/12/2006 12:28 PM 323,584 swt-win32-3235.dll
09/21/2006 12:18 PM 1,490,613 swt.jar
04/08/2007 10:43 AM 16 witp.lck
04/08/2007 10:43 AM 0 witp.log
04/08/2007 10:43 AM 428 witp.properties
04/08/2007 10:43 AM 105 witp.script
12/11/2006 12:12 AM 499,700 witpDecoder-docs.pdf
04/08/2007 10:45 AM 141 witpdecoder.bat
04/08/2007 10:43 AM 0 witpDecoder.log
12/12/2006 01:28 AM 130,529 witpDecoder2.jar
21 File(s) 3,746,058 bytes
2 Dir(s) 191,144,714,240 bytes free
C:\Matrix Games\War in the Pacific\SAVE\decoder>witpdecoder.bat
C:\Matrix Games\War in the Pacific\SAVE\decoder>echo off
'java' is not recognized as an internal or external command,
operable program or batch file.
C:\Matrix Games\War in the Pacific\SAVE\decoder>
So, my problem is that I can not get the bat file to run, so I can not initialize the database.
Is there something in windows security or mcafee security settings that would be causing this?
I have the same problem with Andrews map switcher bat file on this PC.
FWIW the widpdecoder2.jar opens ok, but without an initialised database, I have no info.
I am having a problem getting the program to initialise, and it seems slightly different than the problems seen on the bulleting board. Hopefully this is very simple and someone will be able to help send me on my way.
Everything is installed per the instructions. When I try to run the witpdecoder.bat file, I was getting the dosbox that opened and closed faster than I could read it. So, I went and did a cmd line run so I could read the box.
It appears that my PC (running XP home with the required java run time installed) is not recognising the JAVA command in the batch file and therefore refuses to run the batch. Here is a screen print:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
Directory of C:\Matrix Games\War in the Pacific\SAVE\decoder
04/08/2007 10:43 AM <DIR> .
04/08/2007 10:43 AM <DIR> ..
04/08/2007 10:16 AM 382,331 BigMainMap.jpg
11/19/2006 03:10 AM 3,956 clusterbases-example.csv
11/19/2006 03:10 AM 343 clusters-example.csv
11/12/2006 12:19 PM 641,570 hsqldb.jar
11/14/2006 09:52 PM 3,447 hsqldb_license.txt
04/08/2007 10:16 AM 117,050 MainMap.jpg
11/11/2006 11:01 PM 64 ships4history.csv
11/12/2006 12:28 PM 32,768 swt-awt-win32-3235.dll
11/12/2006 12:28 PM 73,728 swt-gdip-win32-3235.dll
11/14/2006 09:56 PM 4,725 SWT-license.html
11/12/2006 12:28 PM 40,960 swt-wgl-win32-3235.dll
11/12/2006 12:28 PM 323,584 swt-win32-3235.dll
09/21/2006 12:18 PM 1,490,613 swt.jar
04/08/2007 10:43 AM 16 witp.lck
04/08/2007 10:43 AM 0 witp.log
04/08/2007 10:43 AM 428 witp.properties
04/08/2007 10:43 AM 105 witp.script
12/11/2006 12:12 AM 499,700 witpDecoder-docs.pdf
04/08/2007 10:45 AM 141 witpdecoder.bat
04/08/2007 10:43 AM 0 witpDecoder.log
12/12/2006 01:28 AM 130,529 witpDecoder2.jar
21 File(s) 3,746,058 bytes
2 Dir(s) 191,144,714,240 bytes free
C:\Matrix Games\War in the Pacific\SAVE\decoder>witpdecoder.bat
C:\Matrix Games\War in the Pacific\SAVE\decoder>echo off
'java' is not recognized as an internal or external command,
operable program or batch file.
C:\Matrix Games\War in the Pacific\SAVE\decoder>
So, my problem is that I can not get the bat file to run, so I can not initialize the database.
Is there something in windows security or mcafee security settings that would be causing this?
I have the same problem with Andrews map switcher bat file on this PC.
FWIW the widpdecoder2.jar opens ok, but without an initialised database, I have no info.
-
- Posts: 837
- Joined: Thu Dec 01, 2005 12:27 am
- Location: A Very Nice Place in the USA
RE: WitpDecoder; Now also for allies
It is too bad. This is a promising program, but without some support it will fall by the wayside.
“Luck is what happens when preparation meets opportunity.” ― Lucius Annaeus Seneca
- Roger Neilson II
- Posts: 1419
- Joined: Sun Jul 16, 2006 11:16 am
- Location: Newcastle upon Tyne. England
RE: witpDecoder for the Allies
Ok guys, a longshot. If anyone can run witpload on Scenario 158 and send me the generated files I will try to get this to work with my CHS game.
It works fine with my standard games, but CHS is causing a problem and soem people say it won't work with CHS and others say it will.
Cheers
Roger
didactylos at bigfoot dot com
It works fine with my standard games, but CHS is causing a problem and soem people say it won't work with CHS and others say it will.
Cheers
Roger
didactylos at bigfoot dot com

-
- Posts: 837
- Joined: Thu Dec 01, 2005 12:27 am
- Location: A Very Nice Place in the USA
RE: witpDecoder for the Allies
ORIGINAL: Roger Neilson II
Ok guys, a longshot. If anyone can run witpload on Scenario 158 and send me the generated files I will try to get this to work with my CHS game.
It works fine with my standard games, but CHS is causing a problem and soem people say it won't work with CHS and others say it will.
Cheers
Roger
didactylos at bigfoot dot com
You have mail Roger.
I did figure out my problem. Most likely I screwed up the update or install. I removed decoder and reinstalled from scratch and it worked fine on BigBs senario files. I still can not get Alaska Warriors French Gambit to initialize. I think I got CHS 158 to initialize.
“Luck is what happens when preparation meets opportunity.” ― Lucius Annaeus Seneca
-
- Posts: 837
- Joined: Thu Dec 01, 2005 12:27 am
- Location: A Very Nice Place in the USA
RE: WitpDecoder; Now also for allies
ORIGINAL: seydlitz
Hello,
I am having a problem getting the program to initialise, and it seems slightly different than the problems seen on the bulleting board. Hopefully this is very simple and someone will be able to help send me on my way.
Everything is installed per the instructions. When I try to run the witpdecoder.bat file, I was getting the dosbox that opened and closed faster than I could read it. So, I went and did a cmd line run so I could read the box.
It appears that my PC (running XP home with the required java run time installed) is not recognising the JAVA command in the batch file and therefore refuses to run the batch. Here is a screen print:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
Directory of C:\Matrix Games\War in the Pacific\SAVE\decoder
04/08/2007 10:43 AM <DIR> .
04/08/2007 10:43 AM <DIR> ..
04/08/2007 10:16 AM 382,331 BigMainMap.jpg
11/19/2006 03:10 AM 3,956 clusterbases-example.csv
11/19/2006 03:10 AM 343 clusters-example.csv
11/12/2006 12:19 PM 641,570 hsqldb.jar
11/14/2006 09:52 PM 3,447 hsqldb_license.txt
04/08/2007 10:16 AM 117,050 MainMap.jpg
11/11/2006 11:01 PM 64 ships4history.csv
11/12/2006 12:28 PM 32,768 swt-awt-win32-3235.dll
11/12/2006 12:28 PM 73,728 swt-gdip-win32-3235.dll
11/14/2006 09:56 PM 4,725 SWT-license.html
11/12/2006 12:28 PM 40,960 swt-wgl-win32-3235.dll
11/12/2006 12:28 PM 323,584 swt-win32-3235.dll
09/21/2006 12:18 PM 1,490,613 swt.jar
04/08/2007 10:43 AM 16 witp.lck
04/08/2007 10:43 AM 0 witp.log
04/08/2007 10:43 AM 428 witp.properties
04/08/2007 10:43 AM 105 witp.script
12/11/2006 12:12 AM 499,700 witpDecoder-docs.pdf
04/08/2007 10:45 AM 141 witpdecoder.bat
04/08/2007 10:43 AM 0 witpDecoder.log
12/12/2006 01:28 AM 130,529 witpDecoder2.jar
21 File(s) 3,746,058 bytes
2 Dir(s) 191,144,714,240 bytes free
C:\Matrix Games\War in the Pacific\SAVE\decoder>witpdecoder.bat
C:\Matrix Games\War in the Pacific\SAVE\decoder>echo off
'java' is not recognized as an internal or external command,
operable program or batch file.
C:\Matrix Games\War in the Pacific\SAVE\decoder>
So, my problem is that I can not get the bat file to run, so I can not initialize the database.
Is there something in windows security or mcafee security settings that would be causing this?
I have the same problem with Andrews map switcher bat file on this PC.
FWIW the widpdecoder2.jar opens ok, but without an initialised database, I have no info.
You need to make sure you have Java installed. Check the read me file.
“Luck is what happens when preparation meets opportunity.” ― Lucius Annaeus Seneca
-
- Posts: 837
- Joined: Thu Dec 01, 2005 12:27 am
- Location: A Very Nice Place in the USA
RE: WitpDecoder; Now also for allies
Roger Neilson II, I did get CHS 158 to run properly( Did you know that Kondo is in charge of two things( 2nd Fleet and TF 5 )?
“Luck is what happens when preparation meets opportunity.” ― Lucius Annaeus Seneca
RE: New tool: WitpDecoder; No more spreadsheets!
Ok I give up back to paper and pencile.
Former War in the Pacific Test Team Manager and Beta Tester for War in the East.


-
- Posts: 837
- Joined: Thu Dec 01, 2005 12:27 am
- Location: A Very Nice Place in the USA
RE: New tool: WitpDecoder; No more spreadsheets!
ORIGINAL: Kid
Ok I give up back to paper and pencile.
What senario are you trying to use it with Kid? Maybe I can help. I have it running with stock, CHS 158 and BigBs senario.
“Luck is what happens when preparation meets opportunity.” ― Lucius Annaeus Seneca
RE: New tool: WitpDecoder; No more spreadsheets!
Stock Scenario 15 PBEM me as allies. I'm going to check and make sure I have the right version of Java then I'll get back to you.
Former War in the Pacific Test Team Manager and Beta Tester for War in the East.


RE: Tracking leader stats
Steps I’ve done to Load WitpDecoder for a Stock Scenario 15 PBEM ame
1. Downloaded the witpdecoder.zip
2. Created a Subfolder for my PBEM game in the C:\Matrix Games\War In The Pacific\SAVE folder
3. Extracted the files into this folder
4. Opened up the batch file and edited “echo off REM java -Djava.library.path=%CD% -jar witpdecoder2.jar PasswordHere java -Djava.library.path=. -jar witpdecoder2.jar” replacing the “PasswordHere” with my password. Which does not match the instructions given in the witpDecoder-docs.pdf.
6. Installed latest Version of Java
7. Executed batch file
8. Selected File> Initialize Database
9. Entered the following information
· Scenario – 15
· Nationally – Allies
· Checked the PBEM box
10. Selected Initialize
11. Received error

1. Downloaded the witpdecoder.zip
2. Created a Subfolder for my PBEM game in the C:\Matrix Games\War In The Pacific\SAVE folder
3. Extracted the files into this folder
4. Opened up the batch file and edited “echo off REM java -Djava.library.path=%CD% -jar witpdecoder2.jar PasswordHere java -Djava.library.path=. -jar witpdecoder2.jar” replacing the “PasswordHere” with my password. Which does not match the instructions given in the witpDecoder-docs.pdf.
6. Installed latest Version of Java
7. Executed batch file
8. Selected File> Initialize Database
9. Entered the following information
· Scenario – 15
· Nationally – Allies
· Checked the PBEM box
10. Selected Initialize
11. Received error

- Attachments
-
- InitializeError.jpg (98.65 KiB) Viewed 166 times
Former War in the Pacific Test Team Manager and Beta Tester for War in the East.

