Skip to Content
author's profile photo Former Member
Former Member

problem with bean in IPortalComponentSession

Hi all,

we have a ep5-app that uses any beans stored in session . In intranet and on any internet-clients it works fine. But any Clients in internet can't use the app, because null pointer exceptions on getting a bean from session , which is created in doInitialisation, so that bean should exist. We've check allready all browser- and security-settings and have now the same on all test clients.

here's the exception:

com.sapportals.portal.prt.component.PortalComponentException: Exception during PageProcessorComponent.doContent()<br>at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:143)<br>at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:127)<br>at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:291)<br>at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:198)<br>at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:231)<br>at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:475)<br>at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:291)<br>at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:198)<br>at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:483)<br>at com.sapportals.portal.prt.portalconnection.sapnative.DelegatedPlugIn.handleRequest(DelegatedPlugIn.java:730)<br>at com.sapportals.portal.prt.portalconnection.sapnative.PortalPlugIn.handleRequest(PortalPlugIn.java:132)<br>at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:635)<br>at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<br>at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)<br>at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<br>at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:147)<br>at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:792)<br>at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)<br>at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)<br>at com.inqmy.services.httpserver.server.Response.handle(Response.java:170)<br>at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1170)<br>at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)<br>at com.inqmy.core.cluster.impl3.ParserRunner.run(ParserRunner.java:30)<br>at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)<br>at java.security.AccessController.doPrivileged(Native Method)<br>at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:155)<br><b>Caused by: java.lang.reflect.InvocationTargetException:

<b>here is the nullPointerException on getting the bean:</b>

java.lang.NullPointerException</b><br>at de.octavia.portal.common.utilities.navigation.Navigation.generateXMLNavigation(Navigation.java:42)<br>at de.octavia.portal.common.controller.Controller$ControllerDynPage.onNavClick(Controller.java:199)<br>at java.lang.reflect.Method.invoke(Native Method)<br>at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:153)<br>at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:95)<br>at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:139)<br>at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:127)<br>at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:291)<br>at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:198)<br>at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:231)<br>at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:475)<br>at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:291)<br>at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:198)<br>at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:483)<br>at com.sapportals.portal.prt.portalconnection.sapnative.DelegatedPlugIn.handleRequest(DelegatedPlugIn.java:730)<br>at com.sapportals.portal.prt.portalconnection.sapnative.PortalPlugIn.handleRequest(PortalPlugIn.java:132)<br>at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:635)<br>at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<br>at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)<br>at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)<br>at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:147)<br>at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:792)<br>at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:665)<br>at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:312)<br>at com.inqmy.services.httpserver.server.Response.handle(Response.java:170)<br>at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1170)<br>at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)<br>at com.inqmy.core.cluster.impl3.ParserRunner.run(ParserRunner.java:30)<br>at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)<br>at java.security.AccessController.doPrivileged(Native Method)<br>at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:155)com.sapportals.portal.prt.core.PortalRequestManager@5ea69f #<br>

has anyone a idea?

Thomas Fischer

<b></b><b></b><b></b>

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2004 at 01:05 PM

    Is see that the exception comes from the de.octavia.portal.common.utilities.navigation.Navigation class in method generateXMLNavigation(Navigation.java:42

    which is again called by de.octavia.portal.common.controller.Controller$ControllerDynPage.onNavClick(Controller.java:199)

    could you send the code of these two methods ?

    Otherwise, this error seems strange as the object in IPortalComponentSession should not be deleted when more memory is needed. You could try HttpSession and see if there are any differences

    Add comment
    10|10000 characters needed characters exceeded