org.sonar.plugins.php.core.PhpPluginExecutionException

java.io.IOException: Cannot run program "pdepend.bat": CreateProcess error=2, The system cannot find the file specified

Samebug tips1

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web2004

  • via Unknown by Amit Agarwal,
  • via Unknown by Amit Agarwal,
  • Stack trace

    • org.sonar.plugins.php.core.PhpPluginExecutionException: java.io.IOException: Cannot run program "pdepend.bat": CreateProcess error=2, The system cannot find the file specified at org.sonar.plugins.php.core.AbstractPhpExecutor.execute(AbstractPhpExecutor.java:125)[na:na] at org.sonar.plugins.php.phpdepend.PhpDependSensor.analyse(PhpDependSensor.java:63)[na:na] at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:64)[sonar-batch-2.11.jar:na] at org.sonar.batch.phases.Phases.execute(Phases.java:93)[sonar-batch-2.11.jar:na] at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)[sonar-batch-2.11.jar:na] at org.sonar.batch.bootstrap.Module.start(Module.java:89)[sonar-batch-2.11.jar:na] at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:110)[sonar-batch-2.11.jar:na] at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:100)[sonar-batch-2.11.jar:na] at org.sonar.batch.bootstrap.Module.start(Module.java:89)[sonar-batch-2.11.jar:na] at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:96)[sonar-batch-2.11.jar:na] at org.sonar.batch.bootstrap.Module.start(Module.java:89)[sonar-batch-2.11.jar:na] at org.sonar.batch.Batch.execute(Batch.java:74)[sonar-batch-2.11.jar:na] at org.sonar.ant.Launcher.executeBatch(Launcher.java:210)[sonar-ant-task-1.2.jar:na] at org.sonar.ant.Launcher.execute(Launcher.java:66)[sonar-ant-task-1.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_22] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_22] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_22] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_22] at org.sonar.ant.SonarTask.delegateExecution(SonarTask.java:205)[sonar-ant-task-1.2.jar:na] at org.sonar.ant.SonarTask.execute(SonarTask.java:189)[sonar-ant-task-1.2.jar:na] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)[ant.jar:1.8.2] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_22] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_22] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_22] at java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_22] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)[ant.jar:na] at org.apache.tools.ant.Task.perform(Task.java:348)[ant.jar:1.8.2] at org.apache.tools.ant.Target.execute(Target.java:390)[ant.jar:1.8.2] at org.apache.tools.ant.Target.performTasks(Target.java:411)[ant.jar:1.8.2] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)[ant.jar:1.8.2] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)[ant.jar:1.8.2] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)[ant.jar:na] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)[ant.jar:1.8.2] at org.apache.tools.ant.Main.runBuild(Main.java:809)[ant.jar:1.8.2] at org.apache.tools.ant.Main.startAnt(Main.java:217)[ant.jar:1.8.2] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)[ant-launcher.jar:na] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)[ant-launcher.jar:na] Caused by: java.io.IOException: Cannot run program "pdepend.bat": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)[na:1.6.0_22] at org.sonar.plugins.php.core.AbstractPhpExecutor.execute(AbstractPhpExecutor.java:111)[na:na] ... 36 more Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method)[na:1.6.0_22] at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)[na:1.6.0_22] at java.lang.ProcessImpl.start(ProcessImpl.java:30)[na:1.6.0_22] at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)[na:1.6.0_22] ... 37 more

    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

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    161 more bugmates