J4 Issue ?
avatar Fedik
Fedik
15 Sep 2018

Steps to reproduce the issue

run in console php build/stubGenerator.php,

Expected result

the script runs

Actual result

error, HTML output with <h1>Whoops, looks like something went wrong.</h1>

With try/catch I found a real error:

Dispatcher not set in Joomla\CMS\Application\CliApplication
line: /libraries/vendor/joomla/event/src/DispatcherAwareTrait.php:41

System information (as much as possible)

php 7.2
joomla 4.0-dev branch

avatar Fedik Fedik - open - 15 Sep 2018
avatar joomla-cms-bot joomla-cms-bot - change - 15 Sep 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Sep 2018
avatar brianteeman brianteeman - change - 15 Sep 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 15 Sep 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 15 Sep 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 15 Sep 2018
Category Repository Unit Tests
avatar wilsonge
wilsonge - comment - 16 Sep 2018

With try/catch I found a real error:
Dispatcher not set in Joomla\CMS\Application\CliApplication
line: /libraries/vendor/joomla/event/src/DispatcherAwareTrait.php:41

Just as an FYI for next time you can also set the param here https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/bootstrap.php#L51 to true to get that trace too :)

avatar wilsonge
wilsonge - comment - 16 Sep 2018

Fixed with 373e531

avatar wilsonge wilsonge - close - 16 Sep 2018
avatar wilsonge wilsonge - change - 16 Sep 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-09-16 10:17:03
Closed_By wilsonge
avatar Fedik
Fedik - comment - 16 Sep 2018

@wilsonge thanks for info and for fixing

Add a Comment

Login with GitHub to post a comment