{"action":"closed","issue":{"url":"https://api.github.com/repos/DerekCook/CoreMidi4J/issues/26","repository_url":"https://api.github.com/repos/DerekCook/CoreMidi4J","labels_url":"https://api.github.com/repos/DerekCook/CoreMidi4J/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/DerekCook/CoreMidi4J/issues/26/comments","events_url":"https://api.github.com/repos/DerekCook/CoreMidi4J/issues/26/events","html_url":"https://github.com/DerekCook/CoreMidi4J/issues/26","id":351857496,"node_id":"MDU6SXNzdWUzNTE4NTc0OTY=","number":26,"title":"\"no receivers\" error","user":{"login":"bbulkow","id":21944,"node_id":"MDQ6VXNlcjIxOTQ0","avatar_url":"https://avatars3.githubusercontent.com/u/21944?v=4","gravatar_id":"","url":"https://api.github.com/users/bbulkow","html_url":"https://github.com/bbulkow","followers_url":"https://api.github.com/users/bbulkow/followers","following_url":"https://api.github.com/users/bbulkow/following{/other_user}","gists_url":"https://api.github.com/users/bbulkow/gists{/gist_id}","starred_url":"https://api.github.com/users/bbulkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbulkow/subscriptions","organizations_url":"https://api.github.com/users/bbulkow/orgs","repos_url":"https://api.github.com/users/bbulkow/repos","events_url":"https://api.github.com/users/bbulkow/events{/privacy}","received_events_url":"https://api.github.com/users/bbulkow/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-08-18T22:37:43Z","updated_at":"2018-08-19T08:36:46Z","closed_at":"2018-08-19T08:36:46Z","author_association":"NONE","body":"When I simply put  CoreMidi4J in my path and run, I get the following error:\r\n\r\nFound APC40 - send sysex\r\nMidiUnavailableException: sysex send CoreMidiSource has no receivers\r\n\r\nI am running CoreMidi4J 1.1 download from your site, with the correct Jar.  I had trouble building, so I downloaded the jar and am running that way.\r\n\r\nAny thoughts?\r\n\r\n\r\n```\r\n    MidiDevice.Info[] infos = MidiSystem.getMidiDeviceInfo();\r\n\r\n    for (MidiDevice.Info info : MidiSystem.getMidiDeviceInfo()) {\r\n\r\n    \tSystem.out.println(\" looking for the APC40 \"+info.toString());\r\n\r\n    \tif (info.toString().contains(\"APC40\")) {\r\n\r\n    \t\tSystem.out.println(\" Found APC40 - send sysex\");\r\n    \t\ttry {\r\n\t    \t\tSysexMessage sysMsg = new SysexMessage(  );\r\n\t    \t\tsysMsg.setMessage(APC_MODE_SYSEX, APC_MODE_SYSEX.length);\r\n\r\n\t    \t\tMidiDevice dev = MidiSystem.getMidiDevice(info);\r\n\t    \t\tdev.open();\r\n\t    \t\tReceiver r = dev.getReceiver();\r\n\r\n\t    \t\tr.send(sysMsg, -1);\r\n\t    \t\tsentSysEx = true;\r\n\t    \t\tdev.open();\r\n\t    \t}\r\n\t    \tcatch ( InvalidMidiDataException e ) {\r\n\t\t\t\tSystem.out.println(\"InvalidMidiDataException: sysex send \" + e.getMessage());\r\n\t    \t}\r\n\t    \tcatch ( MidiUnavailableException e ) {\r\n\t\t\t\tSystem.out.println(\"MidiUnavailableException: sysex send \" + e.getMessage());\r\n\t    \t}\r\n\r\n        \tbreak;\r\n    \t}\r\n    \ti++;\r\n    }\r\n```"}}
{"actor":{"display_login":"DerekCook"}}