Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] Java.Lang.IllegalArgumentException: 'No view found for id 0x7f0900fd (com.twe.elon:id/labeled) for fragment NavigationRootManager_ElementBasedFragment{e99ccf3} (d735450b-8b7e-4e10-87d0-3b9a8251e4b3 id=0x7f0900fd)' #24774

Open
Jay-57blocks opened this issue Sep 15, 2024 · 8 comments
Labels
area-controls-label Label, Span platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending s/needs-attention Issue has more information and needs another look t/bug Something isn't working
Milestone

Comments

@Jay-57blocks
Copy link

Description

Hi,

I have encountered an error during development, When I start the app, the program immediately terminates and freezes on the splash screen page

Java.Lang.IllegalArgumentException: 'No view found for id 0x7f0900fd (com.twe.elon:id/labeled) for fragment NavigationRootManager_ElementBasedFragment{e99ccf3} (d735450b-8b7e-4e10-87d0-3b9a8251e4b3 id=0x7f0900fd)

image

UNMC_Debug_AnyCPU_net8.0-android_Build_2024-09-15T19_19_22.4673372+08_00.zip

I don't know why it happened, I thought I changed the code to cause an exception, but after I Reset commit, the error still occurs.

I also tried the following, none of them worked:
1, Delete the app and reinstall it
2, Reboot the phone
3, Clean+Rebuild
4, Delete the bin folder

I don't know how to do it anymore, I expect to solve this problem soon, thanks!

Steps to Reproduce

I'm not sure how this problem arose

dotnet workload list

wasm-tools-net6 8.0.8/8.0.100 VS 17.9.34728.123
maui-windows 8.0.72/8.0.100 VS 17.9.34728.123
maccatalyst 17.5.8020/8.0.100 VS 17.9.34728.123
ios 17.5.8020/8.0.100 VS 17.9.34728.123
android 34.0.113/8.0.100 VS 17.9.34728.123

Link to public reproduction project repository

No response

Version with bug

8.0.10 SR3

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 13, Windows

Did you find any workaround?

No

Relevant log output

I've uploaded the Build Logging log attachment above:
[UNMC_Debug_AnyCPU_net8.0-android_Build_2024-09-15T19_19_22.4673372+08_00.zip

Here is the console log:

This debug engine does not support exception conditions. The condition(s) will be ignored.
Start debugging Android application ...
Forwarding debugger port 8809
Detecting existing process
> am start -a "android.intent.action.MAIN" -c "android.intent.category.LAUNCHER" -n "com.twe.elon/crc6462652f9ee391236e.MainActivity"
> Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.twe.elon/crc6462652f9ee391236e.MainActivity }
Loaded assembly: System.Private.CoreLib.dll [External]
Loaded assembly: UNMC.dll
Loaded assembly: Mono.Android.dll [External]
Loaded assembly: System.Runtime.dll [External]
Loaded assembly: Java.Interop.dll [External]
Loaded assembly: System.Runtime.InteropServices.dll [External]
Resolved pending breakpoint for 'Android.Runtime.JNIEnvInit.RegisterJniNatives(System.IntPtr, System.Int32, System.IntPtr, System.IntPtr, System.Int32)' to /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNIEnvInit.cs:57 [0x00000].
Loaded assembly: System.Collections.dll [External]
Loaded assembly: Mono.Android.Runtime.dll [External]
Loaded assembly: System.Threading.dll [External]
Loaded assembly: System.Threading.Thread.dll [External]
Loaded assembly: System.Diagnostics.StackTrace.dll [External]
Loaded assembly: data-0xb400007564b80600 [External]
Loaded assembly: data-0xb400007564ba2880 [External]
Loaded assembly: data-0xb400007564bf5d40 [External]
Loaded assembly: netstandard.dll [External]
Loaded assembly: System.Linq.dll [External]
Loaded assembly: System.Collections.Concurrent.dll [External]
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointSendToIde(System.String)' to D:\a\_work\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:423 [0x00000].
Loaded assembly: System.Text.Json.dll [External]
Loaded assembly: System.Text.Encodings.Web.dll [External]
Loaded assembly: System.ComponentModel.dll [External]
Loaded assembly: Microsoft.Maui.Controls.dll [External]
Loaded assembly: System.ObjectModel.dll [External]
Loaded assembly: Microsoft.Maui.dll [External]
Loaded assembly: Microsoft.Maui.Graphics.dll [External]
Loaded assembly: Microsoft.Maui.Essentials.dll [External]
Loaded assembly: Microsoft.Extensions.Logging.Abstractions.dll [External]
[com.twe.elon] Late-enabling -Xcheck:jni
Loaded assembly: System.Runtime.Loader.dll [External]
[CompatibilityChangeReporter] Compat change id reported: 171979766; UID 10252; state: ENABLED
[nativeloader] Configuring classloader-namespace for other apk /system/framework/org.apache.http.legacy.jar. target_sdk_version=34, uses_libraries=ALL, library_path=/data/app/~~pJH9LJhGwDl9fQmrKm3gMg==/com.twe.elon-M5lNcIF5w55ALaUbiliwBg==/lib/arm64:/data/app/~~pJH9LJhGwDl9fQmrKm3gMg==/com.twe.elon-M5lNcIF5w55ALaUbiliwBg==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.twe.elon
[nativeloader] Extending system_exposed_libraries: libhigh_dynamic_range.arcsoft.so:libBeauty_v4.camera.samsung.so:libexifa.camera.samsung.so:libjpega.camera.samsung.so:libOpenCv.camera.samsung.so:libImageScreener.camera.samsung.so:libMyFilter.camera.samsung.so:libtensorflowLite.myfilter.camera.samsung.so:libtensorflowlite_inference_api.myfilter.camera.samsung.so:libHpr_RecGAE_cvFeature_v1.0.camera.samsung.so:libHprFace_GAE_api.camera.samsung.so:libFace_Landmark_API.camera.samsung.so:libHprFace_GAE_jni.camera.samsung.so:libFacialBasedSelfieCorrection.camera.samsung.so:libDLInterface_aidl.camera.samsung.so:libObjectAndSceneClassification_2.5_OD.camera.samsung.so:libQREngine.camera.samsung.so:libEventDetector.camera.samsung.so:libFood.camera.samsung.so:libFoodDetector.camera.samsung.so:libPortraitSolution.camera.samsung.so:libsrib_CNNInterface.camera.samsung.so:libsrib_humanaware_engine.camera.samsung.so:libInteractiveSegmentation.camera.samsung.so:libImageCropper.camera.samsung.so:libsmart_cropping.camera.samsung.so:libMult
[ziparchive] Unable to open '/data/app/~~pJH9LJhGwDl9fQmrKm3gMg==/com.twe.elon-M5lNcIF5w55ALaUbiliwBg==/base.dm': No such file or directory
[ziparchive] Unable to open '/data/app/~~pJH9LJhGwDl9fQmrKm3gMg==/com.twe.elon-M5lNcIF5w55ALaUbiliwBg==/base.dm': No such file or directory
[nativeloader] Configuring classloader-namespace for other apk /data/app/~~pJH9LJhGwDl9fQmrKm3gMg==/com.twe.elon-M5lNcIF5w55ALaUbiliwBg==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~pJH9LJhGwDl9fQmrKm3gMg==/com.twe.elon-M5lNcIF5w55ALaUbiliwBg==/lib/arm64:/data/app/~~pJH9LJhGwDl9fQmrKm3gMg==/com.twe.elon-M5lNcIF5w55ALaUbiliwBg==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.twe.elon
[GraphicsEnvironment] ANGLE Developer option for 'com.twe.elon' set to: 'default'
[GraphicsEnvironment] ANGLE GameManagerService for com.twe.elon: false
[GraphicsEnvironment] Neither updatable production driver nor prerelease driver is supported.
[NetworkSecurityConfig] No Network Security Config specified, using platform default
[NetworkSecurityConfig] No Network Security Config specified, using platform default
[DOTNET] JNI_OnLoad: JNI_OnLoad in pal_jni.c
[DOTNET] GetOptionalClassGRef: optional class com/android/org/conscrypt/OpenSSLEngineImpl was not found
[monodroid] Creating public update directory: `/data/user/0/com.twe.elon/files/.__override__`
[com.twe.elon] Attempt to remove non-JNI local reference, dumping thread
[monodroid-debug] Trying to initialize the debugger with options: --debugger-agent=transport=dt_socket,loglevel=0,address=127.0.0.1:8809,server=y,embedding=1,timeout=1726397897
[monodroid-gc] GREF GC Threshold: 46080
[com.twe.elon] Attempt to remove non-JNI local reference, dumping thread
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.VisualStudio.DesignTools.TapContract.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.VisualStudio.DesignTools.TapContract.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.HotReload.Contracts.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.HotReload.Contracts.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.HotReload.Contracts.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Xamarin.HotReload.Contracts.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.VisualStudio.DesignTools.TapContract.dll
[monodroid-assembly] open_from_bundles: failed to load assembly Microsoft.VisualStudio.DesignTools.TapContract.dll
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointCheckpoint()' to D:\a\_work\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:418 [0x00000].
Loaded assembly: System.Memory.dll [External]
Loaded assembly: System.Reflection.Emit.Lightweight.dll [External]
Loaded assembly: System.Reflection.Emit.ILGeneration.dll [External]
Loaded assembly: System.Reflection.Primitives.dll [External]
Loaded assembly: Xamarin.AndroidX.Core.dll [External]
Loaded assembly: Microsoft.Extensions.DependencyInjection.Abstractions.dll [External]
Loaded assembly: System.Console.dll [External]
Loaded assembly: Microsoft.Maui.Controls.Xaml.dll [External]
Loaded assembly: Microsoft.Maui.Controls.Compatibility.dll [External]
Loaded assembly: CommunityToolkit.Maui.dll [External]
Loaded assembly: CommunityToolkit.Maui.Core.dll [External]
Loaded assembly: BarcodeScanning.Native.Maui.dll [External]
Loaded assembly: DevExpress.Maui.Core.dll [External]
Loaded assembly: Plugin.LocalNotification.dll [External]
Loaded assembly: Prism.Container.Abstractions.dll [External]
Loaded assembly: Prism.Maui.dll [External]
Loaded assembly: DryIoc.dll [External]
Loaded assembly: Prism.DryIoc.Maui.dll [External]
Loaded assembly: Microsoft.Extensions.Configuration.dll [External]
Loaded assembly: Microsoft.Extensions.Configuration.Abstractions.dll [External]
Loaded assembly: Prism.Events.dll [External]
Loaded assembly: Xamarin.AndroidX.AppCompat.dll [External]
Loaded assembly: Xamarin.Google.Android.Material.dll [External]
Loaded assembly: Xamarin.AndroidX.SwipeRefreshLayout.dll [External]
Loaded assembly: System.ComponentModel.TypeConverter.dll [External]
Loaded assembly: System.Private.Uri.dll [External]
Loaded assembly: Xamarin.AndroidX.Fragment.dll [External]
Loaded assembly: Xamarin.AndroidX.Activity.dll [External]
Loaded assembly: Xamarin.AndroidX.Lifecycle.ViewModel.dll [External]
Loaded assembly: Xamarin.AndroidX.Lifecycle.Common.dll [External]
Loaded assembly: Xamarin.AndroidX.SavedState.dll [External]
Loaded assembly: Xamarin.AndroidX.DrawerLayout.dll [External]
Loaded assembly: Xamarin.AndroidX.CustomView.dll [External]
Loaded assembly: Xamarin.AndroidX.Navigation.Runtime.dll [External]
Loaded assembly: System.Net.Primitives.dll [External]
Loaded assembly: DevExpress.Data.v23.1.dll [External]
Loaded assembly: Xamarin.GooglePlayServices.Location.dll [External]
Loaded assembly: Xamarin.GooglePlayServices.Base.dll [External]
Loaded assembly: Prism.Container.DryIoc.dll [External]
Loaded assembly: Prism.dll [External]
Loaded assembly: Microsoft.Extensions.DependencyInjection.dll [External]
Loaded assembly: System.Linq.Expressions.dll [External]
Loaded assembly: Plugin.BLE.dll [External]
Loaded assembly: Microsoft.Extensions.Configuration.Json.dll [External]
Loaded assembly: Microsoft.Extensions.Primitives.dll [External]
Loaded assembly: System.Text.Encoding.Extensions.dll [External]
Loaded assembly: System.Xml.ReaderWriter.dll [External]
Loaded assembly: System.Private.Xml.dll [External]
[ConnectivityManager] StackLog: [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4191)] [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4233)] [android.net.ConnectivityManager.registerNetworkCallback(ConnectivityManager.java:4615)] [android.net.ConnectivityManager.registerNetworkCallback(ConnectivityManager.java:4585)] [crc6488302ad6e9e4df1a.MauiApplication.n_onCreate(Native Method)] [crc6488302ad6e9e4df1a.MauiApplication.onCreate(MauiApplication.java:28)] [android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1266)] [android.app.ActivityThread.handleBindApplication(ActivityThread.java:7614)] [android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)] [android.app.ActivityThread$H.handleMessage(ActivityThread.java:2400)]
Thread started:  #2
Loaded assembly: Interfaces.dll [External]
Loaded assembly: Serilog.dll [External]
Loaded assembly: UNCCLient.dll [External]
Loaded assembly: Api.dll [External]
Loaded assembly: System.Net.Http.dll [External]
Loaded assembly: IdentityModel.dll [External]
Loaded assembly: Lottie.Maui.dll [External]
Loaded assembly: Plugin.Maui.Audio.dll [External]
Loaded assembly: Stateless.dll [External]
Loaded assembly: Microsoft.AppCenter.Analytics.dll [External]
Loaded assembly: Microsoft.AppCenter.dll [External]
Loaded assembly: Microsoft.AppCenter.Crashes.dll [External]
Loaded assembly: System.Text.RegularExpressions.dll [External]
[CompatibilityChangeReporter] Compat change id reported: 183155436; UID 10252; state: ENABLED
[ConnectivityManager] StackLog: [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4191)] [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4233)] [android.net.ConnectivityManager.registerNetworkCallback(ConnectivityManager.java:4615)] [android.net.ConnectivityManager.registerNetworkCallback(ConnectivityManager.java:4585)] [com.microsoft.appcenter.utils.NetworkStateHelper.reopen(NetworkStateHelper.java:112)] [com.microsoft.appcenter.utils.NetworkStateHelper.<init>(NetworkStateHelper.java:66)] [com.microsoft.appcenter.utils.NetworkStateHelper.getSharedInstance(NetworkStateHelper.java:81)] [com.microsoft.appcenter.http.HttpUtils.createHttpClientWithoutRetryer(HttpUtils.java:203)] [com.microsoft.appcenter.http.HttpUtils.createHttpClient(HttpUtils.java:198)] [com.microsoft.appcenter.http.HttpUtils.createHttpClient(HttpUtils.java:192)] [com.microsoft.appcenter.AppCenter.finishConfiguration(AppCenter.java:895)] [com.microsoft.appcenter.AppCenter.access$500(AppCenter.java:64)] [com.microsoft.appcenter.AppCenter$5.run(AppCenter.java:784)]
Loaded assembly: Serilog.Sinks.Debug.dll [External]
Thread started: <Thread Pool> #3
Thread started:  #4
Thread started: .NET TP Gate #5
Thread started: <Thread Pool> #6
Thread started: <Thread Pool> #7
Loaded assembly: Xamarin.Google.Crypto.Tink.Android.dll [External]
Loaded assembly: Xamarin.AndroidX.Security.SecurityCrypto.dll [External]
Loaded assembly: System.Diagnostics.DiagnosticSource.dll [External]
Thread started:  #8
Loaded assembly: System.Diagnostics.Tracing.dll [External]
[0:] [18:57:55 INF] 2024-09-15:10:57:55.800: TraceLifeCycle AppInitialized
Loaded assembly: Xamarin.AndroidX.RecyclerView.dll [External]
Loaded assembly: Xamarin.AndroidX.CardView.dll [External]
Loaded assembly: Xamarin.AndroidX.CoordinatorLayout.dll [External]
Loaded assembly: System.ComponentModel.Primitives.dll [External]
Loaded assembly: Lottie.Android.dll [External]
Loaded assembly: DevExpress.Maui.Charts.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly en-GB/System.Private.CoreLib.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en-GB/System.Private.CoreLib.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en/System.Private.CoreLib.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en/System.Private.CoreLib.resources.dll
Loaded assembly: System.Drawing.Common.dll [External]
Loaded assembly: System.Numerics.Vectors.dll [External]
Thread finished:  #8
The thread 8 has exited with code 0 (0x0).
[com.twe.elon] Explicit concurrent copying GC freed 54058(3387KB) AllocSpace objects, 49(1316KB) LOS objects, 68% free, 2891KB/9035KB, paused 93us,37us total 23.337ms
Loaded assembly: mscorlib.dll [External]
Loaded assembly: System.dll [External]
[TrafficStats] tagSocket(6) with statsTag=0xd83ddc19, statsUid=-1
Thread started:  #9
Thread started:  #10
Thread started:  #11
Loaded assembly: System.Runtime.Serialization.Json.dll [External]
Loaded assembly: System.Private.DataContractSerialization.dll [External]
Loaded assembly: System.Runtime.Serialization.Xml.dll [External]
Loaded assembly: System.Runtime.Serialization.Primitives.dll [External]
[monodroid-assembly] open_from_bundles: failed to load assembly en-GB/System.Private.DataContractSerialization.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en-GB/System.Private.DataContractSerialization.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en/System.Private.DataContractSerialization.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en/System.Private.DataContractSerialization.resources.dll
Loaded assembly: System.Runtime.Intrinsics.dll [External]
[OpenGLRenderer] RenderThread::requireGlContext()
[OpenGLRenderer] RenderThread::setGrContext()
Loaded assembly: Xamarin.AndroidX.Loader.dll [External]
[AppCompatDelegate] Checking for metadata for AppLocalesMetadataHolderService : Service not found
Loaded assembly: _Microsoft.Android.Resource.Designer.dll [External]
[com.twe.elon] Explicit concurrent copying GC freed 12123(814KB) AllocSpace objects, 1(20KB) LOS objects, 64% free, 3315KB/9459KB, paused 88us,36us total 25.087ms
Resolved pending breakpoint at 'MauiProgram.cs:161,1' to void UNMC.MauiProgram.<NavigateToMainPage>d__3.MoveNext () [0x00132].
[0:] [18:58:02 INF] 2024-09-15:10:58:02.112: TraceNavigation NavigationPage/DebugDashBoard
[MediaPlayer-JNI] native_setup
[MediaPlayerNative] constructor
[MediaPlayerNative] setListener
[0:] [18:58:02 INF] 2024-09-15:10:58:02.452: TracePower LimitedBattery
[MediaPlayerNative] setDataSource(IDataSource)
[MediaPlayerNative] setVideoSurfaceTexture
[MediaPlayerNative] prepare
Thread started:  #12
[monodroid-assembly] open_from_bundles: failed to load assembly en-GB/UNMC.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en-GB/UNMC.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en/UNMC.resources.dll
[monodroid-assembly] open_from_bundles: failed to load assembly en/UNMC.resources.dll
Thread started:  #13
Thread started:  #14
[MediaPlayerNative] message received msg=200, ext1=10973, ext2=0
[MediaPlayerNative] info/warning (10973, 0)
[MediaPlayerNative] message received msg=1, ext1=0, ext2=0
[MediaPlayerNative] MediaPlayer::notify() prepared
[MediaPlayerNative] signal application thread
[MediaPlayerNative] prepare complete - status=0
[MediaPlayerNative] invoke 76
Thread started: <Thread Pool> #15
[MediaPlayer-JNI] native_setup
[MediaPlayerNative] constructor
[MediaPlayerNative] setListener
[MediaPlayerNative] setDataSource(IDataSource)
[MediaPlayerNative] setVideoSurfaceTexture
[MediaPlayerNative] prepare
Thread started:  #16
Thread started:  #17
[MediaPlayerNative] message received msg=200, ext1=10973, ext2=0
[MediaPlayerNative] info/warning (10973, 0)
[MediaPlayerNative] message received msg=1, ext1=0, ext2=0
[MediaPlayerNative] MediaPlayer::notify() prepared
[MediaPlayerNative] signal application thread
[MediaPlayerNative] prepare complete - status=0
[MediaPlayerNative] invoke 76
Loaded assembly: System.Security.Cryptography.dll [External]
[MediaPlayer-JNI] native_setup
[MediaPlayerNative] constructor
[MediaPlayerNative] setListener
[MediaPlayerNative] setDataSource(IDataSource)
Loaded assembly: System.Collections.NonGeneric.dll [External]
[MediaPlayerNative] setVideoSurfaceTexture
[MediaPlayerNative] prepare
Loaded assembly: System.Net.Requests.dll [External]
Thread started:  #18
[MediaPlayerNative] message received msg=200, ext1=10973, ext2=0
[MediaPlayerNative] info/warning (10973, 0)
[MediaPlayerNative] message received msg=1, ext1=0, ext2=0
[MediaPlayerNative] MediaPlayer::notify() prepared
[MediaPlayerNative] signal application thread
[MediaPlayerNative] prepare complete - status=0
[MediaPlayerNative] invoke 76
[MediaPlayer-JNI] native_setup
[MediaPlayerNative] constructor
[MediaPlayerNative] setListener
[MediaPlayerNative] setDataSource(IDataSource)
[MediaPlayerNative] setVideoSurfaceTexture
[MediaPlayerNative] prepare
[MediaPlayerNative] message received msg=200, ext1=10973, ext2=0
[MediaPlayerNative] info/warning (10973, 0)
[MediaPlayerNative] message received msg=1, ext1=0, ext2=0
[MediaPlayerNative] MediaPlayer::notify() prepared
[MediaPlayerNative] signal application thread
[MediaPlayerNative] prepare complete - status=0
[MediaPlayerNative] invoke 76
Loaded assembly: Newtonsoft.Json.dll [External]
[MediaPlayer-JNI] native_setup
[MediaPlayerNative] constructor
[MediaPlayerNative] setListener
[MediaPlayerNative] setDataSource(IDataSource)
Loaded assembly: System.Runtime.Serialization.Formatters.dll [External]
[MediaPlayerNative] setVideoSurfaceTexture
[MediaPlayerNative] prepare
[MediaPlayerNative] message received msg=200, ext1=10973, ext2=0
[MediaPlayerNative] info/warning (10973, 0)
[MediaPlayerNative] message received msg=1, ext1=0, ext2=0
[MediaPlayerNative] MediaPlayer::notify() prepared
[MediaPlayerNative] signal application thread
[MediaPlayerNative] prepare complete - status=0
[MediaPlayerNative] invoke 76
[MediaPlayer-JNI] native_setup
[MediaPlayerNative] constructor
[MediaPlayerNative] setListener
Loaded assembly: System.Diagnostics.TraceSource.dll [External]
[MediaPlayerNative] setDataSource(IDataSource)
[MediaPlayerNative] setVideoSurfaceTexture
[MediaPlayerNative] prepare
Loaded assembly: System.Runtime.Numerics.dll [External]
[MediaPlayerNative] message received msg=200, ext1=10973, ext2=0
[MediaPlayerNative] info/warning (10973, 0)
[MediaPlayerNative] message received msg=1, ext1=0, ext2=0
[MediaPlayerNative] MediaPlayer::notify() prepared
[MediaPlayerNative] signal application thread
[MediaPlayerNative] prepare complete - status=0
[MediaPlayerNative] invoke 76
[MediaPlayer-JNI] native_setup
[MediaPlayerNative] constructor
[MediaPlayerNative] setListener
[MediaPlayerNative] setDataSource(IDataSource)
[MediaPlayerNative] setVideoSurfaceTexture
[MediaPlayerNative] prepare
[MediaPlayerNative] message received msg=200, ext1=10973, ext2=0
[MediaPlayerNative] info/warning (10973, 0)
[MediaPlayerNative] message received msg=1, ext1=0, ext2=0
[MediaPlayerNative] MediaPlayer::notify() prepared
[MediaPlayerNative] signal application thread
[MediaPlayerNative] prepare complete - status=0
[MediaPlayerNative] invoke 76
[MediaPlayer-JNI] native_setup
[MediaPlayerNative] constructor
[MediaPlayerNative] setListener
[MediaPlayerNative] setDataSource(IDataSource)
[MediaPlayerNative] setVideoSurfaceTexture
[MediaPlayerNative] prepare
Loaded assembly: System.Data.Common.dll [External]
[MediaPlayerNative] message received msg=200, ext1=10973, ext2=0
[MediaPlayerNative] info/warning (10973, 0)
[MediaPlayerNative] message received msg=1, ext1=0, ext2=0
[MediaPlayerNative] MediaPlayer::notify() prepared
[MediaPlayerNative] signal application thread
[MediaPlayerNative] prepare complete - status=0
[MediaPlayerNative] invoke 76
[MediaPlayer-JNI] native_setup
[MediaPlayerNative] constructor
[MediaPlayerNative] setListener
[MediaPlayerNative] setDataSource(IDataSource)
[MediaPlayerNative] setVideoSurfaceTexture
[MediaPlayerNative] prepare
[MediaPlayerNative] message received msg=200, ext1=10973, ext2=0
[MediaPlayerNative] info/warning (10973, 0)
[MediaPlayerNative] message received msg=1, ext1=0, ext2=0
[MediaPlayerNative] MediaPlayer::notify() prepared
[MediaPlayerNative] signal application thread
[MediaPlayerNative] prepare complete - status=0
[MediaPlayerNative] invoke 76
[com.twe.elon] Explicit concurrent copying GC freed 1415(244KB) AllocSpace objects, 19(2508KB) LOS objects, 60% free, 3932KB/10076KB, paused 121us,45us total 25.505ms
[com.twe.elon] Explicit concurrent copying GC freed 79(20KB) AllocSpace objects, 0(0B) LOS objects, 60% free, 3928KB/10072KB, paused 98us,48us total 24.446ms
[MediaPlayer-JNI] native_setup
[MediaPlayerNative] constructor
[MediaPlayerNative] setListener
[MediaPlayerNative] setDataSource(IDataSource)
[0:] [18:58:03 INF] 2024-09-15:10:58:03.298: TraceInfo : 
[MediaPlayerNative] setVideoSurfaceTexture
[MediaPlayerNative] prepare
[MediaPlayerNative] message received msg=200, ext1=10973, ext2=0
[MediaPlayerNative] info/warning (10973, 0)
[MediaPlayerNative] message received msg=1, ext1=0, ext2=0
[MediaPlayerNative] MediaPlayer::notify() prepared
[MediaPlayerNative] signal application thread
[MediaPlayerNative] prepare complete - status=0
[MediaPlayerNative] invoke 76
Thread started: .NET Timer #19
[0:] [18:58:03 INF] 2024-09-15:10:58:03.493: TraceNavigation [NavigationStackClassNames]: 
[DecorView] [INFO] isPopOver=false config=true
[DecorView] updateCaptionType: isFloating=false isApplication=true hasWindowDecorCaption=false this=DecorView@b415167[]
[DecorView] setCaptionType = 0, this = DecorView@b415167[]
[DecorView] getCurrentDensityDpi: from real metrics. densityDpi=300 msg=resources_loaded
[DecorView] setWindowBackground: isPopOver=false color=fff6f6f6 d=android.graphics.drawable.LayerDrawable@34559b2
Loaded assembly: Xamarin.AndroidX.Lifecycle.Runtime.dll [External]
Loaded assembly: Xamarin.Kotlin.StdLib.dll [External]
Loaded assembly: Xamarin.KotlinX.Coroutines.Core.Jvm.dll [External]
Loaded assembly: Xamarin.AndroidX.Lifecycle.LiveData.Core.dll [External]
[com.twe.elon] Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
[com.twe.elon] Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
[CompatibilityChangeReporter] Compat change id reported: 210923482; UID 10252; state: ENABLED
[PhoneWindow] forceLight changed to false [] from com.android.internal.policy.PhoneWindow.updateForceLightNavigationBar:4314 com.android.internal.policy.PhoneWindow.setNavigationBarColor:4033 crc6462652f9ee391236e.MainActivity.n_onCreate:-2 crc6462652f9ee391236e.MainActivity.onCreate:59 android.app.Activity.performCreate:8591 
[AndroidRuntime] Shutting down VM
[AndroidRuntime] FATAL EXCEPTION: main
[AndroidRuntime] Process: com.twe.elon, PID: 17264
[AndroidRuntime] java.lang.IllegalArgumentException: No view found for id 0x7f0900fd (com.twe.elon:id/labeled) for fragment NavigationRootManager_ElementBasedFragment{e99ccf3} (d735450b-8b7e-4e10-87d0-3b9a8251e4b3 id=0x7f0900fd)
[AndroidRuntime] 	at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:559)
[AndroidRuntime] 	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:278)
[AndroidRuntime] 	at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:2103)
[AndroidRuntime] 	at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:2004)
[AndroidRuntime] 	at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1941)
[AndroidRuntime] 	at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3206)
[AndroidRuntime] 	at androidx.fragment.app.FragmentManager.dispatchActivityCreated(FragmentManager.java:3116)
[AndroidRuntime] 	at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:263)
[AndroidRuntime] 	at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:350)
[AndroidRuntime] 	at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:251)
[AndroidRuntime] 	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1510)
[AndroidRuntime] 	at android.app.Activity.performStart(Activity.java:8616)
[AndroidRuntime] 	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:4204)
[AndroidRuntime] 	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
[AndroidRuntime] 	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
[AndroidRuntime] 	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
[AndroidRuntime] 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
[AndroidRuntime] 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574)
[AndroidRuntime] 	at android.os.Handler.dispatchMessage(Handler.java:106)
[AndroidRuntime] 	at android.os.Looper.loopOnce(Looper.java:226)
[AndroidRuntime] 	at android.os.Looper.loop(Looper.java:313)
[AndroidRuntime] 	at android.app.ActivityThread.main(ActivityThread.java:8757)
[AndroidRuntime] 	at java.lang.reflect.Method.invoke(Native Method)
[AndroidRuntime] 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
[AndroidRuntime] 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
**Java.Lang.IllegalArgumentException:** 'No view found for id 0x7f0900fd (com.twe.elon:id/labeled) for fragment NavigationRootManager_ElementBasedFragment{e99ccf3} (d735450b-8b7e-4e10-87d0-3b9a8251e4b3 id=0x7f0900fd)'
@Jay-57blocks Jay-57blocks added the t/bug Something isn't working label Sep 15, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@Jay-57blocks
Copy link
Author

Jay-57blocks commented Sep 15, 2024 via email

@tj-devel709
Copy link
Contributor

Hi, are you able to provide a repro so that we can try to reproduce this on our end?

@tj-devel709 tj-devel709 added the s/needs-repro Attach a solution or code which reproduces the issue label Sep 16, 2024
@samhouts samhouts added platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending area-controls-label Label, Span labels Sep 16, 2024
@Jay-57blocks
Copy link
Author

Jay-57blocks commented Sep 17, 2024 via email

@dotnet-policy-service dotnet-policy-service bot added s/needs-attention Issue has more information and needs another look and removed s/needs-repro Attach a solution or code which reproduces the issue labels Sep 17, 2024
@tj-devel709
Copy link
Contributor

You mentioned that an earlier version of MAUI worked. SR3 has been out for a while, so the commit you are on now worked on SR3 in the past? Does changing the MAUI version that you had prior work? I'd also be curious if updating your MAUI version to the latest helps this issue at all?

@steffenborup
Copy link

I am suddenly experiencing the same issue today. All of a sudden, debugging on Android fails and throws the same error. Debugging on iOS works fine. Updating .NET MAUI and all NuGet packages makes no difference.

@ninachen03
Copy link

Could you provide us with a sample project so we can investigate it further? Looking forward to your reply!

@tj-devel709 tj-devel709 added this to the 9.0-rc2 milestone Sep 18, 2024
@tj-devel709
Copy link
Contributor

@steffenborup are you also able to provide a repro as ninachen03 mentioned? It would greatly help us figure out what is going on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-label Label, Span platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending s/needs-attention Issue has more information and needs another look t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants