WitpStaff questions and suggestions here please (read the first post!)

Post bug reports and ask for help with other issues here.

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

User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitpStaff questions and suggestions here please

Post by n01487477 »

ORIGINAL: d0mbo
oh i see i must use the 32 bit java version..... bummer.....
I'm not sure that is the problem, but you should do that anyway ... are you trying a small scenario or GC ? Ae - patched ?
can i downgrade from 64bit to 32 bit.... anyone knows?
I believe that if you install the 32bit after the 64 bit(just not first), it should work ... otherwise you need to uninstall java and then reinstall ... but remember that the Java latest release doesn't work ...

For any one else here is the link to the JAVA version that worked for me
https://cds.sun.com/is-bin/INTERSHOP.en ... TypeFilter

Damian
d0mbo
Posts: 592
Joined: Fri Aug 21, 2009 10:10 am
Location: Holland

RE: WitpStaff questions and suggestions here please

Post by d0mbo »

Hi damian, that link doesnt seem to work "product not found".....
 
 
d0mbo
Posts: 592
Joined: Fri Aug 21, 2009 10:10 am
Location: Holland

RE: WitpStaff questions and suggestions here please

Post by d0mbo »

i manually picked a java 32 bit version, but alas, the b still doesn't want to initialize.
 
Trying to run it on the regular GC; playing as JAP.
 
It's a try out run vs. the AI, to get a feel for japanese production.
 
User avatar
lazydawg
Posts: 141
Joined: Tue Jul 28, 2009 10:22 am
Location: Raleigh NC

RE: WitpStaff questions and suggestions here please

Post by lazydawg »

I've run across an error in witpStaff0.8. In my game, I changed the HQ of Noumea. When I tried to load the turn into witpStaff, the dialog box states that "Base Noumea has changed hands." and I get the following error message:

-------------------------------------------------------------------------------------------------------------------

config.directory is db
Now trying plugin UPGTestPlugin
java.lang.ClassNotFoundException: de.retsiemuab.witpDecoder.gui.mapviewPlugins.UPGTestPlugin
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.bs.<init>(Unknown Source)
at de.retsiemuab.witpDecoder.gui.aR.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
Not loading one/all plugins.
Couldn't execute the following command:
INSERT INTO "Factory2Base" VALUES (1282,0,519,30,0,false,true);
Couldn't write things to the DB due to java.sql.SQLException: Violation of unique constraint SYS_PK_79: duplicate value(s) for column(s) "baseID","factoryindex"
java.sql.SQLException: Violation of unique constraint SYS_PK_79: duplicate value(s) for column(s) "baseID","factoryindex"
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.a.b(Unknown Source)
at de.retsiemuab.witpDecoder.b.h.a(Unknown Source)
at de.retsiemuab.witpDecoder.c.a(Unknown Source)
at de.retsiemuab.witpDecoder.gui.aV.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.retsiemuab.witpDecoder.gui.bt.a(Unknown Source)
at de.retsiemuab.witpDecoder.gui.X.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.aR.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)
wgs_explorer
Posts: 81
Joined: Thu Oct 31, 2002 6:17 pm
Location: Miami, Florida
Contact:

RE: WitpStaff questions and suggestions here please

Post by wgs_explorer »

Could not read the turn because of
java.io.IOException: Skipping forward failed somehow. Unexpected EOF at pos 1040?

After installing jre-6u17 and getting WitPStaff to successfully initialize a DB, I get the above error. I get it no matter what save file I load. Any ideas? Anyone? Anyone?

(...and Tracker runs fine.)

Bill
Image
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitpStaff questions and suggestions here please

Post by n01487477 »

ORIGINAL: wgs_explorer

Could not read the turn because of
java.io.IOException: Skipping forward failed somehow. Unexpected EOF at pos 1040?

After installing jre-6u17 and getting WitPStaff to successfully initialize a DB, I get the above error. I get it no matter what save file I load. Any ideas? Anyone? Anyone?

(...and Tracker runs fine.)

Bill
Using WitpStaff 0.8 ?
wgs_explorer
Posts: 81
Joined: Thu Oct 31, 2002 6:17 pm
Location: Miami, Florida
Contact:

RE: WitpStaff questions and suggestions here please

Post by wgs_explorer »

Yes.
Image
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitpStaff questions and suggestions here please

Post by n01487477 »

ORIGINAL: wgs_explorer
Yes.
Ummm ... guess it isn't one of the smaller scenario's you're playing, you're game is patched ...

Delete the DB again ... try try again ...

Sorry, I don't look after Staff ... I'm a Tracker dev that helps out this thread too, so I guess you'll have to wait for Marcus(Woo's) to come along and have a look. Post a save, and let MichealM see ... or you're back to ...
wgs_explorer
Posts: 81
Joined: Thu Oct 31, 2002 6:17 pm
Location: Miami, Florida
Contact:

RE: WitpStaff questions and suggestions here please

Post by wgs_explorer »

I'll try deleting and re-creating the db. If it does the job, I'll let you know.

Thanks for your help Damian.

Bill
Image
DarkestHour
Posts: 40
Joined: Tue Aug 04, 2009 5:56 am

RE: WitpStaff questions and suggestions here please

Post by DarkestHour »

I seem to be stuffed. Fortunately Java 6.18 works fine with the latest witptracker. I deleted 6.18 and tried to reinstall jre 6.17 but got a 2753 regutils.dll error. Tried all sorts of update options but it isn't supported now that 6.18 is out so... Any suggestions till a new witpstaff compatible with java 6.18 comes out?
User avatar
n01487477
Posts: 4759
Joined: Tue Feb 21, 2006 12:00 am

RE: WitpStaff questions and suggestions here please

Post by n01487477 »

ORIGINAL: DarkestHour

I seem to be stuffed. Fortunately Java 6.18 works fine with the latest witptracker. I deleted 6.18 and tried to reinstall jre 6.17 but got a 2753 regutils.dll error. Tried all sorts of update options but it isn't supported now that 6.18 is out so... Any suggestions till a new witpstaff compatible with java 6.18 comes out?
Did a google search on this 2753 regutils.dll error and there seems to be many ppl in your boat regarding uninstalling Java. I'd be searching the Java forums before downloading any registry checkers though ...

Often I find reinstalling a program (even if you already have it) aka 6.18 and then try again to uninstall sometimes works well ...
DarkestHour
Posts: 40
Joined: Tue Aug 04, 2009 5:56 am

RE: WitpStaff questions and suggestions here please

Post by DarkestHour »

Reinstall didn't work but with 6.18 still installed I then installed 6.17 successfully. I then uninstalled 6.18. Witpstaff then works though it cannot load saves since the 1097 install(no problem with previous saves). I'll try it with a new game.
User avatar
michaelm75au
Posts: 12455
Joined: Sat May 05, 2001 8:00 am
Location: Melbourne, Australia

RE: WitpStaff questions and suggestions here please

Post by michaelm75au »

For those with a bit of PC savvy, you can download the JAVA JRE for u17 (jre-6u17-windows-i586.exe from SUN Java) and install it as a separate installation by selecting "Change Destination Folder" in the lower left of the Java install screen.
Click 'Install' and continue with the installation and it will install this version of JAVA in C:\Program Files\Java\jre1.6.0_17 on your PC.

Then go to the Witpstaff directory in AE and edit the file 'witpStaff.bat' and change the java line to:
C:\"Program Files"\Java\jre1.6.0_17\bin\java -Djava.library.path=. -jar witpdecoder2.jar
and save it. The ""s are needed because of the space between Program and Files.

Clicking on this will now run with java version 17 and you wont get the 'DATE' error.

Any programs that use JAVA will still work with the latest version (18).

Michael
User avatar
morleron1225
Posts: 118
Joined: Thu Dec 28, 2006 10:05 pm
Contact:

RE: WitpStaff questions and suggestions here please

Post by morleron1225 »

One thing that would be very handy would be a report that lists what convoys are bound to/from any given base.&nbsp; I think this would simplify getting logistics set up more efficiently.

Just my $.02,
Ron
Free men do not ask permission to bear arms.
GnuPG public key available at: pgp.mit.edu
Rainer
Posts: 1210
Joined: Tue Nov 21, 2000 10:00 am
Location: Neuching, Bavaria, Germany

RE: WitpStaff questions and suggestions here please (read the first post!)

Post by Rainer »


EDIT: RECALL False Message
WitP/AE
1.7.11.26b
Data base changes by Andy Mac October 16, 2012
Scen #1 Allied vs AI Level Hard Daily Turns
Art Mods by TomLabel and Reg
Topo Map by chemkid

WitW / Torch
1.01.37 - 1.01.44 beta
User avatar
WLockard
Posts: 183
Joined: Sun Nov 13, 2005 2:58 pm

RE: WitpStaff questions and suggestions here please (read the first post!)

Post by WLockard »

The exception 2079 error was fixed with this http://85.214.61.75/witp/witpStaff0.8.zip
Rainer
Posts: 1210
Joined: Tue Nov 21, 2000 10:00 am
Location: Neuching, Bavaria, Germany

RE: WitpStaff questions and suggestions here please (read the first post!)

Post by Rainer »

EDIT: RECALL False Message
Sorry
WitP/AE
1.7.11.26b
Data base changes by Andy Mac October 16, 2012
Scen #1 Allied vs AI Level Hard Daily Turns
Art Mods by TomLabel and Reg
Topo Map by chemkid

WitW / Torch
1.01.37 - 1.01.44 beta
Rainer
Posts: 1210
Joined: Tue Nov 21, 2000 10:00 am
Location: Neuching, Bavaria, Germany

RE: WitpStaff questions and suggestions here please (read the first post!)

Post by Rainer »

You're right and I'm wrong.

Applying Patch 08 for WitpStaff DOES fix the problem.
My apologies.
WitP/AE
1.7.11.26b
Data base changes by Andy Mac October 16, 2012
Scen #1 Allied vs AI Level Hard Daily Turns
Art Mods by TomLabel and Reg
Topo Map by chemkid

WitW / Torch
1.01.37 - 1.01.44 beta
andrea
Posts: 10
Joined: Fri Feb 19, 2010 10:12 pm

RE: WitpStaff questions and suggestions here please

Post by andrea »

Dear all,

excuse for my english (I'm italian) , each time i running wipt staf I have the sequent message :

Could not create or initialize the databasejava.sql.SQLException: Tipo di dato errato: java.lang.IllegalArgumentException in statement [CREATE MEMORY TABLE "Turn2Date" ( "date" DATE default '0000-00-00']
java.sql.SQLException: Tipo di dato errato: java.lang.IllegalArgumentException in statement [CREATE MEMORY TABLE "Turn2Date" ( "date" DATE default '0000-00-00']

someone could kindly help me ?
thank you very much

I try to read all the post in the thread but I don't find nothing about this kind of error
ANDREA ROVENTI
andrea
Posts: 10
Joined: Fri Feb 19, 2010 10:12 pm

RE: WitpStaff questions and suggestions here please

Post by andrea »

Dear all,
First of all excuse me for my english and for my incapacity to use the forum
I've a problem with wiptstaff, each time I try to initialize the database I have the sequent message :

Could not create or initialize the databasejava.sql.SQLException: Tipo di dato errato: java.lang.IllegalArgumentException in statement [CREATE MEMORY TABLE "Turn2Date" ( "date" DATE default '0000-00-00']
java.sql.SQLException: Tipo di dato errato: java.lang.IllegalArgumentException in statement [CREATE MEMORY TABLE "Turn2Date" ( "date" DATE default '0000-00-00']

Someone could kindly help me ?
thank
Andrea

ANDREA ROVENTI
Post Reply

Return to “Tech Support”