java.lang.NullPointerException

path can not be null

Solutions on the web20703

  • path can not be null.
  • path can not be null
  • configuration can not be null
  • Stack trace

    • java.lang.NullPointerException: path can not be null at java.util.Objects.requireNonNull(Objects.java:228)[na:1.8.0_91] at org.sonar.server.computation.filemove.FileSimilarity$File.<init>(FileSimilarity.java:36)[sonar-server-6.0.jar:na] at org.sonar.server.computation.filemove.FileMoveDetectionStep.getFile(FileMoveDetectionStep.java:236)[sonar-server-6.0.jar:na] at org.sonar.server.computation.filemove.FileMoveDetectionStep.computeScoreMatrix(FileMoveDetectionStep.java:208)[sonar-server-6.0.jar:na] at org.sonar.server.computation.filemove.FileMoveDetectionStep.execute(FileMoveDetectionStep.java:126)[sonar-server-6.0.jar:na] at org.sonar.server.computation.step.ComputationStepExecutor.executeSteps(ComputationStepExecutor.java:64)[sonar-server-6.0.jar:na] at org.sonar.server.computation.step.ComputationStepExecutor.execute(ComputationStepExecutor.java:52)[sonar-server-6.0.jar:na] at org.sonar.server.computation.taskprocessor.report.ReportTaskProcessor.process(ReportTaskProcessor.java:75)[sonar-server-6.0.jar:na] at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.executeTask(CeWorkerCallableImpl.java:81)[sonar-server-6.0.jar:na] at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:56)[sonar-server-6.0.jar:na] at org.sonar.server.computation.taskprocessor.CeWorkerCallableImpl.call(CeWorkerCallableImpl.java:35)[sonar-server-6.0.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_91] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_91] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_91] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[na:1.8.0_91] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[na:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_91] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_91]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 month ago
    33 times, 2 months ago
    Once, 3 months ago
    Once, 4 months ago
    2 times, 5 months ago
    33 more bugmates