Hololens emulator showing NullReferenceException - hololens

I'm trying to run a Hello World kind of problem for a HoloLens on emulator but it is showing error:
The following unexpected error occurred during bootstrapping stage
'Connecting to the device '<device>'.': NullReferenceException - Object reference not set to an instance of an object. [0x80004003]
I have tried making a new project, reinstalling emulator and checked Hyper-V on my system

Please refer to the Troubleshooting section of https://learn.microsoft.com/en-us/windows/mixed-reality/using-the-hololens-emulator. I suspect you're hitting an installation issue where XDE is installed to the wrong folder. The documentation includes a solution for this. Please let me know if this does not resolve the issue.

Related

Android Pepper Application: E/qi.path.sdklayout: Cannot create directory – Permission denied

Since quite a while, I've been trying to run an Android app for the humanoid robot Pepper on Mac OS 10.13.6. In the past, there occurred many issues when I was trying to run a virtual device in combination with the Pepper Emulator. When I tried to run the emulator with Android SDK version 30 or 29, I was always receiving an error message that there were "NO_CERTIFICATES" to permit the installation of the app. After trying the option to generate a signed bundle in Android Studio, no change was happening.
After downgrading to Android SDK version 23, it was finally possible to run the robot viewer while installing and starting the app on the virtual tablet device without any crash occurring. However the app didn't crash at this point, the following error message appeared in the log histroy:
E/qi.path.sdklayout: Cannot create directory '"/mnt/sdcard/.config/qimessaging"' error was: boost::filesystem::create_directories: Permission denied: "/mnt/sdcard/.config"
E/qi.os: Unable to create file: ''
As soon as I call the robot to execute an animation by clicking a button on the tablet interface, the app crashes and the following lines are printed to the log:
enter image description here
I thought that this error might be implied by the first error message. Therefore I tried to update the AndroidManifest.xml with this permission tag:
enter image description here
Unfortunately, this did not change anything. So I hope to receive some help from your community. Also I would be extremly happy to receive some advice from you, #dfinn. I've read that you got around several issues to run a Pepper application on your Mac, is this correct?
Thanks a lot for all your support!
The error E/qi.path.sdklayout: Cannot create directory – Permission denied has no visible consequence.
The real issue you have here is the one described in the backtrace, java.lang.IllegalStateException: Could not execute method for android:onClick.
It looks like something is wrong with an onClick callback in your Android code.

Android Studio 4.0 Installation failed due to: 'null'

All of a sudden I have had issue trying to install my app onto my device. I am getting a set of errors and i'm having trouble finding the solution.
ERROR
Installation did not succeed.
The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
List of apks:
[0] 'C:\Users\simonszarco\AndroidStudioProjects\Dartsystems\app\build\outputs\apk\debug\app-arm64-v8a-debug.apk'
Installation failed due to: 'null'
Retry
Has anyone else come across this error before and if so how did you fix it.
Thank you
For some reason I changed the android skd minimum requirements to android 23 and it started working after that.
No clue why this occurred maybe someone can shed some light to this.
I try a lot of solution and finally, I found one solution that works for me
On your mobile go to the setting of your mobile then Addition Setting -> Developer option -> and disable verify apps via USB
Then install the app. Hope it will work

Azure MarsAgent Upgrade Failed

I have an issue, I am trying to upgrade the MarsAgent (Azure agent) on a Windows 7 PC. When I try to update it I get the error:
"An unexpected error occurred during the installation. For more details check the setup error logs.(Error ID: 116)".
You then press OK on that error and I am then presented with
"Error starting the Microsoft Azure Recovery Services Agent Setup Wizard"
Can you please help!!!
I was also getting same error whet tried to installed MarsAgent on win2016 server. I tried many articles but no luck. When I selected installed with window updates it shown me error for window update service. so I checked Windows update service found it was in disabled state, hence I set startup type automatic and started service then tried. Issue resolved no error found.

Root element is missing when trying to Publish

It has been a while since I've published my app to Azure. During that time frame, I've upgraded my system from 32-bit to 64-bit meaning a fresh install of Windows and Visual Studio. And Visual Studio Update 3 came out and was applied. When I went to publish an update today, I received the following:
The following exception was thrown trying to publish: Root element is missing.
My web.config file looks fine so I don't think it's this issue.
The app works fine in debug mode so I don't think it's any of the .lsml files as is mentioned here.
And I tried this procedure to hand edit the .ls3proj file but it didn't seem to help.
I previously had an issue trying to publish when I upgraded from the standalone LightSwitch 2011 to Visual Studio 2012. I was able to overcome that issue using the method described in this thread.
Attempting to use this same method resulted in my new project has a full screen error saying "There are critical errors in the application definition metadata..." and 210 individual errors (max errors reached).
The first error, "Cannot create unknown type '{http://schemas.microsoft.com/LightSwitch/2010/xaml/model}GlobalAttributeGroup'." Doesn't make sense because that line in the .lsml is identical from the old project to the new project.
The second error, "Could not find any application definition in the project." Which I do not understand at all.
I am able to publish a simple "Hello, world" style app to my Azure account.
What could be causing this? How can I get more information about exactly which element is causing the issue? The log produced by running devenv /log was not helpful.
Matt Thalman was able to solve my problem over in the Microsoft Forums. The ServiceConfiguration.cscfg and ServiceDefinition.csdef were missing from the project when checked out of version control. Copying those over from a new project restored my ability to publish.

Microsoft Test Manager - An error occurred with the diagnostic data adapter IntelliTrace

I get the following error message when I attempt to run a test in Microsoft Test Manager.
This adapter will not be used for this
test run. The following error
occurred: The element 'StartupInfo' in
namespace
'urn:schemas-microsoft-com:visualstudio:tracelog'
has invalid child element
'DeleteLogOnClose' in namespace
'urn:schemas-microsoft-com:visualstudio:tracelog'.
Looking in the event log on the (agent and controller - same box) server I see the following error shortly before the above one:
(QTDCAgent32.exe, PID 2700, Thread 7)
Data collector
'datacollector://microsoft/TestImpact/1.0'
logged the following error: This
adapter will not be used for this test
run. The following error occurred:
Object reference not set to an
instance of an object.
I've searched for a solution but cannot find anyone else who encountered this issue.
Anyone have any ideas?? I'm getting desperate!
Thanks
JP
For at least the first error it looks like you have an invalid Collection Plan. Have you modified them at all? Did you change Visual Studio versions at all?
Check both:
Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\DataCollectors\Microsoft.VisualStudio.TraceCollector.dll.config and
Microsoft Visual Studio 10.0\Team Tools\TraceDebugger Tools\en\CollectionPlan.xml
I would at least try removing that node 'DeleteLogOnClose' altogther to start with.
I had this issue with VS 2010. I was able to resolve it by applying vs 2010 sp1.

Resources