We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da66ee1 commit 0efc37dCopy full SHA for 0efc37d
1 file changed
java/src/main/java/com/genexus/internet/HttpContext.java
@@ -642,7 +642,16 @@ protected GXNavigationHelper getNavigationHelper()
642
643
protected GXNavigationHelper getNavigationHelper(boolean useWebSession)
644
{
645
- GXNavigationHelper helper = (GXNavigationHelper)getSessionValue(GX_NAV_HELPER);
+ GXNavigationHelper helper;
646
+ try
647
+ {
648
+ helper = (GXNavigationHelper) getSessionValue(GX_NAV_HELPER);
649
+ }
650
+ catch (Exception e)
651
652
+ //If it gives an error to recover the GXNavigationHelper from the session then I start with a new GXNavigationHelper to avoid a runtime error
653
+ helper = null;
654
655
if (helper == null)
656
657
helper = new GXNavigationHelper();
0 commit comments