exception - BeagleBone Black Mono Runtime Dependency Differences -
i trying write mono application can run on generic version of debian linux on beaglebone black platform.
i have 2 devices set same basic debian 8 linux.
one of devices development device. on device have installed mono-complete debian.
i have generated application using monodevelop on linux mint computer. copy on resulting files dev bbb device final packaging using mkbundle.
one of things app connect web server using system.servicemodel.channelfactory.
i hope ok don't post of configuration , source code because pretty sure isn't relevant. reason don't think because when run app on dev bbb works fine.
when run same app on production bbb exception.
i happy post needed information here, rather narrow down before post everything.
when execute line of code:
channel = new channelfactory<ihandshaking>("basichttpbinding_ihandshaking"); i following exception:
createclient exception: value cannot null. parameter name: type - @ system.componentmodel.typedescriptor.getdescriptor (system.type type, system.string typename) [0x0000c] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0 @ system.componentmodel.typedescriptor.getconverter (system.type type) [0x00000] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0 @ system.configuration.configurationproperty..ctor (system.string name, system.type type, system.object default_value, system.componentmodel.typeconverter converter, system.configuration.configurationvalidatorbase validation, system.configuration.configurationpropertyoptions flags, system.string description) [0x0000d] in <d6de850e07274db588ca7c247bfa5ec6>:0 @ system.configuration.configurationproperty..ctor (system.string name, system.type type, system.object default_value, system.componentmodel.typeconverter converter, system.configuration.configurationvalidatorbase validation, system.configuration.configurationpropertyoptions flags) [0x00000] in <d6de850e07274db588ca7c247bfa5ec6>:0 @ system.servicemodel.configuration.bindingssection.get_properties () [0x00057] in <8cdac92fdd4b495ba10570db10926ad4>:0 @ system.configuration.elementinformation..ctor (system.configuration.configurationelement owner, system.configuration.propertyinformation propertyinfo) [0x0001f] in <d6de850e07274db588ca7c247bfa5ec6>:0 @ system.configuration.configurationelement.get_elementinformation () [0x0000b] in <d6de850e07274db588ca7c247bfa5ec6>:0 @ system.configuration.configurationelement.reset (system.configuration.configurationelement parentelement) [0x0000d] in <d6de850e07274db588ca7c247bfa5ec6>:0 @ system.configuration.configuration.getsectioninstance (system.configuration.sectioninfo config, system.boolean createdefaultinstance) [0x000b8] in <d6de850e07274db588ca7c247bfa5ec6>:0 @ system.configuration.configurationsectioncollection.get_item (system.string name) [0x00032] in <d6de850e07274db588ca7c247bfa5ec6>:0 @ system.configuration.configuration.getsection (system.string path) [0x00070] in <d6de850e07274db588ca7c247bfa5ec6>:0 @ system.configuration.clientconfigurationsystem.system.configuration.internal.iinternalconfigsystem.getsection (system.string configkey) [0x00006] in <d6de850e07274db588ca7c247bfa5ec6>:0 @ system.configuration.configurationmanager.getsection (system.string sectionname) [0x00005] in <d6de850e07274db588ca7c247bfa5ec6>:0 @ system.servicemodel.configuration.configutil.getsection (system.string name) [0x00011] in <8cdac92fdd4b495ba10570db10926ad4>:0 @ system.servicemodel.configuration.configutil.get_bindingssection () [0x00000] in <8cdac92fdd4b495ba10570db10926ad4>:0 @ system.servicemodel.configuration.configutil.createbinding (system.string binding, system.string bindingconfiguration) [0x00000] in <8cdac92fdd4b495ba10570db10926ad4>:0 @ system.servicemodel.channelfactory.applyconfiguration (system.string configurationname) [0x000fb] in <8cdac92fdd4b495ba10570db10926ad4>:0 @ system.servicemodel.channelfactory.initializeendpoint (system.string configurationname, system.servicemodel.endpointaddress remoteaddress) [0x00024] in <8cdac92fdd4b495ba10570db10926ad4>:0 @ system.servicemodel.channelfactory`1[tchannel]..ctor (system.string endpointconfigurationname) [0x00017] in <8cdac92fdd4b495ba10570db10926ad4>:0 @ powerteqdeviceupdate.handshakingchannel.createclient () [0x0000c] in <3a750d6f3b8644738d441775c891f848>:0 as said happy post more information app.config file settings http binding , that, before complicate post of hoping point me in right direction based solely on fact works on dev bbb has mono-complete on , why mkbundle doesn't work on clean bbb device.
i created mkbundle using following switches:
--deps --static --machine.config so should have linked in statically.
please let me know go here.
Hi,
ReplyDeleteI am currently facing the same problem as you, did you find a solution?
Best regards
Lucie