[JBoss Portal] - Help!!! HTTP Status 500 Error
by linamariep
Hi. Please help me resolve the error below. We created a JBoss Portal that was working fine when i started tinkering with the layouts and themes. I initially encountered this error with a lay null pointer error which i was able to resolve (through revising the default objec.xml)....however, the problem below still persists. Any assistance would be greatly appreciated. I am very new to JBoss portal. Wahhh!!!!
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException
org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:312)
org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:172)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
root cause
java.lang.NullPointerException
org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.ensurePageNavigationalState(PageNavigationInterceptor.java:230)
org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:72)
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:78)
org.jboss.portal.core.CoreController.handle(CoreController.java:126)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
$Proxy318.handle(Unknown Source)
org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:79)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:74)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:174)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:92)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:294)
org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:172)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088594#4088594
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088594
18 years, 7 months
[JBoss Seam] - Re: multiple calls to same method from <s:div rendered...>
by asookazian
in SFSB:
public boolean getSeedSelection() {
| log.info("in seedSelection()");
| populate();
| return true;
| }
private void populate() {
| log.info("in populate()");
|
| try {
| con = DriverManager.getConnection(AdminConstants.URL, AdminConstants.USERNAME, AdminConstants.PASSWORD);
| cstmt = con.prepareCall("{call usp_u_adm_select_Role}");
| rs = cstmt.executeQuery();
| choices = new ArrayList<SelectItem>();
| while(rs.next()) {
| choices.add(new SelectItem(rs.getString("ApplicationRoleID"), rs.getString("Name")));
|
| String name = rs.getString("Name");
| log.info("populate(): name = " + name);
| String applicationRoleID = rs.getString("ApplicationRoleID");
| log.info("populate(): applicationRoleID = " + applicationRoleID);
| }
| alreadyPopulated = "a value indicating we are populated";
| }
| catch(Exception e) {
| e.printStackTrace();
| }
| finally {
| this.cleanUp();
| }
|
| //return allRolesHashMap;
| }
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088590#4088590
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088590
18 years, 7 months