java.lang.NullPointerException

Atlassian JIRA | Daryl Chuah | 4 years ago
  1. 0

    *Steps to reproduce:* # In JIRA 5.0.6, configure a Time Since Chart by using *Due Date* in the *Date Field* # Backup the data in JIRA 5.0.6 # Restore the XML backup into JIRA 5.2.7 # Configure the Time Since Chart gadget to use *Last Viewed* in the *Date Field* # Save the gadget. Gadget throws 'An internal server error occurred when requesting resource.' and not saved Stack trace produced in {{atlassian-jira.log}}: {code} 2013-04-19 18:59:54,978 http-bio-8037-exec-18 ERROR admin 1139x303x1 4a2zyu 0:0:0:0:0:0:0:1 /rest/gadget/1.0/timeSince/generate [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service java.lang.NullPointerException at com.atlassian.jira.charts.TimeSinceChart$GenericDateFieldIssuesHitCollector.collect(TimeSinceChart.java:229) at com.atlassian.jira.issue.statistics.util.DocumentHitCollector.collect(DocumentHitCollector.java:34) at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:575) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:535) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:323) at com.atlassian.jira.index.DelegateSearcher.search(DelegateSearcher.java:160) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:245) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:104) at com.atlassian.jira.charts.TimeSinceChart.generateChart(TimeSinceChart.java:103) at com.atlassian.jira.charts.DefaultChartFactory.generateTimeSinceChart(DefaultChartFactory.java:133) <+3> (NativeMethodAccessorImpl.java:39) (DelegatingMethodAccessorImpl.java:25) {code} Screenshots: !bug.jpg!

    Atlassian JIRA | 4 years ago | Daryl Chuah
    java.lang.NullPointerException
  2. 0

    *Steps to reproduce:* # In JIRA 5.0.6, configure a Time Since Chart by using *Due Date* in the *Date Field* # Backup the data in JIRA 5.0.6 # Restore the XML backup into JIRA 5.2.7 # Configure the Time Since Chart gadget to use *Last Viewed* in the *Date Field* # Save the gadget. Gadget throws 'An internal server error occurred when requesting resource.' and not saved Stack trace produced in {{atlassian-jira.log}}: {code} 2013-04-19 18:59:54,978 http-bio-8037-exec-18 ERROR admin 1139x303x1 4a2zyu 0:0:0:0:0:0:0:1 /rest/gadget/1.0/timeSince/generate [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service java.lang.NullPointerException at com.atlassian.jira.charts.TimeSinceChart$GenericDateFieldIssuesHitCollector.collect(TimeSinceChart.java:229) at com.atlassian.jira.issue.statistics.util.DocumentHitCollector.collect(DocumentHitCollector.java:34) at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:575) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:535) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:323) at com.atlassian.jira.index.DelegateSearcher.search(DelegateSearcher.java:160) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:245) at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:104) at com.atlassian.jira.charts.TimeSinceChart.generateChart(TimeSinceChart.java:103) at com.atlassian.jira.charts.DefaultChartFactory.generateTimeSinceChart(DefaultChartFactory.java:133) <+3> (NativeMethodAccessorImpl.java:39) (DelegatingMethodAccessorImpl.java:25) {code} Screenshots: !bug.jpg!

    Atlassian JIRA | 4 years ago | Daryl Chuah
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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

    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.jira.charts.TimeSinceChart$GenericDateFieldIssuesHitCollector.collect()
    2. com.atlassian.jira
      DocumentHitCollector.collect
      1. com.atlassian.jira.charts.TimeSinceChart$GenericDateFieldIssuesHitCollector.collect(TimeSinceChart.java:229)
      2. com.atlassian.jira.issue.statistics.util.DocumentHitCollector.collect(DocumentHitCollector.java:34)
      2 frames
    3. Lucene
      IndexSearcher.search
      1. org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:575)
      2. org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:535)
      3. org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:323)
      3 frames
    4. com.atlassian.jira
      TimeSinceChart.generateChart
      1. com.atlassian.jira.index.DelegateSearcher.search(DelegateSearcher.java:160)
      2. com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:245)
      3. com.atlassian.jira.issue.search.providers.LuceneSearchProvider.search(LuceneSearchProvider.java:104)
      4. com.atlassian.jira.charts.TimeSinceChart.generateChart(TimeSinceChart.java:103)
      4 frames