Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: TheSeer\phpDox\Generator\TokenFileException ........./tokens/myTest.php.xml' not found #185

Closed
eidng8 opened this issue Dec 19, 2014 · 1 comment

Comments

@eidng8
Copy link

eidng8 commented Dec 19, 2014

Not sure if this is a bug, I've got this while playing with Jenkins.

phpdox:
     [exec] phpDox 0.7.0 - Copyright (C) 2010 - 2014 by Arne Blankerts
     [exec] 
     [exec] [19.12.2014 - 17:18:28] Using config file 'rules/phpdox.xml'
     [exec] [19.12.2014 - 17:18:28] Registered collector backend 'parser'
     [exec] [19.12.2014 - 17:18:28] Registered enricher 'build'
     [exec] [19.12.2014 - 17:18:28] Registered enricher 'git'
     [exec] [19.12.2014 - 17:18:28] Registered enricher 'checkstyle'
     [exec] [19.12.2014 - 17:18:28] Registered enricher 'phpcs'
     [exec] [19.12.2014 - 17:18:28] Registered enricher 'pmd'
     [exec] [19.12.2014 - 17:18:28] Registered enricher 'phpunit'
     [exec] [19.12.2014 - 17:18:28] Registered enricher 'phploc'
     [exec] [19.12.2014 - 17:18:28] Registered output engine 'xml'
     [exec] [19.12.2014 - 17:18:28] Registered output engine 'html'
     [exec] [19.12.2014 - 17:18:28] Starting to process project 'myTest'
     [exec] [19.12.2014 - 17:18:28] Starting collector
     [exec] [19.12.2014 - 17:18:28] Scanning directory '../src/php' for files to process
     [exec] 

     [exec] ..................................................  [50]

     [exec] .......................                             [73]
     [exec] 
     [exec] [19.12.2014 - 17:18:31] Saving results to directory 'phpdox'

     [exec] [19.12.2014 - 17:18:32] Resolving inheritance
     [exec] 
     [exec] ......                                              [6]
     [exec] 
     [exec] [19.12.2014 - 17:18:32] Collector process completed
     [exec] 
     [exec] [19.12.2014 - 17:18:32] Starting generator
     [exec] [19.12.2014 - 17:18:32] Loading enrichers
     [exec] [19.12.2014 - 17:18:32] Enricher Build Information initialized successfully
     [exec] [19.12.2014 - 17:18:32] Enricher GIT information initialized successfully
     [exec] [19.12.2014 - 17:18:32] Enricher PHPLoc xml initialized successfully
     [exec] [19.12.2014 - 17:18:32] Enricher CheckStyle XML initialized successfully
     [exec] [19.12.2014 - 17:18:32] Enricher PHPMessDetector XML initialized successfully
     [exec] [19.12.2014 - 17:18:32] Exception while initializing enricher phpunit:
     [exec] 
     [exec]     PHPUnit xml file "logs/coverage/index.xml" not found.
     [exec] 
     [exec] [19.12.2014 - 17:18:32] Starting event loop.
     [exec] 

     [exec] ..................................................  [50]

     [exec] ..................................................  [100]

     [exec] ..................................................  [150]
     [exec] ..................................................  [200]

     [exec] 
     [exec] 
     [exec] Oups... phpDox encountered a problem and has terminated!
     [exec] 
     [exec] It most likely means you've found a bug, so please file a report for this
     [exec] and paste the following details and the stacktrace (if given) along:
     [exec] 
     [exec] PHP Version: 5.4.36 (Linux)
     [exec] PHPDox Version: 0.7.0
     [exec] Exception: TheSeer\phpDox\Generator\TokenFileException (Code: 1)
     [exec] Location: phar:///usr/local/bin/phpdox/phpdox/generator/project/TokenFile.php (Line 19)
     [exec] 
     [exec] File '/var/lib/jenkins/jobs/myTest%20V2%20UX/workspace/build/phpdox/tokens/myTest.php.xml' not found
     [exec] 
     [exec] #0 phar:///usr/local/bin/phpdox/phpdox/generator/Generator.php(153): TheSeer\phpDox\Generator\TokenFileIterator->current()
     [exec] #1 phar:///usr/local/bin/phpdox/phpdox/generator/Generator.php(146): TheSeer\phpDox\Generator\Generator->processTokenFiles()
     [exec] #2 phar:///usr/local/bin/phpdox/phpdox/Application.php(238): TheSeer\phpDox\Generator\Generator->run()
     [exec] #3 phar:///usr/local/bin/phpdox/phpdox/CLI.php(152): TheSeer\phpDox\Application->runGenerator()
     [exec] #4 /usr/local/bin/phpdox(460): TheSeer\phpDox\CLI->run()
     [exec] 
     [exec] 
     [exec] 
     [exec] ........................................
     [exec] Result: 1
@theseer
Copy link
Owner

theseer commented Dec 19, 2014

It was a bug :)

Duplicate of #164

@theseer theseer closed this as completed Dec 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants