Skip to Content

WDPortalNavigation.navigateAbsolute is not working correctly.

Hi All,

I have a page in portal.When the user clicks on this page then a web dynpro java application iview will be called.

In this an wd java application runs. It checks for some data base entry and if that entry exist then we navigate to a new page in the portal.I have used

WDPortalNavigation.navigateAbsolute api in my wd java component.

The issue is

I am getting an error while using this api WDPortalNavigation.navigateAbsolute.

The code which I have written is

WDPortalNavigation.navigateAbsolute("my pcd address",WDPortalNavigationMode.SHOW_INPLACE,WDPortalNavigationHistoryMode.NO_HISTORY,"");

The error is

NavigationNode.addExtConnectorKeytoEnv: Exception

[EXCEPTION]

java.lang.NullPointerException: while trying to invoke the method java.util.Hashtable.remove(java.lang.Object) of a null object loaded from local variable 'env'

at com.sapportals.portal.navigation.NavigationNode.addExtConnectorKeytoEnv(NavigationNode.java:491)

at com.sapportals.portal.navigation.NavigationNode.getRelatedSeeAlsoNodes(NavigationNode.java:1194)

at com.sapportals.portal.navigation.NavigationNode.getRelatedSeeAlsoNodes(NavigationNode.java:1256)

at com.sapportals.portal.navigation.TargetsiView.doOnNodeReady(TargetsiView.java:116)

at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:390)

at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$1.service(RequestDispatcherFactory.java:168)

at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:270)

at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.handleEvent(RequestDispatcherFactory.java:158)

at com.sap.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:242)

at com.sap.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:342)

at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:345)

at com.sapportals.portal.pb.PageBuilder.createAndAddEmbeddediView(PageBuilder.java:197)

at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:469)

at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:280)

at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:711)

at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:390)

at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:878)

at com.sap.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:429)

at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$1.service(RequestDispatcherFactory.java:168)

at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:270)

at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.handleEvent(RequestDispatcherFactory.java:158)

at com.sap.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:242)

at com.sap.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:342)

at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:345)

at com.sap.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:465)

at com.sapportals.portal.prt.connection.ServletConnection._handleRequest(ServletConnection.java:224)

at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:101)

at com.sap.portal.prt.dispatcher.DispatcherServlet.service(DispatcherServlet.java:132)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)

at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.portal.prt.dispatcher.CustomHeaderFilter.doFilter(CustomHeaderFilter.java:58)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.portal.http.EnrichNavRequestFilter.doFilter(EnrichNavRequestFilter.java:49)

at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)

at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)

at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)

at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)

at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)

at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)

at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)

at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)

Please help me to resolve this issue.

REgards,

Anand

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 07, 2014 at 10:16 PM

    What portal version? Is the navigation triggered? See if SAP KBA 1917848 is relevant.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.