Go Back   Smogon Community > Site & Projects > Shoddy Battle
Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
Old May 14th, 2009, 10:12:51 PM   #1
turtlecash
 
Join Date: May 2009
Posts: 2
Default Shoddy not starting

As the title says, lately when attempting to run Shoddy Battle I'm getting an error message. I've also been unable to uninstall Shoddy in an attempt to fix this.

Quote:
Unable to launch the application.
If I select "details" I get the information shown in the following two quotes:

Quote:
<?xml version="1.0" encoding="utf-8"?>
<jnlp
spec="1.0+"
codebase="http://shoddybattle.com/client/"
href="shoddybattle.jnlp">
<information>
<title>Shoddy Battle</title>
<vendor>Colin Fitzpatrick &amp; Benjamin Gwin</vendor>
<homepage href="http://shoddybattle.com" />
<description kind="short">An extensible Pokemon simulator</description>
<description>A pokemon simulator that is free as in freedom</description>
<shortcut online="true">
<desktop />
<menu />
</shortcut>
<icon href="http://shoddybattle.com/client/icon.gif" width="64" height="64" />
</information>
<resources>
<j2se version="1.4+" />
<j2se version="1.5+" />
<j2se version="1.6+" />
<jar href="ShoddyBattleClient.jar" />
<jar href="ShoddyBattle.jar" />
<jar href="PokemonSprites.jar" />
<jar href="swing-layout-1.0.2.jar" />
</resources>
<resources os="Windows" arch="x86">
<nativelib href="ShoddyHelper.jar" />
</resources>
<security>
<all-permissions />
</security>
<application-desc main-class="shoddybattleclient.WelcomeWindow">
<argument>sprites.PokemonSprite</argument>
<argument>http://shoddybattle.com/client/dpmovesets.db</argument>
</application-desc>
</jnlp>

Quote:
BadFieldException[ Cache must be enabled for nativelib or installer-desc support,http://shoddybattle.com/client/ShoddyHelper.jar]
at com.sun.javaws.jnl.XMLFormat.handleResourceElement (Unknown Source)
at com.sun.javaws.jnl.XMLFormat.access$800(Unknown Source)
at com.sun.javaws.jnl.XMLFormat$2$1.visitElement(Unkn own Source)
at com.sun.javaws.jnl.XMLUtils.visitChildrenElements( Unknown Source)
at com.sun.javaws.jnl.XMLFormat$2.visitElement(Unknow n Source)
at com.sun.javaws.jnl.XMLUtils.visitElements(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.buildResourcesDesc(Un known Source)
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
So, Shoddy isn't starting and I can't uninstall. If anyone knows anything about how I could fix this I'd be really happy (I haven't been able to play in weeks).
turtlecash is offline   Reply With Quote
Old May 15th, 2009, 9:47:57 AM   #2
NoctowlBoy
 
NoctowlBoy's Avatar
 
Join Date: May 2009
Posts: 3
Singapore
Default

Same thing happened to me. I want an answer as well.
-------------
__________________
I reject your reality and substitute my own!-Adam Savage,Mythbusters
NoctowlBoy is offline   Reply With Quote
Old May 15th, 2009, 12:13:07 PM   #3
bearzly
Shoddy Battle dev
is a Forum Moderatoris a Programmer
 
bearzly's Avatar
 
Moderator
Join Date: Apr 2009
Posts: 225
Canada
Send a message via AIM to bearzly
Default

From the looks of the error, you seem to have the java cache disabled. Try going to the Java control panel and enabling the cache (might also be called temporary items)
bearzly is offline   Reply With Quote
Old May 15th, 2009, 7:54:29 PM   #4
turtlecash
 
Join Date: May 2009
Posts: 2
Default

Thank you Bearzly! I can hardly believe that it was fixed with just one mouse click! :)

Well, I'm thrilled that you were able to help out! Now I'm going on Shoddy.
turtlecash is offline   Reply With Quote
Old May 16th, 2009, 5:44:25 AM   #5
NoctowlBoy
 
NoctowlBoy's Avatar
 
Join Date: May 2009
Posts: 3
Singapore
Default

Where is the Java control panel and how to enable the cache? Plz tell me! I havent gone on Shoddy for weeks!
__________________
I reject your reality and substitute my own!-Adam Savage,Mythbusters
NoctowlBoy is offline   Reply With Quote
Old May 16th, 2009, 9:40:22 AM   #6
ungulateman
 
ungulateman's Avatar
 
Join Date: Apr 2009
Posts: 544
Cambodia
Default

I have the same problem. Please tell me where the Control Panel is.
__________________
SS FC: 4383 6126 6923

Calling Red 'Ash' is like calling Gordon Freeman 'The Engineer'. Don't do it.
ungulateman is online now   Reply With Quote
Old May 16th, 2009, 2:29:17 PM   #7
TAY
np: Ra Ra Riot - Boy
is a Super Moderatoris a Smogon IRC AOpis a Shoddy Battle Moderatoris a Team Rater Alumnusis a Smog Contributor Alumnusis member of the Smogon Council
 
TAY's Avatar
 
Super Moderator
Join Date: Nov 2007
Posts: 1,404
San Diego, CA
Default

Come on guys, if you google search for "where is the java control panel" and click on the first link you will find exactly where it is. It isn't Bearzly and Colin's job to answer inane questions like this; if you had done literally ten seconds of research you would have found your answer.

Try to take some initiative to spare these guys some time.
__________________
...said the Mock Turtle, "why, if a fish came to me, and told me he was going a journey, I should say 'With what porpoise?'"
"Don't you mean 'purpose'?" said Alice.
"I mean what I say," the Mock Turtle replied in an offended tone. And the Gryphon added `Come, let's hear some of your adventures.'
TAY is online now   Reply With Quote
Old May 17th, 2009, 7:01:24 PM   #8
Khyl
 
Khyl's Avatar
 
Join Date: Aug 2008
Posts: 294
Michigan
Default

Eh, I didn't really wanna bother this with a post, but I've had a similar error, but the exception is different:

Error: Unable to load resource: http://shoddybattle.com/client/shoddyHelper.jar
Quote:
JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unk own Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(U nkown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
EDIT: Well, while I was tinkering with things in the control panel, I seemed to have deleted the temporary cache files, including the shoddy battle one. I still have it downloaded, but its not there when I click "View" on the Temporary Internet Files. It was in Deleted Applications, but then I ended up deleting that too when I couldn't re-install it.

So now when I try to run it, the new error is that the cache for it failed.

I feel really stupid. Help if possible.
__________________
Oshkid9008: and kyle is spelled kyle by the way
Oshkid9008: just so you know
Khyl: My name is Kyle, so yes I do know
Oshkid9008: so are you dyslexic of just stupid then?

Last edited by Khyl; May 17th, 2009 at 7:09:50 PM.
Khyl is offline   Reply With Quote
Old May 21st, 2009, 4:18:44 PM   #9
Scubasage
 
Join Date: May 2009
Posts: 1
Default

I have the same problem, and clearing my cache/reinstalling java/shoddy didn't work. My error log is as follows

Error: Could not parse launch file. Error at line 0.

Exception:
Quote:
JNLParseException[ Could not parse launch file. Error at line 0.]
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(Unknown Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unkn own Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Wrapped Exception:
Quote:
java.io.EOFException: encoding.error.not.xml
at com.sun.deploy.xml.XMLEncoding.decodeXML(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescript or(Unknown Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unkn own Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Can anyone help?
Scubasage is offline   Reply With Quote
Reply Smogon Community > Site & Projects > Shoddy Battle

« Previous Thread | Next Thread »
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 2:00:34 AM.