What is the meaning of this output: 'Element not found'?

Fay Wang - MSFT 5,196 Reputation points
2019-12-13T07:41:07.52+00:00

Source link: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/c67dd809-2dda-4145-863b-5e40bb9ef476/what-is-the-meaning-of-this-output-element-not-found?forum=wpdevelop

----------

What does this mean ..

It seems like there's something wrong then, because the grid is loaded. These are resizing events after the window is built and when I'm already rendering.

onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFC79C804B0: (caller: 00007FFC79C801F5) ReturnHr(1) tid(2318) 80070490 Element not found.
The app at this stage is a simple UWP/Xaml/SharpDX app that does some raytracing.

Here's output showing it trigger on window resizing ..

T: 3 | CoreRenderer.Ctor
T: 3 | MainPage.Loaded: 1254,888
T: 3 | RasterizerStatePrefabs.BuildSolid
T: 3 | Texture.Ctor [TextureRectRenderer.debugTexture]
onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFC79C804B0: (caller: 00007FFC79C801F5) ReturnHr(1) tid(5f38) 80070490 Element not found.
onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFC79C804B0: (caller: 00007FFC79C801F5) ReturnHr(2) tid(5f38) 80070490 Element not found.
T: 3 | MainPage.SizeChanged: 1197,774
T: 3 | Texture.Ctor [TestRenderer.Texture]
onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFC79C804B0: (caller: 00007FFC79C801F5) ReturnHr(3) tid(5f38) 80070490 Element not found.
onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFC79C804B0: (caller: 00007FFC79C801F5) ReturnHr(4) tid(5f38) 80070490 Element not found.
T: 3 | MainPage.SizeChanged: 2028,1348
T: 3 | Texture.Ctor [TestRenderer.Texture]
onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFC79C804B0: (caller: 00007FFC79C801F5) ReturnHr(5) tid(5f38) 80070490 Element not found.
onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFC79C804B0: (caller: 00007FFC79C801F5) ReturnHr(6) tid(5f38) 80070490 Element not found.
T: 3 | MainPage.SizeChanged: 1197,774
T: 3 | Texture.Ctor [TestRenderer.Texture]

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Ian Bland 11 Reputation points
    2020-06-10T00:41:59.78+00:00

    I also get this when compiling VB.net UWP App in Visual Studio 2019. Windows 10 1909 build 18363.836 x64.

    onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFB9B0604B0: (caller: 00007FFB9B0601F5) ReturnHr(1) tid(47b4) 80070490 Element not found.
    onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFB9B0604B0: (caller: 00007FFB9B06017A) ReturnHr(2) tid(47b4) 80070490 Element not found.
    onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFB9B0604B0: (caller: 00007FFB9B0601F5) ReturnHr(3) tid(47b4) 80070490 Element not found.
    onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFB9B0604B0: (caller: 00007FFB9B0601F5) ReturnHr(4) tid(47b4) 80070490 Element not found.
    onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFB9B0604B0: (caller: 00007FFB9B0601F5) ReturnHr(5) tid(47b4) 80070490 Element not found.
    onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFB9B0604B0: (caller: 00007FFB9B0601F5) ReturnHr(6) tid(47b4) 80070490 Element not found.

    2 people found this answer helpful.
    0 comments No comments

  2. Edward Abramian 36 Reputation points
    2020-08-22T16:57:06.08+00:00

    Same problem here. Is Microsoft going to fix this?

    2 people found this answer helpful.
    0 comments No comments

  3. Jan Diederich 6 Reputation points
    2020-04-20T16:07:37.827+00:00

    I can confirm that I still have this issue in Windows 10 1909 (Build 18363.778).
    The exact message
    "onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFC0C1A04B0: (caller: 00007FFC0C1A01F5) ReturnHr(278) tid(37b4) 80070490 Element nicht gefunden."
    I have no idea why I get massive amounts of this message in my Visual Studio 2019 Output when I debug my UWP app.

    1 person found this answer helpful.
    0 comments No comments

  4. dnn hdd 6 Reputation points
    2020-12-31T08:59:40.1+00:00

    I also just met this problem:
    onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFCB99504B0: (caller: 00007FFCB99501F5) ReturnHr(21) tid(5988) 80070490 找不到元素。
    onecoreuap\windows\wgi\winrt\display\displaycommon.cpp(411)\Windows.Graphics.dll!00007FFCB99504B0: (caller: 00007FFCB99501F5) ReturnHr(22) tid(5988) 80070490 找不到元素。

    my system verson: 18363.1256 (1909)

    1 person found this answer helpful.
    0 comments No comments

  5. Fay Wang - MSFT 5,196 Reputation points
    2019-12-13T07:42:11.557+00:00

    Hello,

    Welcome to Microsoft Q&A!

    This is a known issue that can be reproduced in Windows OS Version 18362. I can confirm that we can not on longer reproduce this issue in the Windows 10 insider preview 18990.