RE: witpStaff0.8 fixes problem vs. WitpAE patch 2 (Full Version)

All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> Tech Support



Message


morphin -> RE: witpStaff0.8 fixes problem vs. WitpAE patch 2 (1/18/2010 7:41:25 PM)

Hi

i have new installation for windows 7 and WITP-AE. with WITPSTAff i have the following error for initialziing a new DB:
i use the latest java:
C:\Users\Morphin>java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)
--------------------

-------------
Could not create or initialize the databasejava.sql.SQLException: Wrong data type: java.lang.IllegalArgumentException in statement [CREATE MEMORY TABLE "Turn2Date" ( "date" DATE default '0000-00-00']
java.sql.SQLException: Wrong data type: java.lang.IllegalArgumentException in statement [CREATE MEMORY TABLE "Turn2Date" ( "date" DATE default '0000-00-00']
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.gui.c.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.retsiemuab.witpDecoder.gui.V.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)
Couldn't set up a working DB template. Bad, Bad.

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




madgamer2 -> RE: WitpStaff questions and suggestions here please (read the first post!) (1/19/2010 9:43:45 PM)

I am very glad I did not buy the AE game as none of this thread makes any sense to my poor old brain. Silly me I expect a game to install, run and be able ton play.

reading this thread just makes things more confusing. I planned to wait till all the bugs were fixed but in this case the game is so complicated that the more bugs fixed the more bugs show up. Maybe it has to do with creating this monster from a previous game who's hard code and game code can't deal with the new version without massive and numerous updates,patch's and hot fix's......Naw this could not be true as it is coming from a total tech moron (me)

Madgamer




wworld7 -> RE: WitpStaff questions and suggestions here please (read the first post!) (1/20/2010 5:40:38 AM)

Madgamer,

Please don't mistake trouble getting an an add-on utility such as WitpStaff to run as a probem with WITP-AE itself.

To use an old saying, that is like comparing apples and oranges.

Add-on's often take extra effort to configure and run correctly.





coxville -> RE: WitpStaff questions and suggestions here please (read the first post!) (1/20/2010 4:24:10 PM)

I would have to add that I have been playing this game for a few months now and know exactly how scary it is but that is its beauty. Play the scenarios to get the combat routines sorted and learn some basics about movement and then play the main campaign but don't expect to play it through. I have had two training starts, one lasted 30 game days the other 90 game days, using scenario 2 (I play the Japanese so this is masocistic enough as a beginner). I then regularly save and peek at what is going on i.e what is the AI doing, how accurate is my recon. These two self made tutorials along with the infinite wisdom that abounds on this site leaves me with a game that each time I pick it up amazes me more and more with its depth. If you deal with it one step at a time though and do not try to be an expert in each bit, it is amazing how quickly huge scary tasks become second nature.

Best investment I ever made

Chris

p.s are you in trouble if you go to sleep wondering whether you should go for Tojo's over Tony's...just wondered.




Numdydar -> RE: witpStaff0.8 fixes problem vs. WitpAE patch 2 (1/31/2010 9:17:10 PM)


quote:

ORIGINAL: morphin

Hi

i have new installation for windows 7 and WITP-AE. with WITPSTAff i have the following error for initialziing a new DB:
i use the latest java:
C:\Users\Morphin>java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)
--------------------

-------------
Could not create or initialize the databasejava.sql.SQLException: Wrong data type: java.lang.IllegalArgumentException in statement [CREATE MEMORY TABLE "Turn2Date" ( "date" DATE default '0000-00-00']
java.sql.SQLException: Wrong data type: java.lang.IllegalArgumentException in statement [CREATE MEMORY TABLE "Turn2Date" ( "date" DATE default '0000-00-00']
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.gui.c.run(Unknown Source)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Unknown Source)
at de.retsiemuab.witpDecoder.gui.V.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)
Couldn't set up a working DB template. Bad, Bad.

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


I get the same exact error. Can anyone pls tell me how to fix it or is this thread dead?




michaelm75au -> RE: witpStaff0.8 fixes problem vs. WitpAE patch 2 (2/1/2010 8:28:19 AM)

Yes, the last update to Java seems to have broken witpstaff.
My PC without version 18 update is still working, but my main development one (which did update a few days ago) has ceased to run witpstaff.

I think it is only when trying to create a new database. Original DBs and loading saves look like they still work okay.

[O/S is XP 32bit with witpstaff 0.8 and 0.7]




Numdydar -> RE: witpStaff0.8 fixes problem vs. WitpAE patch 2 (2/1/2010 8:38:55 AM)

Just great [:(]

Any ideas on how I can fit it or are we just sol? Could you supply me with the files for scenerio 1 that you say work? Thanks for the reply as at least I know it is not something I am doing wrong.




n01487477 -> RE: witpStaff0.8 fixes problem vs. WitpAE patch 2 (2/1/2010 8:54:08 AM)


quote:

ORIGINAL: Numdydar

Just great [:(]

Any ideas on how I can fit it or are we just sol? Could you supply me with the files for scenerio 1 that you say work? Thanks for the reply as at least I know it is not something I am doing wrong.

Yeah,@uninstall java and reinstall with a previous release like jdk/jre 6 update 17 http://java.sun.com/products/archive/

Dont let it update and
Then delete the DB and try again.

Michael, cannot supply you with this ... it is a java compatibility problem with witpstaff... I havent tested witpTracker yet as Im in an airport bound for sydney ...




michaelm75au -> RE: witpStaff0.8 fixes problem vs. WitpAE patch 2 (2/1/2010 9:59:30 AM)


quote:

ORIGINAL: n01487477

Michael, cannot supply you with this ... it is a java compatibility problem with witpstaff... I havent tested witpTracker yet as Im in an airport bound for sydney ...


He must coming to get me ...[:D]




Numdydar -> RE: witpStaff0.8 fixes problem vs. WitpAE patch 2 (2/1/2010 4:15:50 PM)

Thants Damian for the response it works fine now.

For any one else here is the link to the JAVA version that worked for me
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SingleVariationTypeFilter

The specific file name is jre-6u17-windows-i586 An important note is that the 64bit versions of JAVA DO NOT WORK. So even if you have a 64bit PC, you MUST use the 32 bit version of JAVA. Also, as Damian stated, do not allow the older version automaticly update Otherwise you have to uninstall it and re-install the old one again. At least until WitPStaff is fixed, unlikely at this point I would think.




Numdydar -> RE: witpStaff0.8 fixes problem vs. WitpAE patch 2 (2/1/2010 4:46:20 PM)

This is really becoming like work. I now get the following error message

config.directory is db
Now trying plugin UPGTestPlugin
Warning: AK load cost of LCU 6753 (ETO Reinforcements) is > 32767 (49855)
Warning: AK load cost of LCU 6886 (Vladivostok Naval) is > 32767 (98972)
Got an Exception java.lang.ArrayIndexOutOfBoundsException: 2079
java.lang.ArrayIndexOutOfBoundsException: 2079
at de.retsiemuab.witpDecoder.ioreaders.a.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.a(Unknown Source)
at de.retsiemuab.witpDecoder.Main.main(Unknown Source)

What file do I need to edit to fix this? I tried editing the WitP text file located in the db directory where I found the lines that caused the error but that did not work. Any ideas?




Nomad -> RE: witpStaff0.8 fixes problem vs. WitpAE patch 2 (2/1/2010 5:08:20 PM)

I am unsure what you have done, but I would delete the db folder and reinitialize the db and see if that works. It appears to me that the db is corrupted.




Numdydar -> RE: witpStaff0.8 fixes problem vs. WitpAE patch 2 (2/1/2010 5:43:42 PM)

I did that before I posted [:)] It comes up with the same error everytime. Thank you though for trying to help.




Nomad -> RE: witpStaff0.8 fixes problem vs. WitpAE patch 2 (2/1/2010 5:46:31 PM)


Warning: AK load cost of LCU 6753 (ETO Reinforcements) is > 32767 (49855)
Warning: AK load cost of LCU 6886 (Vladivostok Naval) is > 32767 (98972)
Got an Exception java.lang.ArrayIndexOutOfBoundsException: 2079


The warnings should not be a problem. the exception of 2079 is one that was fixed with the WitPstaff 0.8 upgrade.
Make sure you have the latest version of Staff.

Go here to find it: http://85.214.61.75/witp/witpStaff0.8.zip




Numdydar -> RE: witpStaff0.8 fixes problem vs. WitpAE patch 2 (2/1/2010 9:25:00 PM)

It is now working [:D] Thank you so much for the help.




brhugo -> RE: WitpStaff questions and suggestions here please (2/2/2010 3:53:34 PM)

I installed the hotfix and confirmed the new witpDecoder2.jar file is in the correct directory.  I have the C++ release required (8) and the latest version of Java.  But when I try to initialize the database, I get the following error message:
java.sql.SQLException: Wrong data type:java.lanf.IllegalArgumentException in statement [CREATE MEMORY TABLE "Turn2Date" ("date" DATE default '0000-00-00']
(I type in the message since I couldn't cut-and-paste it).
If it helps, I haven't had any trouble installing and using Ae tracker.




Numdydar -> RE: WitpStaff questions and suggestions here please (2/2/2010 4:07:43 PM)

See my post #250 above for the correct version of JAVA. The latest version of JAVA breaks WitPStaff




michaelm75au -> RE: WitpStaff questions and suggestions here please (2/3/2010 2:59:52 PM)

I think you can set it up to use a different version of runtime Java by using a environment variable. I'll have to check my reference tomorrow.




d0mbo -> RE: WitpStaff questions and suggestions here please (2/6/2010 10:44:39 PM)

Help!



When trying to initialize the database i get the following message:


[image]local://upfiles/32633/AA8F18EA0A9247FE81FB8B81D59A8075.jpg[/image]




d0mbo -> RE: WitpStaff questions and suggestions here please (2/6/2010 10:47:50 PM)

oh i see i must use the 32 bit java version..... bummer.....

can i downgrade from 64bit to 32 bit.... anyone knows?




n01487477 -> RE: WitpStaff questions and suggestions here please (2/6/2010 11:11:29 PM)

quote:

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 ?
quote:

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.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SingleVariationTypeFilter

Damian




d0mbo -> RE: WitpStaff questions and suggestions here please (2/7/2010 2:13:02 PM)

Hi damian, that link doesnt seem to work "product not found".....





d0mbo -> RE: WitpStaff questions and suggestions here please (2/7/2010 5:38:21 PM)

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.




lazydawg -> RE: WitpStaff questions and suggestions here please (2/8/2010 2:38:56 AM)

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 -> RE: WitpStaff questions and suggestions here please (2/13/2010 3:51:17 AM)

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




n01487477 -> RE: WitpStaff questions and suggestions here please (2/13/2010 3:54:48 AM)


quote:

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 -> RE: WitpStaff questions and suggestions here please (2/13/2010 4:00:49 AM)

Yes.




n01487477 -> RE: WitpStaff questions and suggestions here please (2/13/2010 4:09:18 AM)

quote:

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 -> RE: WitpStaff questions and suggestions here please (2/13/2010 4:16:18 AM)

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




DarkestHour -> RE: WitpStaff questions and suggestions here please (2/14/2010 12:51:17 AM)

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?




Page: <<   < prev  7 8 [9] 10 11   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.828125