Combat Reporter - report monitoring tool

Please post here for questions and discussion about scenario design, art and sound modding and the game editor for WITP Admiral's Edition.

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

Adseria
Posts: 11
Joined: Tue Dec 17, 2019 8:12 pm

RE: Combat Reporter Beta

Post by Adseria »

This thing is really annoying me. It resolutely refuses to load the reports, even if I specifically tell it which save file to load. The worst bit is, it's loading old saves (from a couple of months ago) just fine, but the one I saved literally about 5 minutes ago is apparently too hard. Yes, I double-checked (and triple-checked) the settings; I have the right save location, the right install location, the right date and time, I picked the correct side, the settings are all correct. It's just refusing to load.

Looking in the command line, it seems to be throwing an error. I tried copying it out here, but the forum didn't like it for some reason, so I can't. Sorry.
User avatar
PaxMondo
Posts: 10327
Joined: Fri Jun 06, 2008 3:23 pm

RE: Combat Reporter Beta

Post by PaxMondo »

it is a bit finicky, be sure you have a clean java load. also, one bad text file will pooch it. what you are describing, I would point it at a new game start and see how it runs.

In my current game, I have had intervals where turns wouldn't load, but I could always trace it back to one text file that had something funny in it and was causing it to fail. deleting the file fixed it.
Pax
Adseria
Posts: 11
Joined: Tue Dec 17, 2019 8:12 pm

RE: Combat Reporter Beta

Post by Adseria »

ORIGINAL: PaxMondo

it is a bit finicky, be sure you have a clean java load. also, one bad text file will pooch it. what you are describing, I would point it at a new game start and see how it runs.

In my current game, I have had intervals where turns wouldn't load, but I could always trace it back to one text file that had something funny in it and was causing it to fail. deleting the file fixed it.
This was a new game. I literally saved as soon as the turn resolution ended on 8th December.

Pretty sure my Java install is fine; Combat Reporter loads other saves fine, it just seems to be a problem with these newest saves.

What kind of text files are you referring to? Ones generated by the game, or by Combat Reporter? What should I be looking for?
David Clark
Posts: 39
Joined: Thu Feb 24, 2005 5:20 pm

RE: Combat Reporter Beta

Post by David Clark »

Hi Bret. Thanks for your hard work throughout the years.

I've downloaded and extracted version 1.1. Launching the .bat file briefly shows the splash screen, then gives me the following:


D:\Games\Combat Reporter\combatReporter>java -splash:UV1024.jpg -Xmx1024m -jar combatreporter.jar
Exception in thread "main" java.lang.NoClassDefFoundError: groovy/lang/GroovyObject
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:515)
at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:423)
at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:417)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:689)
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:416)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:415)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
Caused by: java.lang.ClassNotFoundException: groovy.lang.GroovyObject
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:436)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 13 more


I'm running 64-bit Windows 10, and java --version gives me:
openjdk 12.0.2 2019-07-16
OpenJDK Runtime Environment (build 12.0.2+10)
OpenJDK 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)
David Clark
Posts: 39
Joined: Thu Feb 24, 2005 5:20 pm

RE: Combat Reporter Beta

Post by David Clark »

A follow up - I installed the Java 8 jre, and specified that version to run combat reporter, and everything works great.

Thanks again for your program :)
User avatar
NigelKentarus
Posts: 207
Joined: Fri Mar 27, 2015 8:54 pm
Location: OH, USN 20 yrs, & FL

RE: Combat Reporter Beta

Post by NigelKentarus »

Old age must be catching up to me. How do I change the base.csv file to show I use DBB with extended map? I must be brain dead this morning.
Fight like you're the 3rd monkey on the plank to Noah's ark. And brother, it's starting to rain.
clamel
Posts: 75
Joined: Mon Dec 09, 2019 2:00 pm

RE: Combat Reporter Beta

Post by clamel »

I'm totally lost. I got Java 1.8 on my Win 8.1 and placed this combatreporter inside the WiTP tools folder. Starting up the *.bat file gives
Error: Unable to access jarfile combatreporter.jar.
All this happens in a command window

Not sure if I got Java jre too, but stumbling in on Oracles site gives me hundreds of DL suggestions. It's like a needle in a haystack. Which one to DL, actually if any.
When opening the commandprmpt and running javar -version I get the notion I got correct versions.
Java Version 1.8.0_211
SE Runtime environment (build same 1.8)
64-bit server (build 25.211-b12, mixed mode)

That's Greek to me so appreciate any help on how to get this CombatReporter to work on my new game.
It sounds and looks like almost a must
Evoken
Posts: 496
Joined: Wed Oct 23, 2019 1:51 pm

RE: Combat Reporter Beta

Post by Evoken »

As far as i am aware combat reporter comes with the required Java in the zip file , just extract the whole folder to anywhere you want , setup the preferences part properly and it should work
clamel
Posts: 75
Joined: Mon Dec 09, 2019 2:00 pm

RE: Combat Reporter Beta

Post by clamel »

Yes I see a java file in the zipfile but nothing on properties.
That file combatreport.properties was not in the zip I DL.

I tried to create such a file but same message, so I'm confident that might not be the issue here.

MrG
Posts: 5
Joined: Thu Mar 26, 2020 6:30 am

RE: Combat Reporter Beta

Post by MrG »

Hi.

I've been using Combat Reporter successfully for the last 6 months, but i've just opened it after running my last turn and it no longer shows the Operations for the last turn or any of the past turns either.

Does anyone have any idea what I need to do to put this right? I appreciate any help you can give.
User avatar
Axe1999
Posts: 207
Joined: Sun Feb 14, 2021 1:22 pm

RE: Combat Reporter - report monitoring tool

Post by Axe1999 »

Hi, looking for some help troubleshooting CR issues. After Windows reinstall I downloaded latest version, downloaded Java update, reinstalled WITP and tried to get CR going. I manage to get the map loaded but I cant get actual reports to load, not even when manually loading save. I triple checked and all paths and settings seem to be correct.
User avatar
Trugrit
Posts: 1186
Joined: Mon Jul 14, 2014 12:31 pm
Location: North Carolina

RE: Combat Reporter - report monitoring tool

Post by Trugrit »

You might try this.

I had trouble the last time I installed.

My computer did not like the Apostrophe in Admiral’s.

I added a backslash after the L.

If you are using Archive you have to add it.


Image
Attachments
Reporter.jpg
Reporter.jpg (144.22 KiB) Viewed 2351 times
"A man's got to know his limitations" -Dirty Harry
User avatar
Tanaka
Posts: 5118
Joined: Tue Apr 08, 2003 3:42 am
Location: USA

RE: Combat Reporter Beta

Post by Tanaka »

ORIGINAL: MrG

Hi.

I've been using Combat Reporter successfully for the last 6 months, but i've just opened it after running my last turn and it no longer shows the Operations for the last turn or any of the past turns either.

Does anyone have any idea what I need to do to put this right? I appreciate any help you can give.

Most likely ran out of memory. You have to clear out all of the old reports and restart over...
Image
User avatar
Axe1999
Posts: 207
Joined: Sun Feb 14, 2021 1:22 pm

RE: Combat Reporter - report monitoring tool

Post by Axe1999 »

ORIGINAL: Trugrit

You might try this.

I had trouble the last time I installed.

My computer did not like the Apostrophe in Admiral’s.

I added a backslash after the L.

If you are using Archive you have to add it.


Image

Thanks for the input but unfortunately it isnt the issue, I dont have apostrophe in my game path. Archive switch is active
GazBot
Posts: 135
Joined: Sun Jul 12, 2020 5:50 am

RE: Combat Reporter - report monitoring tool

Post by GazBot »

Hello Chaps,

Trying to get the COmbat Reporter wroking and the reports are working. However the Maps are blank....I think I need the maps from Patch 3 - but what version is patch 3???

Cheers

Gaz
User avatar
Kull
Posts: 2744
Joined: Tue Jul 03, 2007 3:43 am
Location: El Paso, TX

RE: Combat Reporter - report monitoring tool

Post by Kull »

ORIGINAL: GazBot

Hello Chaps,

Trying to get the COmbat Reporter wroking and the reports are working. However the Maps are blank....I think I need the maps from Patch 3 - but what version is patch 3???

Cheers

I'm not quite sure what Patch 3 is, but you should be using the latest version of WitP-AE anyway (see attached). If you have something different, this thread will help you upgrade.

That said, it sounds like this is your real problem:
1. The map is no longer included and you need to tell Combat Reporter where you installed WitPAE so it can find the WitPAE map. You will set this in the preferences when you start the application.

That came from post #1 in this thread, where he also mentions a "black map" problem which has a different solution (see top of his post). That's not what you reported, but there it is.

Image
Attachments
versionnumber.jpg
versionnumber.jpg (39.5 KiB) Viewed 2346 times
GazBot
Posts: 135
Joined: Sun Jul 12, 2020 5:50 am

RE: Combat Reporter - report monitoring tool

Post by GazBot »

Thanks for the reply Kull,

I have managed to get it working using the info in this forum.

I had to do the following;

Edit the; combatreport.bat report file as below

set JAVA_HOME=C:\Program Files (x86)\Java\jre1.8.0_311
set PATH=C:\Program Files (x86)\Java\jre1.8.0_311\bin\
java -splash:UV1024.jpg -Xmx768m -jar combatreporter.jar
pause

setting the JAVA path - cleared up the initial error on loading.

changing the resolution to "768" in the .bat file fixed the issue with the black map.

Lastly becasue I dont want to change by date / time setting to US format you do have to initially manually enter this when you do the initial preferences setup....

After you first setup the CR app creates a new config file; "combatReport.properties" Im guessing you can then edit this directly to change the date for your most recent game.

I had all the correct versions and now also understand how to set the paths so I can use ChemKids maps but ref the old stock maps in a backup folder.

I can see this being a very helpful tool, Ill be looking to get WitPE Tracker up and running next to see what this does - though Im still a long way away from the production and meaty logistics side of the game, yet.....

Thanks.

User avatar
ETF
Posts: 1767
Joined: Thu Sep 16, 2004 12:26 pm
Location: Vancouver, Canada

Re: Combat Reporter - report monitoring tool

Post by ETF »

Any chance I could get someone to help maybe via Team Viewer to set this up for myself? I would certainly make it worth your effort! Tried years ago but just couldn't get it to work :)
My Top Matrix Games 1) CMO MP?? 2) WITP/AE 3) SOW 4) Combat Mission 5) Armor Brigade

Twitter
https://twitter.com/TacticWargamer
User avatar
USSAmerica
Posts: 19211
Joined: Mon Oct 28, 2002 4:32 am
Location: Graham, NC, USA
Contact:

Re: RE: Combat Reporter Beta

Post by USSAmerica »

MrG wrote: Thu Oct 07, 2021 6:02 am Hi.

I've been using Combat Reporter successfully for the last 6 months, but i've just opened it after running my last turn and it no longer shows the Operations for the last turn or any of the past turns either.

Does anyone have any idea what I need to do to put this right? I appreciate any help you can give.
Hey MrG, did you or anyone else figure out what happened with this issue? I just ran into it tonight after CR working great for me for months. I'm only at January 24, 1942 in the game, so I don't think it's too much data. Perhaps one of the new turn files was corrupted?
Mike

"Good times will set you free" - Jimmy Buffett

"They need more rum punch" - Me

Image
Artwork by The Amazing Dixie
User avatar
Axe1999
Posts: 207
Joined: Sun Feb 14, 2021 1:22 pm

Re: Combat Reporter - report monitoring tool

Post by Axe1999 »

I could use some help, my CR worked just fine then just stopped loading turns without me altering anything. This is what I get in CMD window when I start it:

Code: Select all

D:\Games\WITP Vanilla\combatReporter_1.1\combatReporter>java -splash:UV1024.jpg -Xmx1024m -jar combatreporter.jar
Exception in thread "Thread-3" java.lang.NumberFormatException: For input string: "Penang"
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.valueOf(Unknown Source)
        at java_lang_Integer$valueOf.call(Unknown Source)
        at com.bret.witpae.Report.setLocation(Report.groovy:61)
        at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
        at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:2699)
        at groovy.lang.MetaClassImpl.setProperty(MetaClassImpl.java:3746)
        at com.bret.witpae.Report.setProperty(Report.groovy)
        at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.setGroovyObjectProperty(ScriptBytecodeAdapter.java:530)
        at com.bret.witpae.Report.processHeader(Report.groovy:269)
        at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:382)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
        at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:171)
        at com.bret.witpae.Report$_readreport_closure1.doCall(Report.groovy:153)
        at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
        at groovy.lang.Closure.call(Closure.java:423)
        at groovy.lang.Closure.call(Closure.java:439)
        at org.codehaus.groovy.runtime.DefaultGroovyMethods.callClosureForLine(DefaultGroovyMethods.java:5233)
        at org.codehaus.groovy.runtime.IOGroovyMethods.eachLine(IOGroovyMethods.java:484)
        at org.codehaus.groovy.runtime.ResourceGroovyMethods.eachLine(ResourceGroovyMethods.java:270)
        at org.codehaus.groovy.runtime.ResourceGroovyMethods.eachLine(ResourceGroovyMethods.java:236)
        at org.codehaus.groovy.runtime.dgm$942.invoke(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122)
        at com.bret.witpae.Report.readreport(Report.groovy:85)
        at com.bret.witpae.Report$readreport.call(Unknown Source)
        at com.bret.witpae.CombatReport$_main_closure3$_closure17.doCall(CombatReport.groovy:77)
        at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
        at groovy.lang.Closure.call(Closure.java:423)
        at groovy.lang.Closure.call(Closure.java:439)
        at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2027)
        at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2012)
        at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2053)
        at org.codehaus.groovy.runtime.dgm$162.invoke(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:271)
        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:110)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122)
        at com.bret.witpae.CombatReport$_main_closure3.doCall(CombatReport.groovy:77)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
        at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:39)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:110)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:122)
        at com.bret.witpae.FileWatcher.processFiles(FileWatcher.groovy:112)
        at com.bret.witpae.FileWatcher$processFiles$0.callCurrent(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151)
        at com.bret.witpae.FileWatcher.fileMonitorExecutor(FileWatcher.groovy:83)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:382)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
        at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:151)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:155)
        at com.bret.witpae.FileWatcher$_run_closure1.doCall(FileWatcher.groovy:50)
        at com.bret.witpae.FileWatcher$_run_closure1.doCall(FileWatcher.groovy)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)
        at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:292)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1016)
        at groovy.lang.Closure.call(Closure.java:423)
        at groovy.lang.Closure.call(Closure.java:417)
        at groovy.lang.Closure.run(Closure.java:504)
        at java.lang.Thread.run(Unknown Source)
Post Reply

Return to “Scenario Design and Modding”