java.lang.NullPointerException

Atlassian JIRA | Ronald Spierenburg | 9 years ago
  1. 0

    I still had an old cookie left from jira (before we installed crowd). When i visited jira again (after the crowd installation), i got the following exception: Cause: java.lang.NullPointerException Stack Trace: [hide] java.lang.NullPointerException at com.atlassian.seraph.util.CookieUtils.setCookie(CookieUtils.java:100) at com.atlassian.seraph.util.CookieUtils.invalidateCookie(CookieUtils.java:41) at com.atlassian.seraph.util.CookieUtils.invalidateCookie(CookieUtils.java:55) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.autoLoginToCrowd(CrowdAuthenticator.java:253) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.isAuthenticated(CrowdAuthenticator.java:156) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.getUser(CrowdAuthenticator.java:274) at com.atlassian.seraph.auth.AbstractAuthenticator.getUser(AbstractAuthenticator.java:44) at com.atlassian.seraph.filter.SecurityHttpRequestWrapper.getUserPrincipal(SecurityHttpRequestWrapper.java:43) at webwork.action.ServletActionContext.setContext(ServletActionContext.java:116) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:203) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.jira.web.filters.JIRAProfilingFilter.doFilter(JIRAProfilingFilter.java:16) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.RequestCleanupFilter.doFilter(RequestCleanupFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.gzip.GzipFilter.doFilter(GzipFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.appconsistency.db.DatabaseCompatibilityEnforcerFilter.doFilter(DatabaseCompatibilityEnforcerFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Referer URL: Unknown Build Information: Uptime: N/A Edition: Professional Version: 3.9.2 Build Number: 235 Atlassian Partner: null Installation Type: EAR / WAR Server ID: AAJ7-O4UW-AYEO-OR6W Server Information: Application Server: Apache Tomcat/5.5 Servlet Version: 2.4 File Paths: Location of entityengine.xml: file:/var/lib/tomcat5.5/webapps/ROOT/WEB-INF/classes/entityengine.xml Location of atlassian-jira.log: /var/log/tomcat5.5/atlassian-jira.log Memory Information: Total Memory: 117 MB Free Memory: 11 MB Used Memory: 106 MB System Information: System Date: Monday, 10 Sep 2007 System Time: 10:38:54 Current Working Directory: /var/log/tomcat5.5 Java Version: 1.5.0_10 Java Vendor: Sun Microsystems Inc. JVM Version: 1.0 JVM Vendor: Sun Microsystems Inc. JVM Implementation Version: 1.5.0_10-b03 Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition Java VM: Java HotSpot(TM) Server VM User Name: tomcat55 User Timezone: Europe/Amsterdam User Locale: English (United States) System Encoding: UTF-8 Operating System: Linux 2.6.18-4-686 OS Architecture: i386 Application Server Container: Database type: postgres72 Database JNDI address: java:comp/env/jdbc/JiraDS Database URL: Hidden Database version: 8.1.8 Database driver: PostgreSQL Native Driver PostgreSQL 8.0 JDBC3 with SSL (build 311) External user management: ON Request Information: - Request URL: http://localhost:8080/500page.jsp - Scheme: http - Server: localhost - Port: 8080 - URI: /500page.jsp - Context Path: - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: Request Attributes - javax.servlet.forward.request_uri : /secure/Dashboard.jspa - javax.servlet.forward.context_path : - javax.servlet.forward.servlet_path : /secure/Dashboard.jspa - javax.servlet.forward.path_info : /500page.jsp - javax.servlet.error.message : - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.servlet_name : action - atlassian.core.seraph.original.url : /secure/Dashboard.jspa - javax.servlet.error.exception : java.lang.NullPointerException - os_securityfilter_already_filtered : true - com.atlassian.jira.web.filters.ActionCleanupDelayFilter : true - javax.servlet.error.request_uri : /secure/Dashboard.jspa - jira.webwork.generic.dispatcher : webwork.dispatcher.GenericDispatcher@152d1fd - javax.servlet.error.status_code : 500 - com.atlassian.jira.web.filters.RequestCleanupFilter_already_filtered : true - __sitemesh__filterapplied : true - jira.webwork.cleanup : false - com.atlassian.jira.web.filters.gzip.GzipFilter_already_filtered : true - loginfilter.already.filtered : true - webwork.result : Value stack =========== =========== Request Logging 0 log statements generated by this request: Listeners - Issue Cache Listener (com.atlassian.jira.event.listeners.cache.IssueCacheListener) - Issue Index Listener (com.atlassian.jira.event.listeners.search.IssueIndexListener) - Mail Listener (com.atlassian.jira.event.listeners.mail.MailListener) Services - Mail Queue Service (com.atlassian.jira.service.services.mail.MailQueueService) - Delay: 1 minutes - Subversion Index Service (com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService) - Delay: 15 minutes - Subversion Revision Indexing Service (com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService) - Delay: 60 minutes Plugins - Admin Menu Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - Browse Project Operations Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - Custom Field Types & Searchers 1.0 - Plugin by Atlassian Software Systems - Enabled - Issue Operations Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Issue Tab Panels Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Issue Views Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - JIRA TimeSheet Report and Portlet 1.6 - Plugin by Flextronics Design Ukraine - Enabled - Portlets Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Preset Filters Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - Project Panels Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Project Role Actors Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - RPC JIRA Plugin 3.9 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - Renderer Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Reports Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Subversion Plugin 0.9.10 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - Top Navigation Bar Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - User Navigation Bar Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - View Project Operations Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - Web Resources Plugin 1.0 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - Webwork Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Wiki Renderer Macros Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Workflow Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled

    Atlassian JIRA | 9 years ago | Ronald Spierenburg
    java.lang.NullPointerException
  2. 0

    I still had an old cookie left from jira (before we installed crowd). When i visited jira again (after the crowd installation), i got the following exception: Cause: java.lang.NullPointerException Stack Trace: [hide] java.lang.NullPointerException at com.atlassian.seraph.util.CookieUtils.setCookie(CookieUtils.java:100) at com.atlassian.seraph.util.CookieUtils.invalidateCookie(CookieUtils.java:41) at com.atlassian.seraph.util.CookieUtils.invalidateCookie(CookieUtils.java:55) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.autoLoginToCrowd(CrowdAuthenticator.java:253) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.isAuthenticated(CrowdAuthenticator.java:156) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.getUser(CrowdAuthenticator.java:274) at com.atlassian.seraph.auth.AbstractAuthenticator.getUser(AbstractAuthenticator.java:44) at com.atlassian.seraph.filter.SecurityHttpRequestWrapper.getUserPrincipal(SecurityHttpRequestWrapper.java:43) at webwork.action.ServletActionContext.setContext(ServletActionContext.java:116) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:203) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.jira.web.filters.JIRAProfilingFilter.doFilter(JIRAProfilingFilter.java:16) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.RequestCleanupFilter.doFilter(RequestCleanupFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.gzip.GzipFilter.doFilter(GzipFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.appconsistency.db.DatabaseCompatibilityEnforcerFilter.doFilter(DatabaseCompatibilityEnforcerFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Referer URL: Unknown Build Information: Uptime: N/A Edition: Professional Version: 3.9.2 Build Number: 235 Atlassian Partner: null Installation Type: EAR / WAR Server ID: AAJ7-O4UW-AYEO-OR6W Server Information: Application Server: Apache Tomcat/5.5 Servlet Version: 2.4 File Paths: Location of entityengine.xml: file:/var/lib/tomcat5.5/webapps/ROOT/WEB-INF/classes/entityengine.xml Location of atlassian-jira.log: /var/log/tomcat5.5/atlassian-jira.log Memory Information: Total Memory: 117 MB Free Memory: 11 MB Used Memory: 106 MB System Information: System Date: Monday, 10 Sep 2007 System Time: 10:38:54 Current Working Directory: /var/log/tomcat5.5 Java Version: 1.5.0_10 Java Vendor: Sun Microsystems Inc. JVM Version: 1.0 JVM Vendor: Sun Microsystems Inc. JVM Implementation Version: 1.5.0_10-b03 Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition Java VM: Java HotSpot(TM) Server VM User Name: tomcat55 User Timezone: Europe/Amsterdam User Locale: English (United States) System Encoding: UTF-8 Operating System: Linux 2.6.18-4-686 OS Architecture: i386 Application Server Container: Database type: postgres72 Database JNDI address: java:comp/env/jdbc/JiraDS Database URL: Hidden Database version: 8.1.8 Database driver: PostgreSQL Native Driver PostgreSQL 8.0 JDBC3 with SSL (build 311) External user management: ON Request Information: - Request URL: http://localhost:8080/500page.jsp - Scheme: http - Server: localhost - Port: 8080 - URI: /500page.jsp - Context Path: - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: Request Attributes - javax.servlet.forward.request_uri : /secure/Dashboard.jspa - javax.servlet.forward.context_path : - javax.servlet.forward.servlet_path : /secure/Dashboard.jspa - javax.servlet.forward.path_info : /500page.jsp - javax.servlet.error.message : - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - javax.servlet.error.servlet_name : action - atlassian.core.seraph.original.url : /secure/Dashboard.jspa - javax.servlet.error.exception : java.lang.NullPointerException - os_securityfilter_already_filtered : true - com.atlassian.jira.web.filters.ActionCleanupDelayFilter : true - javax.servlet.error.request_uri : /secure/Dashboard.jspa - jira.webwork.generic.dispatcher : webwork.dispatcher.GenericDispatcher@152d1fd - javax.servlet.error.status_code : 500 - com.atlassian.jira.web.filters.RequestCleanupFilter_already_filtered : true - __sitemesh__filterapplied : true - jira.webwork.cleanup : false - com.atlassian.jira.web.filters.gzip.GzipFilter_already_filtered : true - loginfilter.already.filtered : true - webwork.result : Value stack =========== =========== Request Logging 0 log statements generated by this request: Listeners - Issue Cache Listener (com.atlassian.jira.event.listeners.cache.IssueCacheListener) - Issue Index Listener (com.atlassian.jira.event.listeners.search.IssueIndexListener) - Mail Listener (com.atlassian.jira.event.listeners.mail.MailListener) Services - Mail Queue Service (com.atlassian.jira.service.services.mail.MailQueueService) - Delay: 1 minutes - Subversion Index Service (com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService) - Delay: 15 minutes - Subversion Revision Indexing Service (com.atlassian.jira.plugin.ext.subversion.revisions.RevisionIndexService) - Delay: 60 minutes Plugins - Admin Menu Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - Browse Project Operations Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - Custom Field Types & Searchers 1.0 - Plugin by Atlassian Software Systems - Enabled - Issue Operations Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Issue Tab Panels Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Issue Views Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - JIRA TimeSheet Report and Portlet 1.6 - Plugin by Flextronics Design Ukraine - Enabled - Portlets Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Preset Filters Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - Project Panels Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Project Role Actors Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - RPC JIRA Plugin 3.9 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - Renderer Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Reports Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Subversion Plugin 0.9.10 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - Top Navigation Bar Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - User Navigation Bar Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - View Project Operations Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - Web Resources Plugin 1.0 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - Webwork Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Wiki Renderer Macros Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Workflow Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled

    Atlassian JIRA | 9 years ago | Ronald Spierenburg
    java.lang.NullPointerException
  3. 0

    I went to create an issue on EACJ, using the following link which I have bookmarked: https://extranet.atlassian.com/jira/secure/CreateIssue!default.jspa I can't see right at the moment whether I have a cookie or not because Firefox isn't letting me open any dialogs. I suspect most likely that I do, however. {quote} System Error A system error has occurred. If this problem persists - please notify your JIRA administrator of this problem. If you are an administrator, please try submitting this problem via the Support Request Page Else, please create a support issue on our support system at http://support.atlassian.com with the following information: 1. a description of your problem 2. cut & paste the error and system information found below 3. attach the application server log file ( /opt/j2ee/domains/atlassian.com/extranet/jira/apache-tomcat-5.5.23/atlassian-jira.log ) Cause: java.lang.NullPointerException Stack Trace: [hide] java.lang.NullPointerException at com.atlassian.seraph.cookie.DefaultCookieHandler.setCookie(DefaultCookieHandler.java:51) at com.atlassian.seraph.cookie.DefaultCookieHandler.invalidateCookie(DefaultCookieHandler.java:18) at com.atlassian.seraph.util.CookieUtils.invalidateCookie(CookieUtils.java:57) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.autoLoginToCrowd(CrowdAuthenticator.java:253) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.isAuthenticated(CrowdAuthenticator.java:156) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.getUser(CrowdAuthenticator.java:274) at com.atlassian.seraph.auth.AbstractAuthenticator.getUser(AbstractAuthenticator.java:44) at com.atlassian.seraph.filter.LoginFilter$SecurityHttpRequestWrapper.getUserPrincipal(LoginFilter.java:243) at webwork.action.ServletActionContext.setContext(ServletActionContext.java:116) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:203) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:161) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.jira.web.filters.JIRAProfilingFilter.doFilter(JIRAProfilingFilter.java:16) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.RequestCleanupFilter.doFilter(RequestCleanupFilter.java:50) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:350) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.appconsistency.db.DatabaseCompatibilityEnforcerFilter.doFilter(DatabaseCompatibilityEnforcerFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:619) Referer URL: Unknown Build Information: Uptime: N/A Edition: Enterprise Version: 3.12-DEV-171007 Build Number: 297 Atlassian Partner: null Installation Type: EAR/WAR Server ID: A795-B2RE-232G-ORHE Server Information: Application Server: Apache Tomcat/5.5.23 Servlet Version: 2.4 File Paths: Location of entityengine.xml: file:/opt/j2ee/domains/atlassian.com/extranet/jira/webapps/atlassian-jira/deployment/atlassian-jira-enterprise-3.12-DEV-171007/exploded_war/WEB-INF/classes/entityengine.xml Location of atlassian-jira.log: /opt/j2ee/domains/atlassian.com/extranet/jira/apache-tomcat-5.5.23/atlassian-jira.log Memory Information: Total Memory: 121 MB Free Memory: 25 MB Used Memory: 96 MB System Information: System Date: Wednesday, 28 Nov 2007 System Time: 04:36:29 Current Working Directory: /opt/j2ee/domains/atlassian.com/extranet/jira/apache-tomcat-5.5.23 Java Version: 1.6.0_02 Java Vendor: Sun Microsystems Inc. JVM Version: 1.0 JVM Vendor: Sun Microsystems Inc. JVM Implementation Version: 1.6.0_02-b05 Java Runtime: Java(TM) SE Runtime Environment Java VM: Java HotSpot(TM) Server VM User Name: j2ee User Timezone: America/Chicago User Locale: English (United States) System Encoding: ANSI_X3.4-1968 Operating System: Linux 2.6.9-67.ELsmp OS Architecture: i386 Application Server Container: Database type: postgres72 Database JNDI address: java:comp/env/jdbc/JiraDS Database URL: Hidden Database version: 8.2.5 Database driver: PostgreSQL Native Driver PostgreSQL 8.1 JDBC3 with SSL (build 408) External user management: OFF Language Info: Installed languages: Chinese (China) Chinese (Taiwan) Czech (Czech Republic) Danish (Denmark) English (UK) French (France) German (Germany) German (Switzerland) Hungarian (Hungary) Italian (Italy) Norwegian (Norway) Polish (Poland) Portuguese (Brazil) Russian (Russia) Slovak (Slovakia) Spanish (Spain) Turkish (Turkey) Default language: English (United States) - System Default Request Information: - Request URL: https://extranet.atlassian.com/jira/500page.jsp - Scheme: https - Server: extranet.atlassian.com - Port: 443 - URI: /jira/500page.jsp - Context Path: /jira - - Servlet Path: /500page.jsp - - Path Info: null - - Query String: Request Attributes - javax.servlet.forward.request_uri : /jira/secure/CreateIssue!default.jspa - javax.servlet.forward.context_path : /jira - javax.servlet.forward.servlet_path : /secure/CreateIssue!default.jspa - javax.servlet.forward.path_info : /500page.jsp - os_securityfilter_already_filtered : true - atlassian.core.seraph.original.url : /secure/CreateIssue!default.jspa - javax.servlet.error.servlet_name : action - com.atlassian.gzipfilter.GzipFilter_already_filtered : true - loginfilter.already.filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - jira.webwork.generic.dispatcher : webwork.dispatcher.GenericDispatcher@17430d3 - javax.servlet.error.message : - webwork.result : Value stack =========== =========== - com.atlassian.jira.web.filters.RequestCleanupFilter_already_filtered : true - javax.servlet.error.request_uri : /jira/secure/CreateIssue!default.jspa - jira.webwork.cleanup : false - javax.servlet.error.status_code : 500 - com.atlassian.jira.web.filters.ActionCleanupDelayFilter : true - __sitemesh__filterapplied : true - javax.servlet.error.exception : java.lang.NullPointerException Request Logging 0 log statements generated by this request: Listeners - Issue Cache Listener (com.atlassian.jira.event.listeners.cache.IssueCacheListener) - Issue Index Listener (com.atlassian.jira.event.listeners.search.IssueIndexListener) - Mail Listener (com.atlassian.jira.event.listeners.mail.MailListener) Services - Backup Service (com.atlassian.jira.service.services.export.ExportService) - Delay: 720 minutes - FAQ Updates Mailbox (com.atlassian.jira.service.services.pop.PopService) - Delay: 1 minutes - Generic Comment-from-email service (com.atlassian.jira.service.services.pop.PopService) - Delay: 1 minutes - Jobs AutoIssue Mailbox (com.atlassian.jira.service.services.pop.PopService) - Delay: 1 minutes - Mail Queue Service (com.atlassian.jira.service.services.mail.MailQueueService) - Delay: 1 minutes - Sales Phone Support Mail Check (com.atlassian.jira.service.services.imap.ImapService) - Delay: 1 minutes - Sysadmin Autoissue Inbox (com.atlassian.jira.service.services.pop.PopService) - Delay: 1 minutes Plugins - Admin Menu Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - Browse Project Operations Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - Calendar 1.6 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - Charting & Reporting 1.3.10 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - Content Link Resolvers Plugin 1.0 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - Custom Field Types & Searchers 1.0 - Plugin by Atlassian Software Systems - Enabled - FishEye Plugin 1.1.2 - Plugin by Atlassian Software Systems - Enabled - GreenHopper 1.4-jira310 - Plugin by Pyxis-Technologies inc. - Enabled - Issue Operations Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Issue Tab Panels Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Issue Views Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - JIRA Toolkit Plugin 0.7.24 - Plugin by Atlassian Software Systems - Enabled - Labels Plugin 2.1 - Plugin by Atlassian Software Systems Pty Ltd - Disabled - Portlets Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Preset Filters Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - Project Panels Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Project Role Actors Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - RPC JIRA Plugin 3.11 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - Renderer Component Factories Plugin 1.0 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - Renderer Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Reports Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Top Navigation Bar Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - User Navigation Bar Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - View Project Operations Sections 1.0 - Plugin by Atlassian Software Systems - Enabled - Web Resources Plugin 1.0 - Plugin by Atlassian Software Systems Pty Ltd - Enabled - Webwork Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Wiki Renderer Macros Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled - Workflow Plugin 1.0 - Plugin by Atlassian Software Systems - Enabled {quote}

    Atlassian JIRA | 9 years ago | Matt Ryall
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    {quote} • Site Homepage A system error has occurred - our apologies! Please create a issue on our bug tracking system at http://jira.atlassian.com with the following information: 1. a description of your problem and what you were doing at the time it occurred 2. cut & paste the error and system information found below 3. attach the application server log file (if possible). We will respond as promptly as possible. Thank you! Version: 1.1.1 Build: 304 Build Date: May 17, 2007 Stack Trace: java.lang.NullPointerException at com.atlassian.seraph.util.CookieUtils.setCookie(CookieUtils.java:97) at com.atlassian.seraph.util.CookieUtils.invalidateCookie(CookieUtils.java:41) at com.atlassian.seraph.util.CookieUtils.invalidateCookie(CookieUtils.java:55) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.autoLoginToCrowd(CrowdAuthenticator.java:195) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.isAuthenticated(CrowdAuthenticator.java:137) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.getUser(CrowdAuthenticator.java:216) at com.atlassian.seraph.auth.AbstractAuthenticator.getUser(AbstractAuthenticator.java:44) at com.atlassian.bamboo.filter.SeraphLoginFilter.doFilter(SeraphLoginFilter.java:38) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:191) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90) at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.bamboo.filter.CompressingFilter.doFilter(CompressingFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:26) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:744) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:674) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) [ Show » ] Justin Shapiro - [04/Jun/07 12:56 PM ] Some of my users are now seeing the following error. I can't reproduce it. Internal server error Go to... • Site Homepage A system error has occurred - our apologies! Please create a issue on our bug tracking system at http://jira.atlassian.com with the following information: 1. a description of your problem and what you were doing at the time it occurred 2. cut & paste the error and system information found below 3. attach the application server log file (if possible). We will respond as promptly as possible. Thank you! Version: 1.1.1 Build: 304 Build Date: May 17, 2007 Stack Trace: java.lang.NullPointerException at com.atlassian.seraph.util.CookieUtils.setCookie(CookieUtils.java:97) at com.atlassian.seraph.util.CookieUtils.invalidateCookie(CookieUtils.java:41) at com.atlassian.seraph.util.CookieUtils.invalidateCookie(CookieUtils.java:55) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.autoLoginToCrowd(CrowdAuthenticator.java:195) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.isAuthenticated(CrowdAuthenticator.java:137) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.getUser(CrowdAuthenticator.java:216) at com.atlassian.seraph.auth.AbstractAuthenticator.getUser(AbstractAuthenticator.java:44) at com.atlassian.bamboo.filter.SeraphLoginFilter.doFilter(SeraphLoginFilter.java:38) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:191) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90) at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.bamboo.filter.CompressingFilter.doFilter(CompressingFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:26) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:744) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:674) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) {quote} and this may be related {quote} 2007-06-04 13:40:30,661 INFO [TP-Processor5] [CrowdAuthenticator] Unable to find a valid principal token. com.atlassian.crowd.integration.exception.InvalidTokenException: Unable to find a valid principal token. at com.atlassian.crowd.integration.http.HttpAuthenticator.getToken(HttpAuthenticator.java:111) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.getUser(CrowdAuthenticator.java:226) at com.atlassian.seraph.auth.AbstractAuthenticator.getUser(AbstractAuthenticator.java:44) at com.atlassian.bamboo.filter.SeraphLoginFilter.doFilter(SeraphLoginFilter.java:38) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:191) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90) at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.bamboo.filter.LicenseFilter.doFilter(LicenseFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.bamboo.filter.CompressingFilter.doFilter(CompressingFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:26) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:744) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:674) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) {quote} Clearing the browsers cookies and cache fixes the problem.

    Atlassian JIRA | 10 years ago | Justen Stepka [Atlassian]
    java.lang.NullPointerException
  6. 0

    A user has reported that before integrating Crowd with Confluence they have used the web browser's "remember me" function. This resulted in a NullPointerException: {noformat} Cause: java.lang.NullPointerException at com.atlassian.seraph.util.CookieUtils.setCookie(CookieUtils.java:100) Cause: java.lang.NullPointerException at com.atlassian.seraph.util.CookieUtils.setCookie(CookieUtils.java:100) Stack Trace: [hide] java.lang.NullPointerException at com.atlassian.seraph.util.CookieUtils.setCookie(CookieUtils.java:100) at com.atlassian.seraph.util.CookieUtils.invalidateCookie(CookieUtils.java:41) at com.atlassian.seraph.util.CookieUtils.invalidateCookie(CookieUtils.java:55) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.autoLoginToCrowd(CrowdAuthenticator.java:195) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.isAuthenticated(CrowdAuthenticator.java:137) at com.atlassian.crowd.integration.seraph.CrowdAuthenticator.getUser(CrowdAuthenticator.java:216) at com.atlassian.seraph.auth.AbstractAuthenticator.getUser(AbstractAuthenticator.java:44) at com.atlassian.seraph.filter.SecurityHttpRequestWrapper.getUserPrincipal(SecurityHttpRequestWrapper.java:43) at com.atlassian.seraph.filter.SecurityHttpRequestWrapper.getRemoteUser(SecurityHttpRequestWrapper.java:25) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:159) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:619) {noformat} They have also found a solution: clear the Browser's cookies.

    Atlassian JIRA | 9 years ago | Kevin Tran [Atlassian]
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.seraph.util.CookieUtils.setCookie()
    2. com.atlassian.seraph
      CookieUtils.invalidateCookie
      1. com.atlassian.seraph.util.CookieUtils.setCookie(CookieUtils.java:100)
      2. com.atlassian.seraph.util.CookieUtils.invalidateCookie(CookieUtils.java:41)
      3. com.atlassian.seraph.util.CookieUtils.invalidateCookie(CookieUtils.java:55)
      3 frames
    3. com.atlassian.crowd
      CrowdAuthenticator.getUser
      1. com.atlassian.crowd.integration.seraph.CrowdAuthenticator.autoLoginToCrowd(CrowdAuthenticator.java:253)
      2. com.atlassian.crowd.integration.seraph.CrowdAuthenticator.isAuthenticated(CrowdAuthenticator.java:156)
      3. com.atlassian.crowd.integration.seraph.CrowdAuthenticator.getUser(CrowdAuthenticator.java:274)
      3 frames
    4. com.atlassian.seraph
      SecurityHttpRequestWrapper.getUserPrincipal
      1. com.atlassian.seraph.auth.AbstractAuthenticator.getUser(AbstractAuthenticator.java:44)
      2. com.atlassian.seraph.filter.SecurityHttpRequestWrapper.getUserPrincipal(SecurityHttpRequestWrapper.java:43)
      2 frames
    5. webwork.action
      ServletActionContext.setContext
      1. webwork.action.ServletActionContext.setContext(ServletActionContext.java:116)
      1 frame
    6. com.atlassian.jira
      JiraServletDispatcher.service
      1. com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:203)
      1 frame
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      1 frame
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    9. com.atlassian.jira
      AccessLogFilter.doFilter
      1. com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73)
      1 frame
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    11. Sitemesh
      PageFilter.doFilter
      1. com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119)
      2. com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
      2 frames
    12. com.atlassian.jira
      SitemeshExcludePathFilter.doFilter
      1. com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38)
      1 frame
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    14. com.atlassian.seraph
      SecurityFilter.doFilter
      1. com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182)
      1 frame
    15. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    16. com.atlassian.seraph
      LoginFilter.doFilter
      1. com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181)
      1 frame
    17. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    18. com.atlassian.util
      ProfilingFilter.doFilter
      1. com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132)
      1 frame
    19. com.atlassian.jira
      JIRAProfilingFilter.doFilter
      1. com.atlassian.jira.web.filters.JIRAProfilingFilter.doFilter(JIRAProfilingFilter.java:16)
      1 frame
    20. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    21. com.atlassian.jira
      ActionCleanupDelayFilter.doFilter
      1. com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:43)
      1 frame
    22. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    23. com.atlassian.jira
      RequestCleanupFilter.doFilter
      1. com.atlassian.jira.web.filters.RequestCleanupFilter.doFilter(RequestCleanupFilter.java:49)
      1 frame
    24. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    25. com.atlassian.johnson
      JohnsonFilter.doFilter
      1. com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91)
      1 frame
    26. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    27. com.atlassian.jira
      GzipFilter.doFilter
      1. com.atlassian.jira.web.filters.gzip.GzipFilter.doFilter(GzipFilter.java:72)
      1 frame
    28. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    29. com.atlassian.core
      AbstractEncodingFilter.doFilter
      1. com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37)
      1 frame
    30. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2 frames
    31. com.atlassian.jira
      DatabaseCompatibilityEnforcerFilter.doFilter
      1. com.atlassian.jira.appconsistency.db.DatabaseCompatibilityEnforcerFilter.doFilter(DatabaseCompatibilityEnforcerFilter.java:39)
      1 frame
    32. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      8 frames
    33. Grizzly HTTP
      LeaderFollowerWorkerThread.runIt
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      4 frames
    34. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      1 frame
    35. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame