Skip to content

TokenFileException: File '/var/lib/jenkins/workspace/xxx/build/phpdox/tokens/Namspace/Class.php.xml' not found #164

@puffinofdoom

Description

@puffinofdoom

Running phpdox 0.7.0 as part of a Jenkins build and got the following error:

[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.4-14+deb7u8 (Linux)
[exec] PHPDox Version: 0.7.0
[exec] Exception: TheSeer\phpDox\Generator\TokenFileException (Code: 1)
[exec] Location: phar:///usr/bin/phpdox/phpdox/generator/project/TokenFile.php (Line 19)
[exec] 
[exec] File '/var/lib/jenkins/workspace/xxx/build/phpdox/tokens/Namspace/Class.php.xml' not found
[exec] 
[exec] #0 phar:///usr/bin/phpdox/phpdox/generator/Generator.php(153): TheSeer\phpDox\Generator\TokenFileIterator->current()
[exec] #1 phar:///usr/bin/phpdox/phpdox/generator/Generator.php(146): TheSeer\phpDox\Generator\Generator->processTokenFiles()
[exec] #2 phar:///usr/bin/phpdox/phpdox/Application.php(238): TheSeer\phpDox\Generator\Generator->run()
[exec] #3 phar:///usr/bin/phpdox/phpdox/CLI.php(152): TheSeer\phpDox\Application->runGenerator()
     [exec] #4 /usr/bin/phpdox(460): TheSeer\phpDox\CLI->run()

I can verify that the Namspace/Class.php.xml file is in the location indicated in the above stacktrace, and the permissions appear to be correct.

Can you help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions