gaffa/swe2_gr8 — Issue #32: zwei mal brauen -> exception
Author: gaffa
Created: 2011-11-25 15:21:13+00:00
State: open
Labels: bug

Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Task already scheduled or cancelled
at java.util.Timer.sched(Timer.java:401)
at java.util.Timer.schedule(Timer.java:248)
at de.gaffa.swe2.gr8.simulation.meters.FlowMeter.enable(FlowMeter.java:32)
at de.gaffa.swe2.gr8.simulation.actuators.Valve.enable(Valve.java:27)
at de.gaffa.swe2.gr8.logic.units.boilerstate.Ready.brew(Ready.java:18)
at de.gaffa.swe2.gr8.logic.units.Boiler.make(Boiler.java:50)
at de.gaffa.swe2.gr8.logic.Ingredient.make(Ingredient.java:39)
at de.gaffa.swe2.gr8.logic.Recipe.brew(Recipe.java:66)
at de.gaffa.swe2.gr8.logic.Ui.ButtonStartEvent(Ui.java:105)
at de.gaffa.swe2.gr8.gui.Facade.ButtonStartEvent(Facade.java:50)
at de.gaffa.swe2.gr8.gui.Choice.actionPerformed(Choice.java:185)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6504)