"jmethodID was NULL" error when calling DeviceManager.initialiseWithDefaultDevices()

You may have forgotten to call Threads::initialiseJUCE before using any JUCE code. Have a look at this post which is probably helpful: