Getting "internal Server error" while login to jasperserver link

0

Hi ,

 I have installed Jasperreports-server-4.7-bin.zip  and using database as oracle 11g.While starting tomcat i am not getting any error in the logs but when browsing the link with [/jasperserver-pro] then iam getting error as "internal Server error" on the browser and lots of below exception in logs.Could anybody help me to resolve the problem.

2012-12-06 16:41:46,686 ERROR ThemeTag,http-8079-2:86 - java.lang.NullPointerException         at com.jaspersoft.jasperserver.war.themes.MTThemeResolver.resolveThemeName(MTThemeResolver.java:51)         at com.jaspersoft.jasperserver.war.themes.JSThemeResolver.resolveThemeName(JSThemeResolver.java:65)         at org.springframework.web.servlet.support.RequestContextUtils.getTheme(RequestContextUtils.java:151)         at org.springframework.web.servlet.support.RequestContext.getTheme(RequestContext.java:318)         at org.springframework.web.servlet.tags.ThemeTag.getMessageSource(ThemeTag.java:50)         at org.springframework.web.servlet.tags.MessageTag.resolveMessage(MessageTag.java:193)         at org.springframework.web.servlet.tags.MessageTag.doStartTagInternal(MessageTag.java:165)         at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:79)         at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspx_meth_spring_005ftheme_005f14(main_jsp.java:8260)         at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspx_meth_c_005fotherwise_005f5(main_jsp.java:8140)         at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspx_meth_c_005fchoose_005f5(main_jsp.java:7504)         at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspService(main_jsp.java:1303)         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)         at com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.java:165)         at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:63)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)         at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)         at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262)         at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1157)         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:927)         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:399)         at com.jaspersoft.jasperserver.api.security.IPadSupportFilter.doFilter(IPadSupportFilter.java:67)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.security.JSSwitchUserProcessingFilter.doFilterHttp(JSSwitchUserProcessingFilter.java:154)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)         at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.ji.license.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:108)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.ji.license.JILicenseFilter.doFilter(JILicenseFilter.java:66)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.java:139)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.war.util.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:96)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.multipleTenancy.MTBasicProcessingFilter.doFilterHttp(MTBasicProcessingFilter.java:180)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:185)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:185)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.logging.filter.BasicLoggingFilter.doFilter(BasicLoggingFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.security.JSCsrfGuardFilter.doFilter(JSCsrfGuardFilter.java:83)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.doFilter(WebAppSecurityFilter.java:76)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.war.MultipartRequestWrapperFilter.doFilter(MultipartRequestWrapperFilter.java:90)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.security.encryption.EncryptionFilter.doFilter(EncryptionFilter.java:130)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:188)         at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67)         at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)         at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at com.jaspersoft.jasperserver.war.P3PFilter.doFilter(P3PFilter.java:43)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)         at java.lang.Thread.run(Thread.java:662) 2012-12-06 16:41:46,703 ERROR RenderViewExceptionInterceptor,http-8079-2:38 - Internal server error occurred. Please contact your system administrator. org.apache.jasper.JasperException: java.lang.NullPointerException         at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)         at com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.java:165)         at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:63)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)         at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)         at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262)         at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1157)         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:927)         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:399)         at com.jaspersoft.jasperserver.api.security.IPadSupportFilter.doFilter(IPadSupportFilter.java:67)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.security.JSSwitchUserProcessingFilter.doFilterHttp(JSSwitchUserProcessingFilter.java:154)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)         at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.ji.license.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:108)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.ji.license.JILicenseFilter.doFilter(JILicenseFilter.java:66)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.java:139)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.war.util.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:96)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.multipleTenancy.MTBasicProcessingFilter.doFilterHttp(MTBasicProcessingFilter.java:180)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:185)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:185)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.logging.filter.BasicLoggingFilter.doFilter(BasicLoggingFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.security.JSCsrfGuardFilter.doFilter(JSCsrfGuardFilter.java:83)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.doFilter(WebAppSecurityFilter.java:76)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.war.MultipartRequestWrapperFilter.doFilter(MultipartRequestWrapperFilter.java:90)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.security.encryption.EncryptionFilter.doFilter(EncryptionFilter.java:130)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:188)         at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67)         at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)         at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at com.jaspersoft.jasperserver.war.P3PFilter.doFilter(P3PFilter.java:43)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)         at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NullPointerException         at com.jaspersoft.jasperserver.war.themes.MTThemeResolver.resolveThemeName(MTThemeResolver.java:51)         at com.jaspersoft.jasperserver.war.themes.JSThemeResolver.resolveThemeName(JSThemeResolver.java:65)         at org.springframework.web.servlet.support.RequestContextUtils.getTheme(RequestContextUtils.java:151)         at org.springframework.web.servlet.support.RequestContext.getTheme(RequestContext.java:318)         at org.springframework.web.servlet.tags.ThemeTag.getMessageSource(ThemeTag.java:50)         at org.springframework.web.servlet.tags.MessageTag.resolveMessage(MessageTag.java:193)         at org.springframework.web.servlet.tags.MessageTag.doStartTagInternal(MessageTag.java:165)         at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:79)         at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspx_meth_spring_005ftheme_005f14(main_jsp.java:8260)         at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspx_meth_c_005fotherwise_005f5(main_jsp.java:8140)         at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspx_meth_c_005fchoose_005f5(main_jsp.java:7504)         at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspService(main_jsp.java:1303)         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)         ... 96 more 2012-12-06 16:41:46,707 ERROR SystemErrorController,http-8079-2:62 - Internal server error org.apache.jasper.JasperException: java.lang.NullPointerException         at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)         at com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.java:165)         at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:63)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)         at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)         at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262)         at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1157)         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:927)         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:399)         at com.jaspersoft.jasperserver.api.security.IPadSupportFilter.doFilter(IPadSupportFilter.java:67)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.security.JSSwitchUserProcessingFilter.doFilterHttp(JSSwitchUserProcessingFilter.java:154)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)         at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.ji.license.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:108)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.ji.license.JILicenseFilter.doFilter(JILicenseFilter.java:66)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.java:139)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.war.util.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:96)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.multipleTenancy.MTBasicProcessingFilter.doFilterHttp(MTBasicProcessingFilter.java:180)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:185)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:278)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:185)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.logging.filter.BasicLoggingFilter.doFilter(BasicLoggingFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.security.JSCsrfGuardFilter.doFilter(JSCsrfGuardFilter.java:83)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.doFilter(WebAppSecurityFilter.java:76)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.war.MultipartRequestWrapperFilter.doFilter(MultipartRequestWrapperFilter.java:90)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at com.jaspersoft.jasperserver.api.security.encryption.EncryptionFilter.doFilter(EncryptionFilter.java:130)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)         at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)         at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411)         at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:188)         at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67)         at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)         at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at com.jaspersoft.jasperserver.war.P3PFilter.doFilter(P3PFilter.java:43)         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)         at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NullPointerException         at com.jaspersoft.jasperserver.war.themes.MTThemeResolver.resolveThemeName(MTThemeResolver.java:51)         at com.jaspersoft.jasperserver.war.themes.JSThemeResolver.resolveThemeName(JSThemeResolver.java:65)         at org.springframework.web.servlet.support.RequestContextUtils.getTheme(RequestContextUtils.java:151)         at org.springframework.web.servlet.support.RequestContext.getTheme(RequestContext.java:318)         at org.springframework.web.servlet.tags.ThemeTag.getMessageSource(ThemeTag.java:50)         at org.springframework.web.servlet.tags.MessageTag.resolveMessage(MessageTag.java:193)         at org.springframework.web.servlet.tags.MessageTag.doStartTagInternal(MessageTag.java:165)         at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:79)         at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspx_meth_spring_005ftheme_005f14(main_jsp.java:8260)         at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspx_meth_c_005fotherwise_005f5(main_jsp.java:8140)         at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspx_meth_c_005fchoose_005f5(main_jsp.java:7504)         at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspService(main_jsp.java:1303)         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)         ... 96 more

 

Thanks & regards,

Raheman  

Ashiqur's picture
Joined: Nov 29 2012 - 11:56pm
Last seen: 1 year 5 months ago

1 Answer:

1

the files that are used for the default theme (css and image files) are saved in the database as blob under JIFILERESOURCE table. If you have not used the buildomatic to generate you database schema and initial data this blob data is not created. That is why you are getting the exception.

Check JIFILERESOURCE table and make sure that you have the Data column is not null. If the values are null Run js-ant create-load-js-db-pro from the buildomatic directory to create your schema

Hari B.'s picture
13
Joined: Jan 3 2013 - 5:36am
Last seen: 1 year 10 months ago

Hi above comment is correct ....i faced this issue...and finaly follow this and sollved it.Pls check JIFILERESOURCE table and make sure that you have the Data column is not null. If the values are null Run js-ant create-load-js-db-pro from the buildomatic directory to create your schema

saimanasranjan - 2 days 11 hours ago
Feedback