question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The page has not been pushed yet or has been removed already Error in Dialog

See original GitHub issue

🐛 Bug Report

System.InvalidOperationException: The page has not been pushed yet or has been removed already at Rg.Plugins.Popup.Services.PopupNavigationImpl.RemovePageAsync (Rg.Plugins.Popup.Pages.PopupPage page, System.Boolean animate) [0x00052] in C:\projects\rg-plugins-popup\src\Rg.Plugins.Popup\Services\PopupNavigationImpl.cs:128 at XF.Material.Forms.UI.Dialogs.BaseMaterialModalPage.DismissAsync () [0x00011] in C:\Users\mhvdi\Documents\OpenSource\XF-Material-Library\XF.Material\UI\Dialogs\BaseMaterialModalPage.cs:55 at XF.Material.Forms.UI.Dialogs.BaseMaterialModalPage.ShowAsync () [0x0008f] in C:\Users\mhvdi\Documents\OpenSource\XF-Material-Library\XF.Material\UI\Dialogs\BaseMaterialModalPage.cs:144 at XF.Material.Forms.UI.Dialogs.MaterialSimpleDialog.ShowAsync (System.String title, System.Collections.Generic.IEnumerable1[T] actions, XF.Material.Forms.UI.Dialogs.Configurations.MaterialSimpleDialogConfiguration configuration) [0 x0006e] in C:\Users\mhvdi\Documents\OpenSource\XF-Material-Library\XF.Material\UI\Dialogs\MaterialSimpleDialog.xaml.cs:35 at XFMaterialSample.MainPage.MaterialButton_Clicked_1 (System.Object sender, System.EventArgs e) [0x001e1] in E:\Mobile apps samples\XFMaterialSample\XFMaterialSample\MainPage.xaml.cs:76 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) [0x00000] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1021 at Foundation.NSAsyncSynchronizationContextDispatcher.Apply () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.6.0.12/src/Xamarin.iOS/Foundation/NSAction.cs:178 at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr) at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xama rin.iOS.framework/Versions/13.6.0.12/src/Xamarin.iOS/UIKit/UIApplication.cs:86 at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.6.0.12/src/Xamarin.iOS/UIKit/UIApplication.cs:65 at XFMaterialSample.iOS.Application.Main (System.String[] args) [0x00001] in E:\Mobile apps samples\XFMaterialSample\XFMaterialSample.iOS\Main.cs:17 2019-11-14 12:39:15.881 XFMaterialSample.iOS[881:366919] Unhandled managed exception: The page has not been pushed yet or has been removed already (System.InvalidOperationException) at Rg.Plugins.Popup.Services.PopupNavigationImpl.RemovePageAsync (Rg.Plugins.Popup.Pages.PopupPage page, System.Boolean animate) [0x00052] in C:\projects\rg-plugins-popup\src\Rg.Plugins.Popup\Services\PopupNavigationImpl.cs:128 at XF.Material.Forms.UI.Dialogs.BaseMaterialModalPage.DismissAsync () [0x00011] in C:\Users\mhvdi\Documents\OpenSource\XF-Material-Library\XF.Material\UI\Dialogs\BaseMaterialModalPage.cs:55 at XF.Material.Forms.UI.Dialogs.BaseMaterialModalPage.ShowAsync () [0x0008f] in C:\Users\mhvdi\Documents\OpenSource\XF-Material-Library\XF.Material\UI\Dialogs\BaseMaterialModalPage.cs:144 at XF.Material.Forms.UI.Dialogs.MaterialSimpleDialog.ShowAsync (System.String title, System.Collections.Generic.IEnumerable1[T] actions, XF.Material.Forms.UI.Dialogs.Configurations.MaterialSimpleDialogConfiguration configura tion) [0x0006e] in C:\Users\mhvdi\Documents\OpenSource\XF-Material-Library\XF.Material\UI\Dialogs\MaterialSimpleDialog.xaml.cs:35 at XFMaterialSample.MainPage.MaterialButton_Clicked_1 (System.Object sender, System.EventArgs e) [0x001e1] in E:\Mobile apps samples\XFMaterialSample\XFMaterialSample\MainPage.xaml.cs:76 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) [0x00000] in /Users/builder/jenkins/workspace/xamarin-macios/xamarin-macios/external/mono/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1021 at Foundation.NSAsyncSynchronizationContextDispatcher.Apply () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.6.0.12/src/Xamarin.iOS/Foundation/NSAction.cs:178 at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr) at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Framewo rks/Xamarin.iOS.framework/Versions/13.6.0.12/src/Xamarin.iOS/UIKit/UIApplication.cs:86 at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.6.0.12/src/Xamarin.iOS/UIKit/UIApplication.cs:65

Platform:

  • 📱 iOS
  • 🤖 Android
  • 🏁 WPF
  • 🌎 UWP
  • 🍎 MacOS
  • 📺 tvOS
  • 🐒 Xamarin.Forms

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
canyurdakurbancommented, Mar 19, 2020

To open the popup page Navigation.PushModalAsync instead of Navigation.PushPopupAsync use

0reactions
OdettePcommented, Dec 20, 2019

Can you please add the steps to reproduce.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exception when using Rg.Plugins.Popup in xamarin forms
Rg.plugins.popup. on selecting list item, I'm calling PopupNavigation.PopAsync(true);. to close the popup. but sometimes I ...
Read more >
Solved: After upgrading to Sourcetree 3.2.6 the push dialo...
This is happening on a colleague's machine. I can still push to the remote via the command line but not via the SourceTree...
Read more >
Common Flutter errors
Introduction. This page explains several frequently-encountered Flutter framework errors (including layout errors) and gives suggestions on how to resolve ...
Read more >
Commit and push changes to Git repository - Pycharm
The Push Commits dialog opens showing all Git repositories (for multi-repository projects) and listing all commits made in the current branch in ...
Read more >
Using Git in Apache NetBeans
At the Remote Repository page of the wizard, select either the Configured repository (to use the path to the repository configured earlier) or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found