merayen / Elastic

Elastic - Synthesizer DAW
1 stars 1 forks source link

Unplugging MIDI-device while scanning #4

Open merayen opened 5 years ago

merayen commented 5 years ago
javax.sound.midi.MidiUnavailableException: そのようなデバイスはありません
    at com.sun.media.sound.MidiInDevice.nOpen(Native Method)
    at com.sun.media.sound.MidiInDevice.implOpen(MidiInDevice.java:59)
    at com.sun.media.sound.AbstractMidiDevice.doOpen(AbstractMidiDevice.java:154)
    at com.sun.media.sound.AbstractMidiDevice.open(AbstractMidiDevice.java:118)
    at net.merayen.elastic.backend.interfacing.platforms.oracle_java.OracleMidiInputDevice.ensureRunning(OracleMidiInputDevice.java:103)
    at net.merayen.elastic.backend.interfacing.platforms.oracle_java.OracleMidiInputDevice.onRead(OracleMidiInputDevice.java:61)
    at net.merayen.elastic.backend.interfacing.devicetypes.MidiInputDevice.read(MidiInputDevice.java:11)
    at net.merayen.elastic.backend.logicnodes.list.midi_in_1.LogicNode.onPrepareFrame(LogicNode.java:46)
    at net.merayen.elastic.backend.nodes.Supervisor.doProcessFrame(Supervisor.java:262)
    at net.merayen.elastic.backend.nodes.Supervisor.executeMessageFromUI(Supervisor.java:170)
    at net.merayen.elastic.backend.nodes.Supervisor.handleMessageFromUI(Supervisor.java:72)
    at net.merayen.elastic.backend.context.MessageHandler.executeMessagesToBackend(MessageHandler.kt:68)
    at net.merayen.elastic.backend.context.BackendContext.update(BackendContext.java:60)
    at net.merayen.elastic.system.ElasticSystem.update(ElasticSystem.java:38)
    at net.merayen.elastic.system.Test.waitFor(Test.kt:71)
    at net.merayen.elastic.system.Test.<init>(Test.kt:54)
    at net.merayen.elastic.system.Test.<init>(Test.kt:10)
    at net.merayen.elastic.system.Test$Companion.test(Test.kt:82)
    at net.merayen.elastic.Test$Companion.main(Test.kt:32)
    at net.merayen.elastic.Test.main(Test.kt)
Exception in thread "main" java.lang.RuntimeException
    at net.merayen.elastic.backend.interfacing.platforms.oracle_java.OracleMidiInputDevice.ensureRunning(OracleMidiInputDevice.java:106)
    at net.merayen.elastic.backend.interfacing.platforms.oracle_java.OracleMidiInputDevice.onRead(OracleMidiInputDevice.java:61)
    at net.merayen.elastic.backend.interfacing.devicetypes.MidiInputDevice.read(MidiInputDevice.java:11)
    at net.merayen.elastic.backend.logicnodes.list.midi_in_1.LogicNode.onPrepareFrame(LogicNode.java:46)
    at net.merayen.elastic.backend.nodes.Supervisor.doProcessFrame(Supervisor.java:262)
    at net.merayen.elastic.backend.nodes.Supervisor.executeMessageFromUI(Supervisor.java:170)
    at net.merayen.elastic.backend.nodes.Supervisor.handleMessageFromUI(Supervisor.java:72)
    at net.merayen.elastic.backend.context.MessageHandler.executeMessagesToBackend(MessageHandler.kt:68)
    at net.merayen.elastic.backend.context.BackendContext.update(BackendContext.java:60)
    at net.merayen.elastic.system.ElasticSystem.update(ElasticSystem.java:38)
    at net.merayen.elastic.system.Test.waitFor(Test.kt:71)
    at net.merayen.elastic.system.Test.<init>(Test.kt:54)
    at net.merayen.elastic.system.Test.<init>(Test.kt:10)
    at net.merayen.elastic.system.Test$Companion.test(Test.kt:82)
    at net.merayen.elastic.Test$Companion.main(Test.kt:32)
    at net.merayen.elastic.Test.main(Test.kt)