java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Currently when incorrect parameter is appended within the RSS feed, a NPE and transaction rollback error exception(see below) are generated. There should be a more comprehensive exception so that users understand the underlying problem. {noformat} org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:626) at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:132) 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:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) {noformat} {noformat} Cause: java.lang.NullPointerException at com.atlassian.confluence.core.LuceneSmartListManager.performLuceneQuery(LuceneSmartListManager.java:152) at com.atlassian.confluence.core.LuceneSmartListManager.getListQueryResults(LuceneSmartListManager.java:83) at sun.reflect.GeneratedMethodAccessor547.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25 at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) {noformat} Steps to replicate: # The parameter _type=pages_ is accidentally appended instead of just _type=page_ to the RSS feed. Thus, when the following feed is retrieved, the above exception is displayed: * http://confluence.atlassian.com/createrssfeed.action?types=pages&sort=created&showContent=true&spaces=conf_favorites&labelString=&rssType=atom&maxResults=50&timeSpan=5&publicFeed=false&title=Conf+Spaces+-+Pages&os_authType=basic
    via by Mei Yan Chan [Atlassian],
  • Currently when incorrect parameter is appended within the RSS feed, a NPE and transaction rollback error exception(see below) are generated. There should be a more comprehensive exception so that users understand the underlying problem. {noformat} org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:626) at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:132) 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:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) {noformat} {noformat} Cause: java.lang.NullPointerException at com.atlassian.confluence.core.LuceneSmartListManager.performLuceneQuery(LuceneSmartListManager.java:152) at com.atlassian.confluence.core.LuceneSmartListManager.getListQueryResults(LuceneSmartListManager.java:83) at sun.reflect.GeneratedMethodAccessor547.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25 at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177) {noformat} Steps to replicate: # The parameter _type=pages_ is accidentally appended instead of just _type=page_ to the RSS feed. Thus, when the following feed is retrieved, the above exception is displayed: * http://confluence.atlassian.com/createrssfeed.action?types=pages&sort=created&showContent=true&spaces=conf_favorites&labelString=&rssType=atom&maxResults=50&timeSpan=5&publicFeed=false&title=Conf+Spaces+-+Pages&os_authType=basic
    via by Mei Yan Chan [Atlassian],
    • java.lang.NullPointerException at com.atlassian.confluence.core.LuceneSmartListManager.performLuceneQuery(LuceneSmartListManager.java:152) at com.atlassian.confluence.core.LuceneSmartListManager.getListQueryResults(LuceneSmartListManager.java:83) at sun.reflect.GeneratedMethodAccessor547.invoke(Unknown Source)
    No Bugmate found.