java.lang.NullPointerException

Atlassian JIRA | Mei Yan Chan [Atlassian] | 9 years ago
  1. 0

    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

    Atlassian JIRA | 9 years ago | Mei Yan Chan [Atlassian]
    java.lang.NullPointerException
  2. 0

    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

    Atlassian JIRA | 9 years ago | Mei Yan Chan [Atlassian]
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.core.LuceneSmartListManager.performLuceneQuery()
    2. com.atlassian.confluence
      LuceneSmartListManager.getListQueryResults
      1. com.atlassian.confluence.core.LuceneSmartListManager.performLuceneQuery(LuceneSmartListManager.java:152)
      2. com.atlassian.confluence.core.LuceneSmartListManager.getListQueryResults(LuceneSmartListManager.java:83)
      2 frames
    3. Java RT
      GeneratedMethodAccessor547.invoke
      1. sun.reflect.GeneratedMethodAccessor547.invoke(Unknown Source)
      1 frame