com.atlassian.rm.jpo.core.scheduling.trafo.plan.SchedulingDataLoadingException: java.lang.NullPointerException

Atlassian JIRA | Zulfadli Noor Sazali [Atlassian] | 5 months ago
  1. 0

    h3. Summary Open a Portfolio Plan will show an empty page when there is a missing Lexorank value for Stage. h3. Environment * JIRA 6.4.12 * Portfolio 2.0.2 * Agile 6.7.14 h3. Steps to Reproduce Unknown at this time. h3. Expected Results Plan loads correctly and renders correctly for the user. Handles the missing Lexorank value gracefully. h3. Actual Results The Plan cannot be loaded, page will be shown empty while below exception is thrown in the atlassian-jira.log file: {noformat} 2016-07-05 00:02:46,695 pool-15-thread-5 ERROR XXXXX 564x290696x3 XXXXX 127.0.0.1 /rest/jpo/1.0/scheduling/72 [core.scheduling.jobs.CalculationJob] java.lang.NullPointerException com.atlassian.rm.jpo.core.scheduling.trafo.plan.SchedulingDataLoadingException: java.lang.NullPointerException at com.atlassian.rm.jpo.core.scheduling.load.DefaultPlanDataLoader.loadPlanDataForScheduling(DefaultPlanDataLoader.java:158) at com.atlassian.rm.jpo.core.scheduling.trafo.plan.DefaultSchedulingProblemTransformer.transformPlan(DefaultSchedulingProblemTransformer.java:51) at com.atlassian.rm.jpo.core.scheduling.calc.NonPersistingSchedulingSolutionService.getSchedulingSolution(NonPersistingSchedulingSolutionService.java:46) at com.atlassian.rm.jpo.core.scheduling.jobs.CalculationJob.run(CalculationJob.java:72) at com.atlassian.rm.jpo.core.scheduling.jobs.CalculationJob.run(CalculationJob.java:50) at com.atlassian.jpo.env.threading.JiraLongRunningExecutorRegistry$1$1.run(JiraLongRunningExecutorRegistry.java:72) at com.atlassian.jpo.jira.api.threading.JiraSafeThreadService$1.run(JiraSafeThreadService.java:48) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187) at com.google.common.base.Optional.of(Optional.java:84) at com.atlassian.jpo.stage.MergedStageRankEnricher.enrich(MergedStageRankEnricher.java:42) at com.atlassian.jpo.stage.MergedStageRankEnricher.enrich(MergedStageRankEnricher.java:85) at com.atlassian.jpo.stage.DefaultOrderKeyAwareStageService.getSortedMergedStages(DefaultOrderKeyAwareStageService.java:64) at com.atlassian.rm.jpo.core.scheduling.load.DefaultPlanDataLoader.loadPlanDataForScheduling(DefaultPlanDataLoader.java:131) ... 11 more{noformat}

    Atlassian JIRA | 5 months ago | Zulfadli Noor Sazali [Atlassian]
    com.atlassian.rm.jpo.core.scheduling.trafo.plan.SchedulingDataLoadingException: java.lang.NullPointerException
  2. 0

    Execution failed for task ':app:transformClassesWithInstantRunVerifierForDebug'. > java.lang.NullPointerException (no error message)

    Stack Overflow | 12 months ago | Andro Kaju
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformClassesWithInstantRunVerifierForDebug'.
  3. 0

    Overlord console generates NPE for scaling stats

    GitHub | 10 months ago | fjy
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    internal error when setting default branch

    Google Groups | 5 months ago | Dan Armbrust
    java.lang.NullPointerException
  6. 0

    GitHub comment 32#222559427

    GitHub | 6 months ago | stucki
    java.lang.NullPointerException

  1. ank_07 12 times, last 4 months ago
  2. Mihail Melnic 1 times, last 7 months ago
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.google.common.base.Preconditions.checkNotNull()
  2. Guava
    Optional.of
    1. com.google.common.base.Preconditions.checkNotNull(Preconditions.java:187)
    2. com.google.common.base.Optional.of(Optional.java:84)
    2 frames
  3. com.atlassian.jpo
    DefaultOrderKeyAwareStageService.getSortedMergedStages
    1. com.atlassian.jpo.stage.MergedStageRankEnricher.enrich(MergedStageRankEnricher.java:42)
    2. com.atlassian.jpo.stage.MergedStageRankEnricher.enrich(MergedStageRankEnricher.java:85)
    3. com.atlassian.jpo.stage.DefaultOrderKeyAwareStageService.getSortedMergedStages(DefaultOrderKeyAwareStageService.java:64)
    3 frames
  4. com.atlassian.rm
    DefaultPlanDataLoader.loadPlanDataForScheduling
    1. com.atlassian.rm.jpo.core.scheduling.load.DefaultPlanDataLoader.loadPlanDataForScheduling(DefaultPlanDataLoader.java:131)
    1 frame