You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! I'm very new to coding especially with Processing.
After researching through this i've tried the first step of connecting my MIDI device and found an error :
Consoles error :
java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because the return value of "java.util.Map.get(Object)" is null
at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1388)
at processing.core.PApplet.handleMethods(PApplet.java:1542)
at processing.core.PApplet.dispose(PApplet.java:3593)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:405)
NullPointerException
Could not run the sketch (Target VM failed to initialize).
For more information, read Help → Troubleshooting.
I have only trying to import MIDI device, and could not find the name of my midi on the device list. I have connected my devices to other music making software logic pro and it works fine. Note that when i try connecting the device the additional input number is 2 and 3 so I put 2 and 3 as my input and output.
import themidibus.*;
MidiBus bus;
void setup() {
MidiBus.list();
bus = new MidiBus(this,2,3);
}
Console Shows
Available MIDI Devices:
----------Input----------
[0] "Real Time Sequencer"
[1] "Out"
[2] "EDITOR Out"
----------Output----------
[0] "Gervill"
[1] "Real Time Sequencer"
[2] "In"
[3] "EDITOR In"
Does anyone have similar problems or any suggestion :(
The text was updated successfully, but these errors were encountered:
Hi there! I'm very new to coding especially with Processing.
After researching through this i've tried the first step of connecting my MIDI device and found an error :
Consoles error :
java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because the return value of "java.util.Map.get(Object)" is null
at processing.core.PApplet$RegisteredMethods.handle(PApplet.java:1388)
at processing.core.PApplet.handleMethods(PApplet.java:1542)
at processing.core.PApplet.dispose(PApplet.java:3593)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:405)
NullPointerException
Could not run the sketch (Target VM failed to initialize).
For more information, read Help → Troubleshooting.
I have only trying to import MIDI device, and could not find the name of my midi on the device list. I have connected my devices to other music making software logic pro and it works fine. Note that when i try connecting the device the additional input number is 2 and 3 so I put 2 and 3 as my input and output.
import themidibus.*;
MidiBus bus;
void setup() {
MidiBus.list();
bus = new MidiBus(this,2,3);
}
Console Shows
Available MIDI Devices:
----------Input----------
[0] "Real Time Sequencer"
[1] "Out"
[2] "EDITOR Out"
----------Output----------
[0] "Gervill"
[1] "Real Time Sequencer"
[2] "In"
[3] "EDITOR In"
Does anyone have similar problems or any suggestion :(
The text was updated successfully, but these errors were encountered: