J2R5M3 / evolutionchamber

Automatically exported from code.google.com/p/evolutionchamber
0 stars 0 forks source link

FileNotFoundException etc\seeds.evo raised from EvolutionChamber.java:222 #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Remove the etc folder and files in it
2. Run the application
3. Enter 1 spine crawler as the target state
4. Press start

What is the expected output? What do you see instead?
I expect the computation to start without any stack traces printed to the 
screen.
Instead the application starts with the following in the command line window:

EcActionBuildQueen
EcActionBuildSpawningPool
EcActionBuildDrone
EcActionBuildExtractor
EcActionExtractorTrick
EcActionBuildHatchery
EcActionBuildOverlord
EcActionWait
EcActionBuildSpineCrawler
java.io.FileNotFoundException: etc\seeds.evo (Nie mo┐na odnalečŠ 
okreťlonego pli
ku)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(Unknown Source)
        at com.fray.evo.EvolutionChamber.loadSeeds(EvolutionChamber.java:222)
        at com.fray.evo.EvolutionChamber.loadOldBuildOrders(EvolutionChamber.jav
a:200)
        at com.fray.evo.EvolutionChamber.spawnEvolutionaryChamber(EvolutionChamb
er.java:141)
        at com.fray.evo.EvolutionChamber.go(EvolutionChamber.java:85)
        at com.fray.evo.ui.swingx.EcSwingX.restartChamber(EcSwingX.java:706)
        at com.fray.evo.ui.swingx.EcSwingX.access$5(EcSwingX.java:699)
        at com.fray.evo.ui.swingx.EcSwingX$5.actionPerformed(EcSwingX.java:233)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
126227586020557165631215422755162422107178182622032440543713721213702047043806
042621227075867457451453170326563322321205636843617637526874723147545271365530
122127286500557161631215422744162422107678181602032440543715721113732047243866
126224786020557175631215442752162442407178186622032440543713721213702040043606
122224786020557175621215442752162442407178186622032440543713720213701040023606

Application version:
EvolutionChamber 0003

Environment:
Windows XP SP3
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)

Please use labels and text to provide additional information.
This issue is related to issue #1
The exception is raised only once when initially there is no seeds file.

Original issue reported on code.google.com by netpr...@gmail.com on 19 Oct 2010 at 7:38

GoogleCodeExporter commented 8 years ago
Now prints a nicer less error-looking message.

Original comment by Frit...@gmail.com on 19 Oct 2010 at 9:50

GoogleCodeExporter commented 8 years ago

Original comment by netpr...@gmail.com on 22 Oct 2010 at 5:52