I'm very new to HoloLens development. Therefore please excuse me if this is an amateur question. I'm currently working transmitting hand gestures detections of the HoloLens to an external MQTT broker.
My use-case it, when I detect a hand tap(from HoloLens), I need to send(publish) a message to a subscribed topic in an MQTT broker.
I found this example on GitHub (https://github.com/gpvigano/M2MqttUnity). This publishes the message yet do not receive any messages. I'm getting the following error.
Connected to iot.eclipse.org:1883...
(Filename: C:\buildslave\unity\build\artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51)
Test message published
(Filename: C:\buildslave\unity\build\artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51)
'M2MqttUnity.exe' (CoreCLR: CoreCLR_UWP_Domain): Loaded 'C:\Data\Users\DefaultAccount\AppData\Local\DevelopmentFiles\M2MqttUnityVS.Release_x86.per287\System.Diagnostics.StackTrace.dll'. Cannot find or open the PDB file.
Exception thrown: 'System.InvalidOperationException' in Assembly-CSharp.dll
Exception thrown: 'uPLibrary.Networking.M2Mqtt.Exceptions.MqttCommunicationException' in Assembly-CSharp.dll
Exception thrown: 'System.AggregateException' in System.Private.CoreLib.ni.dll
The thread 0x13b8 has exited with code 0 (0x0).
The thread 0xfdc has exited with code 0 (0x0).
The thread 0x700 has exited with code 0 (0x0).
The thread 0x179c has exited with code 0 (0x0).
Exception thrown: 'uPLibrary.Networking.M2Mqtt.Exceptions.MqttCommunicationException' in Assembly-CSharp.dll
Failed to connect to iot.eclipse.org:1883:
uPLibrary.Networking.M2Mqtt.Exceptions.MqttCommunicationException: Exception of type 'uPLibrary.Networking.M2Mqtt.Exceptions.MqttCommunicationException' was thrown.
at uPLibrary.Networking.M2Mqtt.MqttClient.SendReceive(Byte[] msgBytes, Int32 timeout)
at uPLibrary.Networking.M2Mqtt.MqttClient.SendReceive(MqttMsgBase msg, Int32 timeout)
at uPLibrary.Networking.M2Mqtt.MqttClient.Connect(String clientId, String username, String password, Boolean willRetain, Byte willQosLevel, Boolean willFlag, String willTopic, String willMessage, Boolean cleanSession, UInt16 keepAlivePeriod)
at M2MqttUnity.M2MqttUnityClient.d__38.MoveNext()
(Filename: C:\buildslave\unity\build\artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51)
Anyone tried this before repository before or any idea about what this error is?
Related
I'm hoping someone can help point me in the right direction here. I have a VS2008 application that I've been porting over to VS2022. It has been a mostly painless excercise. But printing crashes. Previews work fine but actual printing crashes in the CDC::StartDoc() call.
This code works just fine in the vs2008 code and hasn't been changed in the vs2022 code. I'm guessing I'm missing an include or library or something but don't know what I'm missing?
This is the debugger output:
onecoreuap\printscan\print\workflow\printsupport\dll\printsupportutil.cpp(573)\Print.PrintSupport.Source.dll!7AC3BA60: (caller: 7AC26A2B) Exception(1) tid(7094) 80070490 Element not found.
Exception thrown at 0x75A37402 in IPC2000.exe: Microsoft C++ exception: wil::ResultException at memory location 0x06B6E4AC.
Exception thrown at 0x75A37402 in IPC2000.exe: Microsoft C++ exception: wil::ResultException at memory location 0x06B6DA50.
Exception thrown at 0x75A37402 in IPC2000.exe: Microsoft C++ exception: wil::ResultException at memory location 0x0018BA70.
Exception thrown at 0x75A37402 in IPC2000.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000.
Print.PrintSupport.Source.dll!7AC19ED8: ReturnHr(1) tid(6770) 80070490 Element not found.
Msg:[onecoreuap\printscan\print\workflow\printsupport\dll\printsupportutil.cpp(573)\Print.PrintSupport.Source.dll!7AC3BA60: (caller: 7AC26A2B) Exception(1) tid(6770) 80070490 Element not found.
]
Print.PrintSupport.Source.dll!7AC151F7: LogHr(1) tid(6770) 80070490 Element not found.
Exception thrown at 0x75A37402 (KernelBase.dll) in IPC2000.exe: WinRT originate error - 0x80070490 : 'Element not found.'.
Exception thrown at 0x75A37402 in IPC2000.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x0018BBC8.
When I run orchestrations, some of them intermittently fail with an exception:
Exception while executing function: Orchestrator function 'x' failed: The activity function 'x' failed: "Failed to deserialize exception from TaskActivity: Unhandled exception while executing task: System.InvalidOperationException: RunAsync does not handle the function execution status FunctionsHostStoppingError.
at Microsoft.Azure.WebJobs.Extensions.DurableTask.TaskActivityShim.RunAsync(TaskContext context, String rawInput) in D:\a_work\1\s\src\WebJobs.Extensions.DurableTask\Listener\TaskActivityShim.cs:line 124
at DurableTask.Core.TaskActivityDispatcher.<>c__DisplayClass13_1.<b__2>d.MoveNext() in /_/src/DurableTask.Core/TaskActivityDispatcher.cs:line 178". See the function execution logs for additional details.
I've checked my app insights logs and I do not see any other underlying exceptions. What could be the issue?
I have the following null pointer exception, I am unable to debug that due to insufficient stack trace, the exception I am getting as following,
Exception stack trace :
org.codehaus.groovy.grails.web.errors.GrailsWrappedRuntimeException#3855a1c
className=Unknown lineNumber=-1
stackTrace=java.lang.NullPointerException codeSnippet=[] gspFile=null
cause=java.lang.NullPointerException
resolver=org.springframework.core.io.support.PathMatchingResourcePatternResolver#27dee612
stackTraceLines=[java.lang.NullPointerException ] fileName=null
detailMessage=null cause=java.lang.NullPointerException stackTrace=[]
suppressedExceptions=[]
My application is working fine, but I'm continuously receiving this exception in email, I am not able to debug this issue, any help is appreciated!
My erlang node crashed with an error message
Internal error in copy_struct(): htop, hbot overrun
Are there any explanations what does it mean and how to avoid it?
I have an open UDP connection that streams video for several hours between two machines on different vlans.
After several hours I get the following exception on the server side (the transmitter):
System.Net.Sockets.SocketException: A blocking operation was
interrupted by a call to WSACancelBlockingCall at
System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32
size, SocketFlags socketFlags)
From that moment on, from time to time (not on every send), I see the following:
System.Net.Sockets.SocketException: A non-blocking socket operation
could not be completed immediately at
System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32
size, SocketFlags socketFlags)
On the client side I see no exception or abnormal behavior.
Is it possible that I get this exception due to a N/W problem, for example, something in the switch?
Any other ideas what can cause these exceptions?
Thanks
I will make a wild guess about WSACancelBlockingCall exception.
Probably you are trying to close the socket from another thread or your socket is getting disposed somehow with garbage collector.