Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception: MissingPluginException( #22

Closed
pp2015jp opened this issue Dec 17, 2020 · 6 comments
Closed

Unhandled Exception: MissingPluginException( #22

pp2015jp opened this issue Dec 17, 2020 · 6 comments

Comments

@pp2015jp
Copy link

Dear Sir

Any idea for...

E/flutter: [ERROR:flutter/lib/ui/ui_dart_state.cc(171)] Unhandled Exception: MissingPluginException(No implementation found for method play_midi_note on channel flutter_midi)
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:158)

#1 FlutterMidi.playMidiNote (package:flutter_midi/flutter_midi.dart:69)

#2 _MyAppState._play (package:melody/main.dart:552)

@RaulUrtecho
Copy link

I got your same error message, I just used the _flutterMidi.playMidiNote method and debugging deeper (myCode + package) I got this exception:

Unhandled Exception: PlatformException (error, attempt to invoke interface method 'void jp.kshoji.javax.sound.midi.Receiver.send (jp.kshoji.javax.sound.midi.MidiMessage, long)' on a reference of null, null object, java.lang.NullPointerException: Attempt to invoke interface method 'void jp.kshoji.javax.sound.midi.Receiver.send (jp.kshoji.javax.sound.midi.MidiMessage, long)' on a null object reference

I hope @rodydavis will solve this bug soon.

@qianxuechao
Copy link

@rodydavis
Copy link
Owner

fixed on version 1.1.0. reopen if it is still an issue

@SaleemManjoo
Copy link

Seems to still be an issue

@GattoExpress999
Copy link

Yes it's still an issue and it's 2024

E/flutter (15750): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method unmute on channel flutter_midi)
E/flutter (15750): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7)
E/flutter (15750): <asynchronous suspension>
E/flutter (15750): #1      FlutterMidi.unmute (package:flutter_midi/flutter_midi.dart:51:27)
E/flutter (15750): <asynchronous suspension>
E/flutter (15750): 
E/flutter (15750): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method prepare_midi on channel flutter_midi)
E/flutter (15750): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7)
E/flutter (15750): <asynchronous suspension>

@rodydavis
Copy link
Owner

Happy to accept PRs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants