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
I get exactly the same problem and am rather unsure as to how to debug it and make progress on working out what is going wrong. Hopefully someone else will be able to help.
I have merged the relevant looking changes from https://github.com/eflauzo/ProtocolBuffers-Dart.git but this has not solved the problem and I am unsure as to how to proceed as I haven't worked out how to connect the debugger as dart needs to be started by protoc to get the right input on stdin.
yes, it is impossible to know what fail from protoc consle output only. I think what you saying it might worth a trying to run it from Dart it self, passing command line parameters, and then in main function of ProtocGenDart module,
change CodeGenerator cg = new CodeGenerator(config, stdin, stdout, stderr);
to file streams instead of stdin and stdout
then in Dart debugger output should see what paramters was passed to which object then NoSuchMethodError exception been thrown.
I will try to look on it later on.
but what im gessing is you meged code with eflauzo/ProtocolBuffers-Dart.git and still haveing issues, maybe error come from "fixnum" library not actually from protocol buffers. lib? Will see.
I tried to generate code using plugin, and generation fails with following exception :
Unhandled exception:
NoSuchMethodError : method not found: 'call'
Receiver: false
Arguments: []
#0 _FutureImpl._scheduleUnhandledError. (dart:async:300:9)
#1 _Timer._createTimerHandler._handleTimeout (dart:io:7238:28)
#2 _Timer._createTimerHandler._handleTimeout (dart:io:7246:7)
#3 _Timer._createTimerHandler. (dart:io:7254:23)
#4 _ReceivePortImpl._handleMessage (dart:isolate-patch:40:92)
--dart_out: protoc-gen-dart: Plugin failed with status code 255.
The text was updated successfully, but these errors were encountered: