Skip to Content
0

NWBC 5.0: Favorites not working

Apr 05, 2017 at 08:06 AM

72

avatar image

Hi experts,

when I add a transaction to my favorites list and I will start the transaction from that list it failed. I get a pop-up with unexpected error. Object reference not set to an instance of an object.

we use the portal for SSO the backend roles are uploaded in the portal. When I start the role in IE and start the transaction from the favorites in the portal it works fine. Looks like a NBWC problem.

In the trace

NullReferenceException: Object reference not set to an instance of an object.
at com.sap.nw.nwbc.core.implementation.canvas.sapgui.SapGuiCanvas.CheckServiceNumber(String systemHost, String systemService, SapguiUrl& sgUrl)
at com.sap.nw.nwbc.core.implementation.canvas.sapgui.SapGuiCanvas.AsyncNavigate(String toUrl, NavigationContext context)
at com.sap.nw.nwbc.core.implementation.canvas.CanvasContainerBase.AsyncNavigateLast(NavigationContext context)
at com.sap.nw.nwbc.core.implementation.canvas.CanvasContainerBase.AsyncNavigate(NavigationContext context)
at com.sap.nw.nwbc.core.implementation.canvas.MainCanvasContainer.AsyncNavigate(NavigationContext navigationContext)
at com.sap.nw.nwbc.core.implementation.model.NavigationController.Navigate(NavigationContext context)
at com.sap.nw.nwbc.core.implementation.TabbedBrowsing.ViewModels.NavigateTreeViewItemViewModel.CnpTreeItemNavigateCommand.OnExecute(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)
at com.sap.nw.nwbc.core.implementation.MVVM.CommandTrigger.ExecuteCommand(CommandParameter`1 parameter)
at com.sap.nw.nwbc.core.implementation.MVVM.EventCommandTrigger.ExecuteCommand(Object sender, RoutedEventArgs args)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Problem is that the transaction code is saved with the wrong URL in 5.0 and in 4.0 was it the (portal) navigation URL.

http://<portal host>.<portal port>/irj/portalsap/bc/gui/sap/its/webgui;~sysid=XXX;~service=XXXX?~transaction=XXXX&~nosplash=1&sap-theme=sap_corbu

it should be http://<SAP system host>.<sap system port>/irj/portalsap/bc/gui/sap/its/webgui;~sysid=XXX;~service=XXXX?~transaction=XXXX&~nosplash=1&sap-theme=sap_corbu

How to solve this?

thanks in advance

Vo

l8si5.png (26.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
J. Vo Apr 20, 2017 at 09:30 AM
0

upgrade from pl12 to PL16 solved the problem

Share
10 |10000 characters needed characters left characters exceeded