Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2996

"Search for provider to handle test method" hang up sometimes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 11.1
    • None
    • php - Debugger
    • None

    Description

      When try to Debug focused Test method

       

      May be related with this error ?:

       

      INFO [org.netbeans.modules.php.phpunit.run.TestRunner]: File /tmp/nb-phpunit-log.xml not found or cannot be parsed. If there are no errors in PHPUnit output (verify in Output window), please report an issue (http://www.netbeans.org/issues/).
      INFO [org.netbeans.modules.php.project.ui.testrunner.UnitTestRunner]
      java.io.FileNotFoundException: /tmp/nb-phpunit-log.xml (Adresář nebo soubor neexistuje)
          at java.io.FileInputStream.open0(Native Method)
          at java.io.FileInputStream.open(FileInputStream.java:195)
          at java.io.FileInputStream.<init>(FileInputStream.java:138)
          at org.netbeans.modules.php.phpunit.run.TestRunner.createTestSession(TestRunner.java:73)
      Caused: org.netbeans.modules.php.spi.testing.run.TestRunException
          at org.netbeans.modules.php.phpunit.run.TestRunner.processPhpUnitError(TestRunner.java:98)
          at org.netbeans.modules.php.phpunit.run.TestRunner.createTestSession(TestRunner.java:75)
          at org.netbeans.modules.php.phpunit.run.TestRunner.runTests(TestRunner.java:62)
          at org.netbeans.modules.php.phpunit.PhpUnitTestingProvider.runTests(PhpUnitTestingProvider.java:113)
      [catch] at org.netbeans.modules.php.project.ui.testrunner.UnitTestRunner.runInternal(UnitTestRunner.java:109)
          at org.netbeans.modules.php.project.ui.testrunner.UnitTestRunner.run(UnitTestRunner.java:90)
          at org.netbeans.modules.php.project.ui.actions.support.ConfigActionTest.run(ConfigActionTest.java:208)
          at org.netbeans.modules.php.project.ui.actions.support.ConfigActionTest.debugMethod(ConfigActionTest.java:203)
          at org.netbeans.modules.php.project.ui.actions.DebugTestMethodCommand.invokeActionInternal(DebugTestMethodCommand.java:58)
          at org.netbeans.modules.php.project.ui.actions.Command.invokeAction(Command.java:65)
          at org.netbeans.modules.php.project.PhpActionProvider.runCommand(PhpActionProvider.java:130)
          at org.netbeans.modules.php.project.PhpActionProvider$1.run(PhpActionProvider.java:117)
          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:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)

       

       

      Attachments

        1. image-2019-08-16-18-55-20-565.png
          6 kB
          Vítězslav Dvořák

        Activity

          People

            Unassigned Unassigned
            vitex Vítězslav Dvořák
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: