java.lang.NullPointerException

Atlassian JIRA | Dennis Ballance | 8 years ago
  1. 0

    Group administration screen allows you to Remove groups. When you select a group that has permissions associated with it (but in our case, there were no users who were members of this group) and click Remove you are given a list of spaces (but not personal spaces) and space permissions associated with the group. Then at the bottom of that list is a Confirm button to agree that you will lose all these permissions, etc. Click Confirm and you get an error message with the following trace: {code}2009-07-23 14:18:59,579 ERROR [http-8080-5] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action -- url: /admin/users/doremovegroup.action | userName: admin | referer: http://baseurl/admin/users/removegroup-confirm.action?atl_token=XdXImNHCIl&name=bsr java.lang.NullPointerException at com.atlassian.confluence.security.ContentPermission.compareTo(ContentPermission.java:197) at java.util.TreeMap.put(TreeMap.java:545) at java.util.TreeSet.add(TreeSet.java:238) at java.util.AbstractCollection.addAll(AbstractCollection.java:305) at java.util.TreeSet.addAll(TreeSet.java:295) {code} If you then go through and manually find all the spaces and remove the group from the permissions list for each space then you can finally remove the group. Big problem if the group has access to personal spaces as the only way you can find that out is by querying the database - the personal space permissions do not show up on the aforementioned permissions listing. You should be able to actually remove a group and all its permissions as long as there are no members of the group. Group removal should not be restricted to cases where there are *also* no permissions associated with the group, especially because it is impossible to see all the group's permissions (i.e. personal spaces) without querying the database manually.

    Atlassian JIRA | 7 years ago | Diane Sexton
    java.lang.NullPointerException
  2. 0

    Group administration screen allows you to Remove groups. When you select a group that has permissions associated with it (but in our case, there were no users who were members of this group) and click Remove you are given a list of spaces (but not personal spaces) and space permissions associated with the group. Then at the bottom of that list is a Confirm button to agree that you will lose all these permissions, etc. Click Confirm and you get an error message with the following trace: {code}2009-07-23 14:18:59,579 ERROR [http-8080-5] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action -- url: /admin/users/doremovegroup.action | userName: admin | referer: http://baseurl/admin/users/removegroup-confirm.action?atl_token=XdXImNHCIl&name=bsr java.lang.NullPointerException at com.atlassian.confluence.security.ContentPermission.compareTo(ContentPermission.java:197) at java.util.TreeMap.put(TreeMap.java:545) at java.util.TreeSet.add(TreeSet.java:238) at java.util.AbstractCollection.addAll(AbstractCollection.java:305) at java.util.TreeSet.addAll(TreeSet.java:295) {code} If you then go through and manually find all the spaces and remove the group from the permissions list for each space then you can finally remove the group. Big problem if the group has access to personal spaces as the only way you can find that out is by querying the database - the personal space permissions do not show up on the aforementioned permissions listing. You should be able to actually remove a group and all its permissions as long as there are no members of the group. Group removal should not be restricted to cases where there are *also* no permissions associated with the group, especially because it is impossible to see all the group's permissions (i.e. personal spaces) without querying the database manually.

    Atlassian JIRA | 7 years ago | Diane Sexton
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    When removing a group, after confirming removal, I get this error. If I removed all users and permissions that related to this group, I could remove the group successfully. CONFLUENCE System Error A system error has occurred - our apologies! Please contact your Confluence administrator to create a support issue on our support system at http://support.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! Cause: java.lang.NullPointerException at com.atlassian.confluence.security.ContentPermission.compareTo(ContentPermission.java:197) Stack Trace: [hide] java.lang.NullPointerException at com.atlassian.confluence.security.ContentPermission.compareTo(ContentPermission.java:197) at java.util.TreeMap.put(TreeMap.java:545) at java.util.TreeSet.add(TreeSet.java:238) at java.util.AbstractCollection.addAll(AbstractCollection.java:305) at java.util.TreeSet.addAll(TreeSet.java:295) at net.sf.hibernate.collection.Set.endRead(Set.java:244) at net.sf.hibernate.impl.SessionImpl.endLoadingCollections(SessionImpl.java:3114) at net.sf.hibernate.impl.SessionImpl.endLoadingCollections(SessionImpl.java:3101) at net.sf.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:324) at net.sf.hibernate.loader.Loader.doQuery(Loader.java:309) at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:138) at net.sf.hibernate.loader.Loader.loadEntity(Loader.java:941) at net.sf.hibernate.loader.Loader.loadEntity(Loader.java:961) at net.sf.hibernate.loader.EntityLoader.load(EntityLoader.java:59) at net.sf.hibernate.loader.EntityLoader.load(EntityLoader.java:51) at net.sf.hibernate.persister.EntityPersister.load(EntityPersister.java:413) at net.sf.hibernate.impl.SessionImpl.doLoad(SessionImpl.java:2131) at net.sf.hibernate.impl.SessionImpl.doLoadByClass(SessionImpl.java:2001) at net.sf.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:1963) at net.sf.hibernate.type.ManyToOneType.resolveIdentifier(ManyToOneType.java:69) at net.sf.hibernate.type.EntityType.resolveIdentifier(EntityType.java:208) at net.sf.hibernate.impl.SessionImpl.initializeEntity(SessionImpl.java:2219) at net.sf.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:319) at net.sf.hibernate.loader.Loader.doQuery(Loader.java:309) at net.sf.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:138) at net.sf.hibernate.loader.Loader.doList(Loader.java:1063) at net.sf.hibernate.loader.Loader.list(Loader.java:1054) at net.sf.hibernate.hql.QueryTranslator.list(QueryTranslator.java:854) at net.sf.hibernate.impl.SessionImpl.find(SessionImpl.java:1554) at net.sf.hibernate.impl.QueryImpl.list(QueryImpl.java:49) at com.atlassian.hibernate.HibernateObjectDao$5.doInHibernate(HibernateObjectDao.java:351) at org.springframework.orm.hibernate.HibernateTemplate.execute(HibernateTemplate.java:370) at org.springframework.orm.hibernate.HibernateTemplate.executeFind(HibernateTemplate.java:341) at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:329) at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:314) at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParams(HibernateObjectDao.java:294) at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParam(HibernateObjectDao.java:279) at com.atlassian.hibernate.HibernateObjectDao.findNamedQueryStringParam(HibernateObjectDao.java:274) at com.atlassian.confluence.core.persistence.hibernate.ContentPermissionHibernateDao.getGroupPermissions(ContentPermissionHibernateDao.java:17) at com.atlassian.confluence.core.DefaultContentPermissionManager.removeAllGroupPermissions(DefaultContentPermissionManager.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy16.removeAllGroupPermissions(Unknown Source) at com.atlassian.confluence.user.DefaultUserAccessor.removeGroup(DefaultUserAccessor.java:167) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy22.removeGroup(Unknown Source) at com.atlassian.confluence.user.actions.RemoveGroupAction.execute(RemoveGroupAction.java:61) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.atlassian.confluence.core.ConfluenceValidationInterceptor.intercept(ConfluenceValidationInterceptor.java:16) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:48) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:54) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.CommentAwareInterceptor.intercept(CommentAwareInterceptor.java:43) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:114) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:67) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:25) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:97) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115) at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:229) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199) 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.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:141) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.jmx.JmxFilter.doFilter(JmxFilter.java:109) 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.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) 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:192) 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.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:28) 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.BaseLoginFilter.doFilter(BaseLoginFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) 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.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) 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:142) at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) 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.doFilterInternal(GzipFilter.java:94) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:64) 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:33) 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.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:619) Referer URL: https://services.eklin.net/confluence/admin/users/removegroup-confirm.action?name=executive Build Information: home: /usr/local/confluence-data buildNumber: 1325 upTime: 6 minutes, 51 seconds devMode: false version: 2.8.2 Unique ID: 0x0000011B8227BFEAC0A8051218B174B8D4F9751D1C167C9FC0A15B494F6C53C3 Server Information: Application Server: Apache Tomcat/5.5.23 Servlet Version: 2.4 Database Dialect: com.atlassian.hibernate.dialect.MySQLDialect Database Driver Name: com.mysql.jdbc.Driver Database Driver Version: 5.1 Database Name: MySQL Database Version: 5.0.51a-3ubuntu5.1 Database Transaction Isolation: Repeatable read Database Latency: 1 Memory Information: Total Memory: 166 MB Used Memory: 109 MB Free Memory: 57 MB System Information: favouriteColour: Myrtle javaRuntime: Java(TM) SE Runtime Environment jvmVersion: 1.0 operatingSystem: Linux 2.6.24-16-server fileSystemEncoding: UTF-8 javaVm: Java HotSpot(TM) Client VM javaVendor: Sun Microsystems Inc. userTimezone: US/Pacific jvmImplementationVersion: 10.0-b22 appServer: Apache Tomcat date: Friday, 01 Aug 2008 time: 23:43:07 jvmVendor: Sun Microsystems Inc. userName: root javaVersion: 1.6.0_06 operatingSystemArchitecture: i386 Cluster Information: Not clustered. Enabled Plugins: Calendar Plugin (confluence.extra.calendar, Version: 2.7.1) Confluence Attachments Plugin (confluence.extra.attachments, Version: 2.10) JIRA Macros (confluence.extra.jira, Version: 2.8.1) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.1.1) LDAP Dynamic Groups (com.stepstonetech.confluence.plugins.ldap-dynamic-groups, Version: 2.1.1) Admin Sections (confluence.sections.admin, Version: 1.0) Chart Plugin (confluence.extra.chart, Version: 1.9.1) System Web Resources (confluence.web.resources, Version: 1.0) Left Navigation Theme (com.atlassian.confluence.themes.leftnavigation, Version: 2.0-rc1) Confluence Remote API (confluence.extra.confluencerpc, Version: 2.8.2) Page Operations (confluence.sections.page.operations, Version: 1.0) Space Browse Sections (confluence.sections.space.browse, Version: 1.0) Core Path Converters (confluence.converters.core, Version: 1.0) Advanced Macros (confluence.macros.advanced, Version: 1.3) Code Macro (confluence.macros.code, Version: 1.4) TinyMCE Editor Plugin (com.atlassian.confluence.extra.tinymceplugin, Version: 3.0-rc1) User Menu Sections (confluence.user.menu, Version: 1.0) Add Content Menu Sections (confluence.menu.add, Version: 1.0) View Profile Web Interface (confluence.sections.profile.view, Version: 1.0) Image Attacher Plugin (com.kcbaltz.confluence.imageattacher, Version: 1.6) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.5) Confluence Classic Theme (com.atlassian.confluence.themes.classic, Version: 2.0) Confluence Atlassian Plugin Repository (confluence.repository.client, Version: 2.0.13) Default Theme (com.atlassian.confluence.themes.default, Version: 1.0) Page Tabs (confluence.search.mappers.lucene, Version: 1.0) Wiki Renderer Components (confluence.renderer.components, Version: 1.0) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0) Clickr Theme (com.atlassian.confluence.themes.clickr, Version: 2.0-rc1) WebDAV Plugin (confluence.extra.webdav, Version: 1.2.3) Attachment Actions (confluence.sections.attachments, Version: 1.0) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.1) Space Labels Sections (confluence.sections.space.labels, Version: 1.0) Space Actions Sections (confluence.sections.space.actions, Version: 1.0) Information Macros (confluence.extra.information, Version: 1.0) Content Buttons (confluence.sections.page.temp, Version: 1.0) Live Search Macros (confluence.extra.livesearch, Version: 2.6) Global Labels Sections (confluence.sections.labels, Version: 1.0) Page View Links (confluence.sections.page.actions, Version: 1.0) SharePoint Plugin (com.atlassian.confluence.extra.sharepoint, Version: 0.5d) Adaptavist Advanced Search (com.adaptavist.confluence.advancedSearch, Version: 1.0.4) Bulk User Upload (com.artemistech.confluence.plugins.bulkuserupload, Version: 2.0) Space Admin Sections (confluence.sections.space.admin, Version: 1.0) Core Listeners (confluence.listeners.core, Version: 1.3) Content Action Menu Sections (confluence.content.action.menu, Version: 1.0) Space Item Tabs (confluence.sections.space, Version: 1.0) Space Pages Sections (confluence.sections.space.pages, Version: 1.0) Page Tabs (confluence.sections.page, Version: 1.0) BloggingRPC (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.2) Survey Macros (com.nearinfinity.confluence.survey-plugin, Version: 1.1.6) Visibility Plugin (net.customware.confluence.plugin.visibility, Version: 1.7.0) Attachment Extractors (confluence.extractors.attachments, Version: 1.4) German language pack (confluence.languages.de_DE, Version: 1.2) French language pack (confluence.languages.fr_FR, Version: 1.6) Basic Macros (confluence.macros.basic, Version: 1.3) News Tabs (confluence.sections.news, Version: 1.0) Core Extractors (confluence.extractors.core, Version: 1.4) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1) Compatibility Macros (confluence.macros.compatibility, Version: 1.3) Edit Profile Sections (confluence.sections.profile.edit, Version: 1.0) Dashboard Macros (confluence.macros.dashboard, Version: 1.3) Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.1.2) Confluence SOAP Permission Checker Plugin (com.atlassian.confluence.rpc.permcheck, Version: 1.0-SNAPSHOT) User Listener (confluence.extra.userlister, Version: 2.3) Tabular Metadata (confluence.extra.masterdetail, Version: 2.7) Dynamic Task List 2 Plugin (confluence.extra.dynamictasklist2, Version: 3.0.4) Confluence Usage Stats (com.atlassian.confluence.ext.usage, Version: 0.7.3-SNAPSHOT) Comment Action Sections (confluence.comment.action, Version: 1.0) Layout Macros (confluence.extra.layout, Version: 1.1) Profile Tabs (confluence.sections.profile, Version: 1.0) Request Information: URL: http://localhost:8080/confluence/500page.jsp - Scheme: http - Server: localhost - Port: 8080 - URI: /confluence/500page.jsp - - Context Path: /confluence - - Servlet Path: /500page.jsp - - Path Info: - - Query String: foofoo Attributes: - javax.servlet.forward.request_uri : /confluence/admin/users/doremovegroup.action - javax.servlet.forward.context_path : /confluence - javax.servlet.forward.servlet_path : /admin/users/doremovegroup.action - javax.servlet.forward.path_info : /500page.jsp - os_securityfilter_already_filtered : true - javax.servlet.jsp.jspException : java.lang.NullPointerException - atlassian.core.seraph.original.url : /admin/users/doremovegroup.action - javax.servlet.error.status_code : 500 - javax.servlet.error.servlet_name : action - __sitemesh__using_stream : false - com.atlassian.gzipfilter.GzipFilter_already_filtered : true - loginfilter.already.filtered : true - com.atlassian.johnson.filters.JohnsonFilter_already_filtered : true - Confluence-Request-Time : 1217659387817 - javax.servlet.error.message : - webwork.valueStack : com.opensymphony.xwork.util.OgnlValueStack@d8c0d5 - sessioninview.FILTERED : true - __sitemesh__filterapplied : true - javax.servlet.error.exception : java.lang.NullPointerException - javax.servlet.error.request_uri : /confluence/admin/users/doremovegroup.action Parameters: - name = executive - confirm = Confirm Confluence User: - anonymous Logging: 0 log statements generated by this request.

    Atlassian JIRA | 8 years ago | Dennis Ballance
    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.confluence.security.ContentPermission.compareTo()
    2. com.atlassian.confluence
      ContentPermission.compareTo
      1. com.atlassian.confluence.security.ContentPermission.compareTo(ContentPermission.java:197)
      1 frame