witpDecoder 0.5 released
Moderators: Joel Billings, wdolson, Don Bowen, mogami
- Roger Neilson II
- Posts: 1419
- Joined: Sun Jul 16, 2006 11:16 am
- Location: Newcastle upon Tyne. England
RE: witpDecoder 0.5 released
Ok, I just reinstalled the programme to a clean folder. I have already installed to two other ones that worked fine.... base WITP and CHS 155. This is CHS158.
Picture of screen report attached. Here is the log file:
java.lang.ClassNotFoundException: de.retsiemuab.witpDecoder.gui.mapviewPlugins.TestPlugin
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at de.retsiemuab.witpDecoder.gui.am.<init>(Unknown Source)
at de.retsiemuab.witpDecoder.gui.H.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
Not loading one/all plugins.
Could not create or initialize the databasejava.sql.SQLException: Numeric value out of range
java.sql.SQLException: Numeric value out of range
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 de.retsiemuab.witpDecoder.d.a(Unknown Source)
at de.retsiemuab.witpDecoder.ioreaders.c.a(Unknown Source)
at de.retsiemuab.witpDecoder.d.b(Unknown Source)
at de.retsiemuab.witpDecoder.gui.at.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.retsiemuab.witpDecoder.gui.u.d(Unknown Source)
at de.retsiemuab.witpDecoder.gui.i.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at de.retsiemuab.witpDecoder.gui.H.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
Couldn't set up a working DB template. Bad, Bad.

Picture of screen report attached. Here is the log file:
java.lang.ClassNotFoundException: de.retsiemuab.witpDecoder.gui.mapviewPlugins.TestPlugin
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at de.retsiemuab.witpDecoder.gui.am.<init>(Unknown Source)
at de.retsiemuab.witpDecoder.gui.H.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
Not loading one/all plugins.
Could not create or initialize the databasejava.sql.SQLException: Numeric value out of range
java.sql.SQLException: Numeric value out of range
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 de.retsiemuab.witpDecoder.d.a(Unknown Source)
at de.retsiemuab.witpDecoder.ioreaders.c.a(Unknown Source)
at de.retsiemuab.witpDecoder.d.b(Unknown Source)
at de.retsiemuab.witpDecoder.gui.at.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.retsiemuab.witpDecoder.gui.u.d(Unknown Source)
at de.retsiemuab.witpDecoder.gui.i.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at de.retsiemuab.witpDecoder.gui.H.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
Couldn't set up a working DB template. Bad, Bad.

- Attachments
-
- javaproblem.gif (34.71 KiB) Viewed 180 times

RE: witpDecoder 0.5 released
Please see post 18.
BTW, the first Exception indicates that you didn't correctly install the de/retsiemuab/... directory containing the Plugin (or that I put it wrongly into the zip archive).
I made no changes to the zip files since I put it on-line yesterday. VSWG is talking about a beta version where he managed to find some errors (including the "USA base oil doesn't work" error which was caused by me being too blind to see that I programmed a "=" instead of a "+=".
BTW, the first Exception indicates that you didn't correctly install the de/retsiemuab/... directory containing the Plugin (or that I put it wrongly into the zip archive).
I made no changes to the zip files since I put it on-line yesterday. VSWG is talking about a beta version where he managed to find some errors (including the "USA base oil doesn't work" error which was caused by me being too blind to see that I programmed a "=" instead of a "+=".

- Roger Neilson II
- Posts: 1419
- Joined: Sun Jul 16, 2006 11:16 am
- Location: Newcastle upon Tyne. England
RE: witpDecoder 0.5 released
Its odd, as I have already installed the files into two other WITP file structures with no problem. So the install should be identical. The previous WITPdecoder works fine on the 158 scenario so I know everything is ok in terms of my set up. I will simply try again from scratch with a new download and see what that does.
Roger
Roger

- USSAmerica
- Posts: 19211
- Joined: Mon Oct 28, 2002 4:32 am
- Location: Graham, NC, USA
- Contact:
RE: witpDecoder 0.5 released
Two installations for my AI and PBEM games of CHS 155 are both working great for me. [8D]
One question. Is there any way to display "automatically generated" or bonus supply/fuel/oil/resources at bases, in addition to their industry generated amounts? For example, the supply and fuel generated at San Francisco in stock. There are a lot of these type bases in CHS.
Thanks again, Woos! Merry Christmas! [:)]
One question. Is there any way to display "automatically generated" or bonus supply/fuel/oil/resources at bases, in addition to their industry generated amounts? For example, the supply and fuel generated at San Francisco in stock. There are a lot of these type bases in CHS.
Thanks again, Woos! Merry Christmas! [:)]
Mike
"Good times will set you free" - Jimmy Buffett
"They need more rum punch" - Me

Artwork by The Amazing Dixie
"Good times will set you free" - Jimmy Buffett
"They need more rum punch" - Me

Artwork by The Amazing Dixie
- Roger Neilson II
- Posts: 1419
- Joined: Sun Jul 16, 2006 11:16 am
- Location: Newcastle upon Tyne. England
RE: witpDecoder 0.5 released
Numerous installs and reinstalls, deleting things and anything else I can think of have all failed to get this one working.
For the moment I give up.
Roger
For the moment I give up.
Roger

RE: witpDecoder 0.5 released
Daily supply/fuel/oil/resources is recognized and displayed by witpDecoder! [:)] Or do you want to have them displayed separately?ORIGINAL: USS America
One question. Is there any way to display "automatically generated" or bonus supply/fuel/oil/resources at bases, in addition to their industry generated amounts? For example, the supply and fuel generated at San Francisco in stock. There are a lot of these type bases in CHS.
Yes, sorry for the confusion. This bug is fixed in the version posted in this thread. I'm using this new version, and it works fine with my CHS Scen 158 PBEM.ORIGINAL: Woos
I made no changes to the zip files since I put it on-line yesterday. VSWG is talking about a beta version where he managed to find some errors (including the "USA base oil doesn't work" error which was caused by me being too blind to see that I programmed a "=" instead of a "+=".

- Roger Neilson II
- Posts: 1419
- Joined: Sun Jul 16, 2006 11:16 am
- Location: Newcastle upon Tyne. England
RE: witpDecoder 0.5 released
Well I can see no logical explanation why it won't work for me. V.4 works fine. I have created a new folder (in the right place) and about ten times now installed v.5 into there and run it... all with the same results. I have several times deleted the excel files that witpload creates in the scenario folder as well and watched them rebuild when I run v.5.
I have done exactly the same install for my CHS 155 and my base 15 scenarios in other installs and they both worked first time.
I can only think that there is some problem with the scenario files - if I load a new original scenario file will that mess up my game?
Roger
I have done exactly the same install for my CHS 155 and my base 15 scenarios in other installs and they both worked first time.
I can only think that there is some problem with the scenario files - if I load a new original scenario file will that mess up my game?
Roger

- USSAmerica
- Posts: 19211
- Joined: Mon Oct 28, 2002 4:32 am
- Location: Graham, NC, USA
- Contact:
RE: witpDecoder 0.5 released
ORIGINAL: VSWG
ORIGINAL: USS America
One question. Is there any way to display "automatically generated" or bonus supply/fuel/oil/resources at bases, in addition to their industry generated amounts? For example, the supply and fuel generated at San Francisco in stock. There are a lot of these type bases in CHS.
Daily supply/fuel/oil/resources is recognized and displayed by witpDecoder! [:)] Or do you want to have them displayed separately?
Maybe my understanding of the base screen for US in CHS 155 is wrong then. The base shows Oil Storage: 55000/6000, and the Oil industry at the base is currently: (499) x 1.
WitPDecoder 0.5 displays the following for the US base: United States: 6 (+2994)
Seems to me the Decoder display matches perfectly with the "Oil Industry" at the base. What then, is the /6000 displayed on the base Oil Storage? I took it to mean the same as SF in Stock, where there is Supply Storage and then "bonus" supply production at the base.
Anyone have any ideas that can clear this up for me? [:)]
Mike
"Good times will set you free" - Jimmy Buffett
"They need more rum punch" - Me

Artwork by The Amazing Dixie
"Good times will set you free" - Jimmy Buffett
"They need more rum punch" - Me

Artwork by The Amazing Dixie
RE: witpDecoder 0.5 released
The Industry tab displays only numbers for the entire cluster, not single bases, so I have no idea how you are able to see the production for "United States" alone - unless you use a separate cluster for this base only.ORIGINAL: USS America
WitPDecoder 0.5 displays the following for the US base: United States: 6 (+2994)
BTW, (499) x1 means 499 damaged oil centers, and 1 undamaged, so your total oil production by industry should be 6, for a total of 6006.
You are correct, the /6000 means another 6000 oil arriving every day at this base. As I said above, this wasn't displayed correctly in V. 0.4, but it works fine for me now - are you sure you are using V. 0.5? Have you deleted all witp.* files before installing the new version?Seems to me the Decoder display matches perfectly with the "Oil Industry" at the base. What then, is the /6000 displayed on the base Oil Storage? I took it to mean the same as SF in Stock, where there is Supply Storage and then "bonus" supply production at the base.

RE: witpDecoder 0.5 released
Ahhh, you're looking at the storage tab!! True, these numbers do not include off-map production.

- USSAmerica
- Posts: 19211
- Joined: Mon Oct 28, 2002 4:32 am
- Location: Graham, NC, USA
- Contact:
RE: witpDecoder 0.5 released
Thanks, Martin!
OK, Woos. Future enhancement, perhaps? [;)]
OK, Woos. Future enhancement, perhaps? [;)]
Mike
"Good times will set you free" - Jimmy Buffett
"They need more rum punch" - Me

Artwork by The Amazing Dixie
"Good times will set you free" - Jimmy Buffett
"They need more rum punch" - Me

Artwork by The Amazing Dixie
RE: witpDecoder 0.5 released
ORIGINAL: Woos
ORIGINAL: RAM
yah, got the problem too, I'm trying to load a savegame of the scenario 157, got exactly the same error.
Can't be since other people reported the problem during initialization, not during save game loading.
This is most probably a mismatch between the value range witpDecoder's database expect for some AC attribute and what CHS choose to set it to. Unless someone with this error sends me the generated WITP???.csv files from his witpdecoder directory I can't do anything about it. I got CHS 158c (due to some other issues) and with that the problems doesn't seem to occur.
Oh, and no fix before Christmas anyway, have a nice holiday.
my error, sorry, it happens during initialization.
this is the error message in the log file:
In getDataName()
Could not create or initialize the databasejava.sql.SQLException: Numeric value out of range
java.sql.SQLException: Numeric value out of range
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 de.retsiemuab.witpDecoder.d.a(Unknown Source)
at de.retsiemuab.witpDecoder.ioreaders.c.a(Unknown Source)
at de.retsiemuab.witpDecoder.d.b(Unknown Source)
at de.retsiemuab.witpDecoder.gui.at.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.retsiemuab.witpDecoder.gui.u.d(Unknown Source)
at de.retsiemuab.witpDecoder.gui.i.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at de.retsiemuab.witpDecoder.gui.H.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
RAM
"Look at me! look at me!!!
Not like that! NOT LIKE THAT!!!"
"Look at me! look at me!!!
Not like that! NOT LIKE THAT!!!"
- Local Yokel
- Posts: 1494
- Joined: Sun Feb 04, 2007 12:55 pm
- Location: Somerset, U.K.
RE: witpDecoder 0.5 released
I'm also getting the 'Numeric value out of range' error. Have sent PM with copies of the requested csv files. Error triggered by CHS scenario 157, version 2.08.

- BigBadWolf
- Posts: 584
- Joined: Wed Aug 08, 2007 7:01 am
- Location: Serbia
RE: witpDecoder 0.5 released
Thank you very much for the update, Woos. However, I am having problems with batch load as allies (stock scenario 15). I keep getting SQL errors after reading in 2-3 files.
1. attempt:
Couldn't write things to the DB due to java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_IDX_87
java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_IDX_87
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 de.retsiemuab.witpDecoder.d.a(Unknown Source)
at de.retsiemuab.witpDecoder.data.h.a(Unknown Source)
at de.retsiemuab.witpDecoder.data.l.a(Unknown Source)
at de.retsiemuab.witpDecoder.b.a(Unknown Source)
at de.retsiemuab.witpDecoder.gui.aT.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.retsiemuab.witpDecoder.gui.u.b(Unknown Source)
at de.retsiemuab.witpDecoder.gui.C.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at de.retsiemuab.witpDecoder.gui.H.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
2. attempt (after clearing and re-initializing, and beginning reading at a couple a files later):
Couldn't write things to the DB due to java.sql.SQLException: S1000 General error java.lang.NullPointerException
java.sql.SQLException: S1000 General error java.lang.NullPointerException
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 de.retsiemuab.witpDecoder.d.a(Unknown Source)
at de.retsiemuab.witpDecoder.data.l.a(Unknown Source)
at de.retsiemuab.witpDecoder.b.a(Unknown Source)
at de.retsiemuab.witpDecoder.gui.aT.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.retsiemuab.witpDecoder.gui.u.b(Unknown Source)
at de.retsiemuab.witpDecoder.gui.C.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at de.retsiemuab.witpDecoder.gui.H.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
3. attempt (after reading the first couple of files manually):
Couldn't write things to the DB due to java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_PK_84
java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_PK_84
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 de.retsiemuab.witpDecoder.d.a(Unknown Source)
at de.retsiemuab.witpDecoder.data.h.a(Unknown Source)
at de.retsiemuab.witpDecoder.data.l.a(Unknown Source)
at de.retsiemuab.witpDecoder.b.a(Unknown Source)
at de.retsiemuab.witpDecoder.gui.aT.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.retsiemuab.witpDecoder.gui.u.b(Unknown Source)
at de.retsiemuab.witpDecoder.gui.C.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at de.retsiemuab.witpDecoder.gui.H.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
As japanese everything went smoothly (based on a single game). 1.806, no mods.
1. attempt:
Couldn't write things to the DB due to java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_IDX_87
java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_IDX_87
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 de.retsiemuab.witpDecoder.d.a(Unknown Source)
at de.retsiemuab.witpDecoder.data.h.a(Unknown Source)
at de.retsiemuab.witpDecoder.data.l.a(Unknown Source)
at de.retsiemuab.witpDecoder.b.a(Unknown Source)
at de.retsiemuab.witpDecoder.gui.aT.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.retsiemuab.witpDecoder.gui.u.b(Unknown Source)
at de.retsiemuab.witpDecoder.gui.C.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at de.retsiemuab.witpDecoder.gui.H.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
2. attempt (after clearing and re-initializing, and beginning reading at a couple a files later):
Couldn't write things to the DB due to java.sql.SQLException: S1000 General error java.lang.NullPointerException
java.sql.SQLException: S1000 General error java.lang.NullPointerException
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 de.retsiemuab.witpDecoder.d.a(Unknown Source)
at de.retsiemuab.witpDecoder.data.l.a(Unknown Source)
at de.retsiemuab.witpDecoder.b.a(Unknown Source)
at de.retsiemuab.witpDecoder.gui.aT.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.retsiemuab.witpDecoder.gui.u.b(Unknown Source)
at de.retsiemuab.witpDecoder.gui.C.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at de.retsiemuab.witpDecoder.gui.H.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
3. attempt (after reading the first couple of files manually):
Couldn't write things to the DB due to java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_PK_84
java.sql.SQLException: Violation of unique constraint $$: duplicate value(s) for column(s) $$: SYS_PK_84
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 de.retsiemuab.witpDecoder.d.a(Unknown Source)
at de.retsiemuab.witpDecoder.data.h.a(Unknown Source)
at de.retsiemuab.witpDecoder.data.l.a(Unknown Source)
at de.retsiemuab.witpDecoder.b.a(Unknown Source)
at de.retsiemuab.witpDecoder.gui.aT.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.retsiemuab.witpDecoder.gui.u.b(Unknown Source)
at de.retsiemuab.witpDecoder.gui.C.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at de.retsiemuab.witpDecoder.gui.H.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
As japanese everything went smoothly (based on a single game). 1.806, no mods.
RE: witpDecoder 0.5 released
Ok I am confused when it comes to the clusterbases and clusters csvs. I am using CHS Scen 155. So can I used one of the included CSVs? 192 has the extended map, should I used that one? How will I know if something is incompatible? Thanks.
(edit)HELP...
Ok, I am trying to load my PBEM savefiles. I have tried numerous savefiles of both the Allies and Japanese and I get the same error:
(Edit2) I have also used fresh turns from my inbox and also loaded the save in game, put in my password and re-saved it. (Sorry for all the edits but I work in IT and I know the more info the better [:D])
Aborting a non-running Transaction. Most probably something is wrong
Couldn't write things to the DB due to java.sql.SQLException: Access is denied: Session is closed
java.sql.SQLException: Access is denied: Session is closed
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.executeQuery(Unknown Source)
at de.retsiemuab.witpDecoder.d.query(Unknown Source)
at de.retsiemuab.witpDecoder.b.a(Unknown Source)
at de.retsiemuab.witpDecoder.gui.aT.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.retsiemuab.witpDecoder.gui.u.a(Unknown Source)
at de.retsiemuab.witpDecoder.gui.b.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at de.retsiemuab.witpDecoder.gui.H.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
Does anyone know what this means?
(edit)HELP...
Ok, I am trying to load my PBEM savefiles. I have tried numerous savefiles of both the Allies and Japanese and I get the same error:
(Edit2) I have also used fresh turns from my inbox and also loaded the save in game, put in my password and re-saved it. (Sorry for all the edits but I work in IT and I know the more info the better [:D])
Aborting a non-running Transaction. Most probably something is wrong
Couldn't write things to the DB due to java.sql.SQLException: Access is denied: Session is closed
java.sql.SQLException: Access is denied: Session is closed
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
at org.hsqldb.jdbc.jdbcStatement.executeQuery(Unknown Source)
at de.retsiemuab.witpDecoder.d.query(Unknown Source)
at de.retsiemuab.witpDecoder.b.a(Unknown Source)
at de.retsiemuab.witpDecoder.gui.aT.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.retsiemuab.witpDecoder.gui.u.a(Unknown Source)
at de.retsiemuab.witpDecoder.gui.b.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at de.retsiemuab.witpDecoder.gui.H.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
Does anyone know what this means?
"Some people spend an entire lifetime wondering if they've made a difference. The Marines don't have that problem."
RE: witpDecoder 0.5 released
You can use Feurer Krieg's files (Scen 160) if you are playing Japanese. If you're Allies, ctangus made some files for CHS.ORIGINAL: skrewball
Ok I am confused when it comes to the clusterbases and clusters csvs. I am using CHS Scen 155. So can I used one of the included CSVs? 192 has the extended map, should I used that one? How will I know if something is incompatible? Thanks.
In general, all CHS scenarios have identical bases and economies, so CHS cluster-files written for one CHS scenario can be used for all other CHS scenarios, too. However, the cluster-files for Allies and Japanese are always completely different (not only for CHS), so you have to make sure you are using the files that were written for your side.

RE: witpDecoder 0.5 released
ORIGINAL: 1EyedJacks
Hi Woos,
Does this new version by any chance work with RHS EOS?
I tried the old and the new version of the decoder with RHS scen 70 (CVO variant). In both cases it didn't work out.
The message I get with V0.5 when I try to initialize the database is:
"Could not create or initialize the database
java.sql.SQLExceptio: Not all ship classes could be read into witpDecoder. This is probably causedby ship update cycles in the scenario. As a result the database can not be initialized.
The classes which weren't read in are: 800"
Any idea if this can be fixed easily or maybe any plans on supporting the RHS scenarios?
If you gained knowledge through the forum, why not putting it into the AE wiki?
http://witp-ae.wikia.com/wiki/War_in_th ... ition_Wiki
http://witp-ae.wikia.com/wiki/War_in_th ... ition_Wiki
RE: witpDecoder 0.5 released
I also get an error message, after several messages telling me a lot of units lack a HQ. This is the message:
Hope there is a solution, as I have just started WitP (now two weeks in playing, scen 002 and I am in January '42) and am just getting the hang of it (after it scared me in the first few turns
This tool seems to be able to give me that bit of extra I need to really grasp the game.
Thanks,
Bas

Hope there is a solution, as I have just started WitP (now two weeks in playing, scen 002 and I am in January '42) and am just getting the hang of it (after it scared me in the first few turns

This tool seems to be able to give me that bit of extra I need to really grasp the game.
Thanks,
Bas

- Attachments
-
- ScreenHunt..2813.29.gif (7.82 KiB) Viewed 186 times
He who complains about the cost of knowledge, should look at the price of stupidity!