2 Replies Latest reply on Jan 6, 2015 7:45 AM by sj 86

    java.lang.NullPointerException

    sj 86 Newbie

      Hi,

      I have downloaded Contact portlet from Jboss portlet swap. I am using Jboss portal 6.1.0.

      When I am running the Contact.ear file It through s error like


      17:35:58,170 ERROR [stderr] (http-/127.0.0.1:8080-1) javax.portlet.PortletException: org.apache.jasper.JasperException: java.lang.NullPointerException

      17:35:58,171 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.impl.jsr168.api.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:169)

      17:35:58,171 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.impl.jsr168.api.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:79)

      17:35:58,171 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.jboss.portlet.contacts.ContactsPortlet.doView(ContactsPortlet.java:105)

      17:35:58,171 ERROR [stderr] (http-/127.0.0.1:8080-1)     at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:354)

      17:35:58,171 ERROR [stderr] (http-/127.0.0.1:8080-1)     at javax.portlet.GenericPortlet.render(GenericPortlet.java:259)

      17:35:58,171 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:592)

      17:35:58,171 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)

      17:35:58,172 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.portal.application.ApplicationMonitoringFilter.doFilter(ApplicationMonitoringFilter.java:65)

      17:35:58,172 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)

      17:35:58,172 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:80)

      17:35:58,172 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:529)

      17:35:58,172 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)

      17:35:58,172 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,172 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:197)

      17:35:58,172 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,172 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.wsrp.payload.WSRPEventPayloadInterceptor.invoke(WSRPEventPayloadInterceptor.java:153)

      17:35:58,173 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,173 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119)

      17:35:58,173 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,173 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65)

      17:35:58,173 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,173 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)

      17:35:58,173 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,173 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,173 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.aspects.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:55)

      17:35:58,173 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,174 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$201(ContextDispatcherInterceptor.java:46)

      17:35:58,174 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$CallableImpl.call(ContextDispatcherInterceptor.java:119)

      17:35:58,174 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.portal.webui.application.ExoServerContext$1.doCallback(ExoServerContext.java:49)

      17:35:58,174 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:82)

      17:35:58,174 ERROR [stderr] (http-/127.0.0.1:8080-1)     at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source)

      17:35:58,174 ERROR [stderr] (http-/127.0.0.1:8080-1)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      17:35:58,174 ERROR [stderr] (http-/127.0.0.1:8080-1)     at java.lang.reflect.Method.invoke(Method.java:606)

      17:35:58,174 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135)

      17:35:58,174 ERROR [stderr] (http-/127.0.0.1:8080-1)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)

      17:35:58,175 ERROR [stderr] (http-/127.0.0.1:8080-1)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

      17:35:58,175 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)

      17:35:58,175 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

      17:35:58,175 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)

      17:35:58,175 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:718)

      17:35:58,175 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:655)

      17:35:58,175 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84)

      17:35:58,175 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.wci.command.CommandDispatcher.include(CommandDispatcher.java:58)

      17:35:58,175 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.wci.jboss.JB7ServletContainerContext.include(JB7ServletContainerContext.java:108)

      17:35:58,176 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.wci.ServletContainer.include(ServletContainer.java:393)

      17:35:58,176 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.portal.webui.application.ExoServerContext.dispatch(ExoServerContext.java:45)

      17:35:58,176 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:65)

      17:35:58,176 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,176 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.portal.pc.aspects.PortletLifecyclePhaseInterceptor.invoke(PortletLifecyclePhaseInterceptor.java:30)

      17:35:58,176 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,176 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)

      17:35:58,176 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,177 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:84)

      17:35:58,177 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,177 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:131)

      17:35:58,177 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,177 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:263)

      17:35:58,177 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:163)

      17:35:58,177 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:246)

      17:35:58,178 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,178 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomizationInterceptor.java:76)

      17:35:58,178 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,178 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:165)

      17:35:58,178 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:111)

      17:35:58,178 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:905)

      17:35:58,178 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:190)

      17:35:58,178 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:54)

      17:35:58,178 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:128)

      17:35:58,179 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.portal.webui.application.UIPortlet.processRender(UIPortlet.java:954)

      17:35:58,179 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.portal.webui.workspace.UIPortalApplication.processRender(UIPortalApplication.java:644)

      17:35:58,179 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.portal.application.PortalRequestHandler.processRequest(PortalRequestHandler.java:190)

      17:35:58,179 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:159)

      17:35:58,179 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.web.WebAppController.service(WebAppController.java:329)

      17:35:58,179 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.portal.application.PortalController.onService(PortalController.java:108)

      17:35:58,179 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132)

      17:35:58,179 ERROR [stderr] (http-/127.0.0.1:8080-1)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

      17:35:58,180 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)

      17:35:58,180 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

      17:35:58,180 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:96)

      17:35:58,180 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:71)

      17:35:58,180 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:70)

      17:35:58,180 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)

      17:35:58,180 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

      17:35:58,180 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:67)

      17:35:58,180 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)

      17:35:58,180 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

      17:35:58,181 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:122)

      17:35:58,181 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)

      17:35:58,181 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

      17:35:58,181 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.web.login.ConversationStateUpdateFilter.doFilter(ConversationStateUpdateFilter.java:66)

      17:35:58,181 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)

      17:35:58,181 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

      17:35:58,181 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:88)

      17:35:58,181 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)

      17:35:58,181 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

      17:35:58,182 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:81)

      17:35:58,182 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:49)

      17:35:58,182 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)

      17:35:58,182 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

      17:35:58,182 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.security.oauth.webapi.OAuthDelegateFilter.doFilter(OAuthDelegateFilter.java:58)

      17:35:58,182 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)

      17:35:58,182 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

      17:35:58,182 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.sso.integration.SSODelegateFilter.doFilter(SSODelegateFilter.java:60)

      17:35:58,182 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)

      17:35:58,183 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

      17:35:58,183 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:78)

      17:35:58,183 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)

      17:35:58,183 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

      17:35:58,183 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.portal.installer.PortalSetupFilter.doFilter(PortalSetupFilter.java:62)

      17:35:58,183 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)

      17:35:58,183 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

      17:35:58,183 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.portal.init.PortalCheckInitFilter.doFilter(PortalCheckInitFilter.java:66)

      17:35:58,184 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)

      17:35:58,184 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

      17:35:58,184 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

      17:35:58,184 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)

      17:35:58,184 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)

      17:35:58,184 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.sso.integration.SSODelegateValve.invoke(SSODelegateValve.java:159)

      17:35:58,184 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.portal.security.jboss.PortalClusteredSSOSupportValve.invoke(PortalClusteredSSOSupportValve.java:94)

      17:35:58,184 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)

      17:35:58,185 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)

      17:35:58,185 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)

      17:35:58,185 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)

      17:35:58,185 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)

      17:35:58,185 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)

      17:35:58,185 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)

      17:35:58,185 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)

      17:35:58,185 ERROR [stderr] (http-/127.0.0.1:8080-1)     at java.lang.Thread.run(Thread.java:745)

      17:35:58,186 ERROR [stderr] (http-/127.0.0.1:8080-1) Caused by: org.apache.jasper.JasperException: java.lang.NullPointerException

      17:35:58,186 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:409)

      17:35:58,186 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)

      17:35:58,186 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)

      17:35:58,186 ERROR [stderr] (http-/127.0.0.1:8080-1)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

      17:35:58,186 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)

      17:35:58,186 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

      17:35:58,186 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)

      17:35:58,187 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:718)

      17:35:58,187 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:655)

      17:35:58,187 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.gatein.pc.portlet.impl.jsr168.api.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:142)

      17:35:58,187 ERROR [stderr] (http-/127.0.0.1:8080-1)     ... 127 more

      17:35:58,187 ERROR [stderr] (http-/127.0.0.1:8080-1) Caused by: java.lang.NullPointerException

      17:35:58,187 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.jsp.WEB_002dINF.contacts.list_jsp._jspService(list_jsp.java:69)

      17:35:58,187 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.jboss.portal.core.servlet.jsp.PortalJsp.service(PortalJsp.java:153)

      17:35:58,187 ERROR [stderr] (http-/127.0.0.1:8080-1)     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365)

      17:35:58,187 ERROR [stderr] (http-/127.0.0.1:8080-1)     ... 136 more


      It showing error in the file list_jsp.java Which is generated by the system and the file is


      package org.apache.jsp.WEB_002dINF.contacts;

       

       

       

      import javax.servlet.*;

      import javax.servlet.http.*;

      import javax.servlet.jsp.*;

      import org.jboss.portlet.contacts.Contact;

      import java.util.List;

       

      public final class list_jsp extends org.jboss.portal.core.servlet.jsp.PortalJsp

          implements org.apache.jasper.runtime.JspSourceDependent {

       

        private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

       

        private static java.util.List _jspx_dependants;

       

        private javax.el.ExpressionFactory _el_expressionfactory;

        private org.apache.tomcat.InstanceManager _jsp_instancemanager;

       

        public Object getDependants() {

          return _jspx_dependants;

        }

       

        public void _jspInit() {

          _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();

          _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());

        }

       

        public void _jspDestroy() {

        }

       

        public void _jspService(HttpServletRequest request, HttpServletResponse response)

              throws java.io.IOException, ServletException {

       

          PageContext pageContext = null;

          HttpSession session = null;

          ServletContext application = null;

          ServletConfig config = null;

          JspWriter out = null;

          Object page = this;

          JspWriter _jspx_out = null;

          PageContext _jspx_page_context = null;

       

       

          try {

            response.setContentType("text/html");

            response.addHeader("X-Powered-By", "JSP/2.2");

            pageContext = _jspxFactory.getPageContext(this, request, response,

                        null, true, 8192, true);

            _jspx_page_context = pageContext;

            application = pageContext.getServletContext();

            config = pageContext.getServletConfig();

            session = pageContext.getSession();

            out = pageContext.getOut();

            _jspx_out = out;

       

            out.write("\r\n");

            out.write("\r\n");

            out.write("\r\n");

            out.write("\r\n");

            out.write("\r\n");

            out.write("<!--\r\n");

            out.write("/**\r\n");

            out.write("* User: Chris Mills (millsy@jboss.com)\r\n");

            out.write("* Date: 27-Feb-2006\r\n");

            out.write("* Time: 22:02:11\r\n");

            out.write("*/\r\n");

            out.write("-->\r\n");

            //  portlet:defineObjects

          org.gatein.pc.portlet.impl.jsr168.taglib.DefineObjectsTag _jspx_th_portlet_005fdefineObjects_005f0 = (org.gatein.pc.portlet.impl.jsr168.taglib.DefineObjectsTag)_jsp_instancemanager.newInstance(org.gatein.pc.portlet.impl.jsr168.taglib.DefineObjectsTag.class);

            _jspx_th_portlet_005fdefineObjects_005f0.setPageContext(_jspx_page_context);

            _jspx_th_portlet_005fdefineObjects_005f0.setParent(null);

            int _jspx_eval_portlet_005fdefineObjects_005f0 = _jspx_th_portlet_005fdefineObjects_005f0.doStartTag();

            if (_jspx_th_portlet_005fdefineObjects_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {

              _jspx_th_portlet_005fdefineObjects_005f0.release();

              _jsp_instancemanager.destroyInstance(_jspx_th_portlet_005fdefineObjects_005f0);

              return;

            }

            _jspx_th_portlet_005fdefineObjects_005f0.release();

            _jsp_instancemanager.destroyInstance(_jspx_th_portlet_005fdefineObjects_005f0);

            javax.portlet.PortletConfig portletConfig = null;

            javax.portlet.RenderRequest renderRequest = null;

            javax.portlet.RenderResponse renderResponse = null;

            portletConfig = (javax.portlet.PortletConfig) _jspx_page_context.findAttribute("portletConfig");

            renderRequest = (javax.portlet.RenderRequest) _jspx_page_context.findAttribute("renderRequest");

            renderResponse = (javax.portlet.RenderResponse) _jspx_page_context.findAttribute("renderResponse");

            out.write("\r\n");

            out.write("\r\n");

            out.write("<table width=\"100%\">\r\n");

            out.write("   <tr class=\"portlet-table-body\">\r\n");

            out.write("      <form action=\"");

            if (_jspx_meth_portlet_005frenderURL_005f0(_jspx_page_context))

              return;

            out.write("\" method=\"POST\">\r\n");

            out.write("         <td colspan=\"2\">Find contacts: </td>\r\n");

            out.write("         <td colspan=\"2\"><input type=\"text\" name=\"familyName\"/></td>\r\n");

            out.write("         <td colspan=\"2\"><input type=\"submit\" name=\"op\" value=\"Search\"/></td>\r\n");

            out.write("      </form>\r\n");

            out.write("   </tr>\r\n");

            out.write("   ");

       

      Its Showing null pointer exception at underlined line I am not able to understand what exactly the error is Can any one please help me out of this problem.

      Thank you.