Uncaught exception for string "HTInnovationCommittee"

5 replies [Last post]
Joined: 11/09/2008

I love world of goo, and this tool sounds really nice (especially resolution changing and more levels), but when I run GooTools 0.9.0.44 i get the following error:

Uncaught exception (java.lang.NumberFormatException) For input string: "HTInnovationCommittee"

gootool0.log is as follows:
(BTW, in Win XP this is found at : C:\Documents and Settings\<i>username</i>\Local Settings\Temp\gootool0.log)

Nov 9, 2008 8:22:43 PM com.goofans.gootool.GooTool main
INFO: Launching gootool 0.9.0.44
Nov 9, 2008 8:22:44 PM A a
INFO: Found WoG through default search of "%ProgramFiles%\WorldOfGoo" at: C:\Program Files\WorldOfGoo
Nov 9, 2008 8:22:44 PM com.goofans.gootool.GooTool main
SEVERE: Uncaught exception
java.lang.NumberFormatException: For input string: "HTInnovationCommittee"
	at java.lang.NumberFormatException.forInputString(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at h.<init>(SourceFile:49)
	at N.<init>(SourceFile:36)
	at Q.a(SourceFile:74)
	at Q.a(SourceFile:58)
	at i.a(SourceFile:35)
	at a.run(SourceFile:490)

changing java.util.logging.FileHandler.level = INFO to java.util.logging.FileHandler.level = ALL yeilds the same result.

BTW, i didn't have java installed, and when i started it the first time, it complained and took me to the java download and i downloaded that.

(further testing: changing .level = INFO to .level = ALL makes a huge gootool0.log file. i can post it if you need

Thanks!
~Jonas

Joined: 11/04/2008

Hi Jonas,

Thanks for this excellent bug report. The problem is in loading your profile (pers2.dat). We had to reverse engineer this file format and it looks like something is not quite right. In your full log (when you turned debugging to ALL), there should be a (probably very long) line:

"Constructing Profile from data: ..."

Could you post that line here or e-mail it to me (my username @ this domain)?

NB the penultimate thing on this line is a 32-letter code identifying you when you "submit scores to leaderboard". Something like _6d917fb0e5674945dc9f9d1a5a34056f. You might want to change this to XXX when you post, so nobody can impersonate you on the leaderboards.

A future release of GooTool will have an installer that will download Java automatically for you if it's not found. I didn't want to include Java in the GooTool download as it would turn a 1MB download into a 70MB one, and many people will already have Java Smile

Regards,
David

Joined: 11/09/2008

The java download wasn't a problem, it took me right to the Download Java page when i tried to run it. And yeah, 70MB is not good Tongue

i tried to put that huge line here, but i couldn't get it to wrap, so it made the page very very wide. so here is a pastebin (yay pastebin!)

http://pastebin.com/f54eba97a

hahaha, the best part, it explodes pastebin too Smile

Joined: 11/04/2008

Thanks Jonas, that's very useful! I've tracked down the problem and it'll be fixed in the next release.

Have you actually completed the Horizontal Transportation Innovation Committee level? I'm wondering why it appears there at all.

Joined: 11/04/2008

Hi Jonas. Version 0.9.1 is out and should fix this problem. Please let me know about the Horizontal level though, I'm curious as to why it's there.

Joined: 11/09/2008

Yay! Just downloaded the latest and it works great. Thanks Smile

At the time i had not completed Horizontal Innovation Committee yet, but i have now. I think that i had skipped it. Maybe that was the problem? In any case, it's working now.

Thanks again for your hard work!
~Jonas