http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692015-09-08T18:20:15ZTYPO3 ForgeTYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2746182015-09-08T18:20:15ZMarkus Kleinmarkus.klein@typo3.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>Did you flush all caches in the Install Tool?</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2746202015-09-08T18:28:50ZDaniel Wagner
<ul></ul><p>all ! caches have been cleared manually and with install tool, but it only happens in 2 of 3 tested systems.</p>
<p>Uncaught TYPO3 Exception: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not exist</p>
<p>ReflectionException thrown in file /typo3/sysext/extbase/Classes/Reflection/PropertyReflection.php in line 33.</p>
<p>22 ReflectionProperty::__construct(TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService, "listUtility")<br />21 TYPO3\CMS\Extbase\Reflection\PropertyReflection::__construct(TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService, "listUtility")<br />20 TYPO3\CMS\Core\Utility\GeneralUtility::instantiateClass("TYPO3\CMS\Extbase\Reflection\PropertyReflection", array)<br />19 TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance("TYPO3\CMS\Extbase\Reflection\PropertyReflection", TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService, "listUtility")<br />18 TYPO3\CMS\Extbase\Object\Container\Container::injectDependencies(TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService, TYPO3\CMS\Extbase\Object\Container\ClassInfo)<br />17 TYPO3\CMS\Extbase\Object\Container\Container::getInstanceInternal("TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService")<br />16 TYPO3\CMS\Extbase\Object\Container\Container::injectDependencies(TYPO3\CMS\Extensionmanager\Utility\DependencyUtility, TYPO3\CMS\Extbase\Object\Container\ClassInfo)<br />15 TYPO3\CMS\Extbase\Object\Container\Container::getInstanceInternal("TYPO3\CMS\Extensionmanager\Utility\DependencyUtility")<br />14 TYPO3\CMS\Extbase\Object\Container\Container::injectDependencies(TYPO3\CMS\Extensionmanager\Utility\InstallUtility, TYPO3\CMS\Extbase\Object\Container\ClassInfo)<br />13 TYPO3\CMS\Extbase\Object\Container\Container::getInstanceInternal("TYPO3\CMS\Extensionmanager\Utility\InstallUtility")<br />12 TYPO3\CMS\Extbase\Object\Container\Container::injectDependencies(TYPO3\CMS\Extensionmanager\Utility\ListUtility, TYPO3\CMS\Extbase\Object\Container\ClassInfo)<br />11 TYPO3\CMS\Extbase\Object\Container\Container::getInstanceInternal("TYPO3\CMS\Extensionmanager\Utility\ListUtility")<br />10 TYPO3\CMS\Extbase\Object\Container\Container::injectDependencies(TYPO3\CMS\Extensionmanager\Controller\ListController, TYPO3\CMS\Extbase\Object\Container\ClassInfo)<br />9 TYPO3\CMS\Extbase\Object\Container\Container::getInstanceInternal("TYPO3\CMS\Extensionmanager\Controller\ListController", array)<br />8 TYPO3\CMS\Extbase\Object\Container\Container::getInstance("TYPO3\CMS\Extensionmanager\Controller\ListController", array)<br />7 TYPO3\CMS\Extbase\Object\ObjectManager::get("TYPO3\CMS\Extensionmanager\Controller\ListController")</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2746252015-09-08T18:54:32ZWouter Wolterstypo3@wouterwolters.nl
<ul></ul><p>Did you try to restart your webserver?</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2746262015-09-08T18:56:40ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>"all caches" did also involve the opcode cache?</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2746272015-09-08T18:57:36ZDaniel Wagner
<ul></ul><p>Yes, restarting worked. (I always included opcode cleaning.)</p>
<p>Thank you very much!</p>
<p>Any explanation? Have followed until getClassInfoCache which gets stored in the database. File must have been locked by apache somehow which recreated wrong cache...</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2746282015-09-08T19:01:05ZWouter Wolterstypo3@wouterwolters.nl
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Closed</i></li></ul><p>your welcome.</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2746302015-09-08T19:11:21ZWouter Wolterstypo3@wouterwolters.nl
<ul></ul><p>Caches are always hard to track down.. no real exaplanation from my side :(</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2746692015-09-09T09:34:38ZNicole Cordestypo3@cordes.co
<ul></ul><p>Maybe you are using a memcache?! The error occurs because there is a wrong reflection in the extbase reflection cache which can't be resolved anymore. So you need to flush the extbase cache tables. If there is any caching of the database, you have to make sure to flush those as well.</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2757662015-09-15T10:22:02ZXavier Perseguersxavier@typo3.org
<ul></ul><p>Getting exactly this problem this morning on a website where EM is usually completely empty (but answers with a HTTP 200). Nothing in the logs.</p>
<pre>
Oops, an error occurred!
Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not exist
</pre>
<a name="Attempt-1"></a>
<h2 >Attempt 1<a href="#Attempt-1" class="wiki-anchor">¶</a></h2>
<ul>
<li>Clear system cache (from menu)</li>
<li>No more error, empty screen (everything else is running properly, including Languages which never gave a problem)</li>
</ul>
<a name="Attempt-2"></a>
<h2 >Attempt 2<a href="#Attempt-2" class="wiki-anchor">¶</a></h2>
<ul>
<li>Install Tool > Important actions</li>
<li>Clear all cache</li>
<li>No error, but still empty screen</li>
<li>Clear PHP opcode cache [OPcache (7.0.3FE)]</li>
<li>Nothing changes</li>
</ul>
<a name="System"></a>
<h2 >System<a href="#System" class="wiki-anchor">¶</a></h2>
<ul>
<li>PHP fpm v5.5.9-1ubuntu4.9</li>
<li>OPcache v7.0.3</li>
<li>Nginx v1.1.19</li>
</ul> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2758192015-09-15T12:53:06ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>Did you clear all caches again after opcode cache has been cleared?</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2758812015-09-15T16:25:23ZDaniel Neugebauer
<ul></ul><p>We just had the same issue on 6.2.15 and it doesn't seem to be directly related to PHP's opcache because we are not using it:</p>
<pre># cat /etc/php/apache2-php5.5/php.ini | grep opcache | grep -vE '^;'
[opcache]
opcache.enable=0
opcache.enable_cli=0
opcache.memory_consumption=256
opcache.max_accelerated_files=4000
opcache.use_cwd=1
opcache.validate_timestamps=1
opcache.revalidate_freq=0
opcache.revalidate_path=1
opcache.save_comments=1
opcache.load_comments=1</pre>
<p>Of course, restarting the webserver didn't solve the issue for us. Flushing caches via install tool however did.</p>
<p>We only noticed it on one TYPO3 instance so far, others don't seem to be affected.</p>
<p>In case it has anything to do with the way we update: The usual directories are symlinks to <code>typo3_src</code>, <code>typo3_src</code> then symlinks to a shared <code>typo3_src-6.2</code> symlink. To perform an update we just extract the archive and change the shared <code>typo3_src-6.2</code> symlink to point to the latest version. Maybe, if there is anything like automated cache clearing after updates (if not, that would be nice to have), it does not trigger if symlinks are chained together 3 times?</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2758932015-09-15T16:58:25ZChristian Hillebrandtypo3@webxass.de
<ul></ul><p>For me none of the delete cache methods work for any of my typo3 installations.</p>
<p>Tried deleting cache in backend (clear all caches) and in installtool (important actions => clear all cache). We use database cache so apache restart did not worked either.</p>
<p>I also tried to delete the content if typo3temp.</p>
<p>Nothing worked to get the extensionmanager working again.</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2765482015-09-20T20:24:06ZHans-Peter JacobsHans-Peter.Jacobs@gmx.net
<ul></ul><p>The same issue appeared on my typo3-installation when updating to 6.2.15 :(</p>
<p>Sidenote: Switching back to 6.2.14 kept showing the error until the opcode cache was cleared via InstallTool. So the clearing of that cache (and all others) seems to work .... but not for that particular error after updating to 6.2.15?!</p>
<p>OPcache 7.0.4-devFE</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2765582015-09-20T22:22:50ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>We can only recommend those steps to solve the issue:</p>
<ol>
<li>Flush the opcode cache via Install Tool or restart the webserver (or PHP FPM)</li>
<li>Clear All Caches via Install Tool</li>
</ol>
<p>This process should really make sure that there is no cache content left anywhere.</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2765902015-09-21T10:11:48ZDaniel Neugebauer
<ul></ul><p>Sorry, but I have to ask: Since working with symlinks is the officially preferred way to update TYPO3 and centralized updates don't seem that uncommon, why doesn't TYPO3 simply detect that it has been updated and automatically clears all required code caches? It should be easy enough to store the current version number in index.php by distribution and the last used one in LocalConfiguration. If there's a mismatch (no need to check for up-/downgrades or specific versions, having a mismatch is enough), TYPO3 should flush all code & config caches and update the number in LocalConfiguration. Such a simple comparison wouldn't impact performance at all as those files are loaded and processed anyway.</p>
<p>As this issue shows, if there is no such mechanism yet, it would be great to have one. Please confirm that there really is none and I will gladly open a feature request myself.</p>
<p>Sorry if that sounded a bit harsh but when using TYPO3 4.x we never had such issues. The aggressive code caching in TYPO3 6.x can drive you slightly mad, however, and introducing automatic cache clearing on core updates would at least ease updating across TYPO3 bugfix releases which shouldn't usually trigger such issues. Still doesn't solve having to clear each and every more or less hidden cache in TYPO3 when installing extensions, writing extensions or just plain templates but it's a start...</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2766072015-09-21T12:05:00ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>Hi Daniel!</p>
<p>There is no such feature yet, you're right. There is even a better way to achieve this, by simply adding the version number to the cache identifiers. This way you don't even need to store the current version number.</p>
<p>The opcode cache is a different story though, which causes issues that can't be solved from within the application. Mostly this involves issues, where the opcode cache does not realize that there is new PHP source to parse, hence it keeps delivering the old code. No matter what you do in your PHP app, you'll never get a hint that a new source is actually already present. That's the reason why you have to manually flush the opcode cache, either by server/fpm restart or via Install Tool (sourced from the old source), to eventually get the new source running, which you can finally use to flush the TYPO3 caches.</p>
<p>Feel free to open any feature request, but it would be even better if you could contribute the feature. ;-)</p>
<p>Cheers, Markus</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2768722015-09-23T11:10:54ZDeividas Simasz0zol3@hotmail.com
<ul></ul><p>Definetly cache related, happened after updating typo3 (with composer).</p>
<p>Deleted all caches, including typo3temp folder without success.<br /><strong>Truncating `tx_extensionmanager_domain_model_extension` helped.</strong></p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2768742015-09-23T11:23:22ZChristian Hillebrandtypo3@webxass.de
<ul></ul><p>I still did not found any working solution to activate the extensionmanager in all my projects.</p>
<p>On some projects it worked direclty with the first try but on others i can try to delete any caches as often as i want but nothing changes on the extensionmanager.</p>
<p>Do you have any other ideas to get it back working?</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2768792015-09-23T12:07:36ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>@Deividas: That's exactly the reason why we do <strong>NOT</strong> recommend to flush caches manually.<br />Either use the Install Tool "clear all cache" button (which takes care of all Cache-Backends, whereever those are stored), or install the typo3_console extension, which allows to flush the cache from commandline in a reliable way.</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2768802015-09-23T12:09:30ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>@Christian: Do you use APC as cache backend? (Install Tool -> Configuration Preset -> Extbase object cache)</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2784262015-09-26T12:45:53ZDaniel Neugebauer
<ul></ul><p>Added a feature request for this, <a class="issue tracker-2 status-6 priority-4 priority-default closed" title="Feature: Clear code caches automatically if core version changes (Rejected)" href="http://forge.typo3.org/issues/70125">#70125</a>: "Clear code caches automatically if core version changes"</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2785492015-09-27T23:13:02ZHans-Peter JacobsHans-Peter.Jacobs@gmx.net
<ul></ul><p>@Markus Klein: APC was a great hint!</p>
<p>I just switched (using the install tool) from APC to "Database cache backend", cleaned all the caches (incl. opcode) and toggled APC back on. Now the installation runs fine, no more problems with the extension-manager.</p>
<p>Not sure what happened and whether those steps were truly the fix, but now it works again :)</p>
<p>Thank you!</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2785792015-09-28T10:24:09ZMarkus Kleinmarkus.klein@typo3.org
<ul><li><strong>Target version</strong> deleted (<del><i>next-patchlevel</i></del>)</li></ul><p>Obviously there must be some issue with the Install Tool not being able to flush your APC cache.</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2789742015-09-30T17:25:23ZChristian Hillebrandtypo3@webxass.de
<ul></ul><p>@Markus, Nope, as i wrote in an earlier post, we use the database cache.</p>
<p>Should i try to truncate tx_extensionmanager_domain_model_extension too?</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2789812015-09-30T18:02:24ZMarkus Kleinmarkus.klein@typo3.org
<ul></ul><p>tx_extensionmanager_domain_model_extension just holds the list of extensions, so this is totally unrelated.</p>
<p>If you use the DB-Cache, please try one thing: Clear all cache with the button in Install Tool and look into the DB then if the cf_..._reflection table is empty.</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=2821642015-10-18T08:44:18ZJimit Shahjeemit2007@gmail.com
<ul></ul><p>Thanks a lot !</p>
<p>with clear the install tool cache , i resolved this error.</p> TYPO3 Core - Bug #69619: Property TYPO3\CMS\Extensionmanager\Service\ExtensionManagementService::$listUtility does not existhttp://forge.typo3.org/issues/69619?journal_id=3027432016-04-22T02:58:27ZDaniel Bachmann
<ul></ul><p>I had the same problem some minutes ago. I cleared all caches but that changed nothing...</p>
<p>I resolved this error by truncating all cf_ tables in the database.</p>