Details

      Issue Links

        Activity

        Hide
        Rui Silva (Inactive) added a comment -

        The error:

        PHP Fatal error:  Class 'eZ\Publish\Core\Search\Solr\Gateway\Endpoint' not found in /var/www/html/ezpublish5/ezpublish/cache/dev/ezp   ublishDevDebugProjectContainer.php on line 2217
        PHP Stack trace:
        PHP   1. {main}() /var/www/html/ezpublish5/ezpublish/console:0
        PHP   2. Symfony\Component\Console\Application->run() /var/www/html/ezpublish5/ezpublish/console:26
        PHP   3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Com   ponent/Console/Application.php:126
        PHP   4. Symfony\Component\Console\Application->doRun() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/Framework   Bundle/Console/Application.php:96
        PHP   5. Symfony\Component\Console\Application->doRunCommand() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component   /Console/Application.php:195
        PHP   6. Symfony\Component\Console\Command\Command->run() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Cons   ole/Application.php:886
        PHP   7. EzSystems\EzPlatformSolrSearchEngineBundle\Command\SolrCreateIndexCommand->execute() /var/www/html/ezpublish5/vendor/symfon   y/symfony/src/Symfony/Component/Console/Command/Command.php:259
        PHP   8. EzSystemsEzPlatformSolrSearchEngineHandler_000000001b8e810600000000012005981f7afdfcc7750cfc54883c00d4bb1614->purgeIndex() /   var/www/html/ezpublish5/vendor/ezsystems/ezplatform-solr-search-engine/bundle/Command/SolrCreateIndexCommand.php:64
        PHP   9. Closure->__invoke() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php:59096
        PHP  10. ezpublishDevDebugProjectContainer->{closure:/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.   php:11769-11775}() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php:59096
        PHP  11. ezpublishDevDebugProjectContainer->getEzpublish_Spi_Search_SolrService() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpub   lishDevDebugProjectContainer.php:11770
        PHP  12. Symfony\Component\DependencyInjection\Container->get() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjec   tContainer.php:11779
        PHP  13. ezpublishDevDebugProjectContainer->getEzpublish_Search_Solr_Gateway_NativeService() /var/www/html/ezpublish5/vendor/symfony   /symfony/src/Symfony/Component/DependencyInjection/Container.php:327
        PHP  14. Symfony\Component\DependencyInjection\Container->get() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjec   tContainer.php:9416
        PHP  15. ezpublishDevDebugProjectContainer->getEzpublish_Search_Solr_Gateway_EndpointRegistryService() /var/www/html/ezpublish5/vend   or/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:327
        PHP  16. Symfony\Component\DependencyInjection\Container->get() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjec   tContainer.php:9387
        PHP  17. ezpublishDevDebugProjectContainer->getEzSearchEngineSolr_Endpoints_Endpoint2Service() /var/www/html/ezpublish5/vendor/symfo   ny/symfony/src/Symfony/Component/DependencyInjection/Container.php:327
        [2015-10-26 14:23:00] php.CRITICAL: Fatal Error: Class 'eZ\Publish\Core\Search\Solr\Gateway\Endpoint' not found {"type":1,"file":"/v   ar/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php","line":2217,"level":-1,"stack":[{"function":"getEz   SearchEngineSolr_Endpoints_Endpoint2Service","type":"->","class":"ezpublishDevDebugProjectContainer","file":"/var/www/html/ezpublish   5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":327,"args":[]},{"function":"get","type":"->   ","class":"Symfony\\Component\\DependencyInjection\\Container","file":"/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebu   gProjectContainer.php","line":9387,"args":[]},{"function":"getEzpublish_Search_Solr_Gateway_EndpointRegistryService","type":"->","cl   ass":"ezpublishDevDebugProjectContainer","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInj   ection/Container.php","line":327,"args":[]},{"function":"get","type":"->","class":"Symfony\\Component\\DependencyInjection\\Containe   r","file":"/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php","line":9416,"args":[]},{"function":"g   etEzpublish_Search_Solr_Gateway_NativeService","type":"->","class":"ezpublishDevDebugProjectContainer","file":"/var/www/html/ezpubli   sh5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":327,"args":[]},{"function":"get","type":"   ->","class":"Symfony\\Component\\DependencyInjection\\Container","file":"/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDe   bugProjectContainer.php","line":11779,"args":[]},{"function":"getEzpublish_Spi_Search_SolrService","type":"->","class":"ezpublishDev   DebugProjectContainer","file":"/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php","line":11770,"arg   s":[]},{"function":"{closure:/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php:11769-11775}","type"   :"->","class":"ezpublishDevDebugProjectContainer","file":"/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectConta   iner.php","line":59096,"args":[]},{"function":"__invoke","type":"->","class":"Closure","file":"/var/www/html/ezpublish5/ezpublish/ca   che/dev/ezpublishDevDebugProjectContainer.php","line":59096,"args":[]},{"function":"purgeIndex","type":"->","class":"EzSystemsEzPlat   formSolrSearchEngineHandler_000000001b8e810600000000012005981f7afdfcc7750cfc54883c00d4bb1614","file":"/var/www/html/ezpublish5/vendo   r/ezsystems/ezplatform-solr-search-engine/bundle/Command/SolrCreateIndexCommand.php","line":64,"args":[]},{"function":"execute","typ   e":"->","class":"EzSystems\\EzPlatformSolrSearchEngineBundle\\Command\\SolrCreateIndexCommand","file":"/var/www/html/ezpublish5/vend   or/symfony/symfony/src/Symfony/Component/Console/Command/Command.php","line":259,"args":[]},{"function":"run","type":"->","class":"S   ymfony\\Component\\Console\\Command\\Command","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Console/   Application.php","line":886,"args":[]},{"function":"doRunCommand","type":"->","class":"Symfony\\Component\\Console\\Application","fi   le":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php","line":195,"args":[]},{"function   ":"doRun","type":"->","class":"Symfony\\Component\\Console\\Application","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src   /Symfony/Bundle/FrameworkBundle/Console/Application.php","line":96,"args":[]},{"function":"doRun","type":"->","class":"Symfony\\Bund   le\\FrameworkBundle\\Console\\Application","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Console/App   lication.php","line":126,"args":[]},{"function":"run","type":"->","class":"Symfony\\Component\\Console\\Application","file":"/var/ww   w/html/ezpublish5/ezpublish/console","line":26,"args":[]},{"function":"{main}","file":"/var/www/html/ezpublish5/ezpublish/console","   line":0,"args":[]}]}
         
          [Symfony\Component\Debug\Exception\ClassNotFoundException]
          Attempted to load class "Endpoint" from namespace "eZ\Publish\Core\Search\Solr\Gateway".
          Did you forget a "use" statement for "EzSystems\EzPlatformSolrSearchEngine\Gateway\Endpoint"?
         
        ezplatform:solr_create_index [<bulk_count>]
        

        was happening when trying to index content with:
        php ezpublish/console ezplatform:solr_create_index

        The fix https://github.com/ezsystems/ezplatform-solr-search-engine/pull/26/files for EZP-24915 is required to fix this problem.
        Sanity tests were executed overall in Solr on 5.4 and master and all tests passed.
        Tested and approved by QA for release.

        Show
        Rui Silva (Inactive) added a comment - The error: PHP Fatal error: Class 'eZ\Publish\Core\Search\Solr\Gateway\Endpoint' not found in /var/www/html/ezpublish5/ezpublish/cache/dev/ezp ublishDevDebugProjectContainer.php on line 2217 PHP Stack trace: PHP 1. {main}() /var/www/html/ezpublish5/ezpublish/console:0 PHP 2. Symfony\Component\Console\Application->run() /var/www/html/ezpublish5/ezpublish/console:26 PHP 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Com ponent/Console/Application.php:126 PHP 4. Symfony\Component\Console\Application->doRun() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Bundle/Framework Bundle/Console/Application.php:96 PHP 5. Symfony\Component\Console\Application->doRunCommand() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component /Console/Application.php:195 PHP 6. Symfony\Component\Console\Command\Command->run() /var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Cons ole/Application.php:886 PHP 7. EzSystems\EzPlatformSolrSearchEngineBundle\Command\SolrCreateIndexCommand->execute() /var/www/html/ezpublish5/vendor/symfon y/symfony/src/Symfony/Component/Console/Command/Command.php:259 PHP 8. EzSystemsEzPlatformSolrSearchEngineHandler_000000001b8e810600000000012005981f7afdfcc7750cfc54883c00d4bb1614->purgeIndex() / var/www/html/ezpublish5/vendor/ezsystems/ezplatform-solr-search-engine/bundle/Command/SolrCreateIndexCommand.php:64 PHP 9. Closure->__invoke() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php:59096 PHP 10. ezpublishDevDebugProjectContainer->{closure:/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer. php:11769-11775}() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php:59096 PHP 11. ezpublishDevDebugProjectContainer->getEzpublish_Spi_Search_SolrService() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpub lishDevDebugProjectContainer.php:11770 PHP 12. Symfony\Component\DependencyInjection\Container->get() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjec tContainer.php:11779 PHP 13. ezpublishDevDebugProjectContainer->getEzpublish_Search_Solr_Gateway_NativeService() /var/www/html/ezpublish5/vendor/symfony /symfony/src/Symfony/Component/DependencyInjection/Container.php:327 PHP 14. Symfony\Component\DependencyInjection\Container->get() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjec tContainer.php:9416 PHP 15. ezpublishDevDebugProjectContainer->getEzpublish_Search_Solr_Gateway_EndpointRegistryService() /var/www/html/ezpublish5/vend or/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:327 PHP 16. Symfony\Component\DependencyInjection\Container->get() /var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjec tContainer.php:9387 PHP 17. ezpublishDevDebugProjectContainer->getEzSearchEngineSolr_Endpoints_Endpoint2Service() /var/www/html/ezpublish5/vendor/symfo ny/symfony/src/Symfony/Component/DependencyInjection/Container.php:327 [2015-10-26 14:23:00] php.CRITICAL: Fatal Error: Class 'eZ\Publish\Core\Search\Solr\Gateway\Endpoint' not found {"type":1,"file":"/v ar/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php","line":2217,"level":-1,"stack":[{"function":"getEz SearchEngineSolr_Endpoints_Endpoint2Service","type":"->","class":"ezpublishDevDebugProjectContainer","file":"/var/www/html/ezpublish 5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":327,"args":[]},{"function":"get","type":"-> ","class":"Symfony\\Component\\DependencyInjection\\Container","file":"/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebu gProjectContainer.php","line":9387,"args":[]},{"function":"getEzpublish_Search_Solr_Gateway_EndpointRegistryService","type":"->","cl ass":"ezpublishDevDebugProjectContainer","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/DependencyInj ection/Container.php","line":327,"args":[]},{"function":"get","type":"->","class":"Symfony\\Component\\DependencyInjection\\Containe r","file":"/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php","line":9416,"args":[]},{"function":"g etEzpublish_Search_Solr_Gateway_NativeService","type":"->","class":"ezpublishDevDebugProjectContainer","file":"/var/www/html/ezpubli sh5/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php","line":327,"args":[]},{"function":"get","type":" ->","class":"Symfony\\Component\\DependencyInjection\\Container","file":"/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDe bugProjectContainer.php","line":11779,"args":[]},{"function":"getEzpublish_Spi_Search_SolrService","type":"->","class":"ezpublishDev DebugProjectContainer","file":"/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php","line":11770,"arg s":[]},{"function":"{closure:/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectContainer.php:11769-11775}","type" :"->","class":"ezpublishDevDebugProjectContainer","file":"/var/www/html/ezpublish5/ezpublish/cache/dev/ezpublishDevDebugProjectConta iner.php","line":59096,"args":[]},{"function":"__invoke","type":"->","class":"Closure","file":"/var/www/html/ezpublish5/ezpublish/ca che/dev/ezpublishDevDebugProjectContainer.php","line":59096,"args":[]},{"function":"purgeIndex","type":"->","class":"EzSystemsEzPlat formSolrSearchEngineHandler_000000001b8e810600000000012005981f7afdfcc7750cfc54883c00d4bb1614","file":"/var/www/html/ezpublish5/vendo r/ezsystems/ezplatform-solr-search-engine/bundle/Command/SolrCreateIndexCommand.php","line":64,"args":[]},{"function":"execute","typ e":"->","class":"EzSystems\\EzPlatformSolrSearchEngineBundle\\Command\\SolrCreateIndexCommand","file":"/var/www/html/ezpublish5/vend or/symfony/symfony/src/Symfony/Component/Console/Command/Command.php","line":259,"args":[]},{"function":"run","type":"->","class":"S ymfony\\Component\\Console\\Command\\Command","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Console/ Application.php","line":886,"args":[]},{"function":"doRunCommand","type":"->","class":"Symfony\\Component\\Console\\Application","fi le":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php","line":195,"args":[]},{"function ":"doRun","type":"->","class":"Symfony\\Component\\Console\\Application","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src /Symfony/Bundle/FrameworkBundle/Console/Application.php","line":96,"args":[]},{"function":"doRun","type":"->","class":"Symfony\\Bund le\\FrameworkBundle\\Console\\Application","file":"/var/www/html/ezpublish5/vendor/symfony/symfony/src/Symfony/Component/Console/App lication.php","line":126,"args":[]},{"function":"run","type":"->","class":"Symfony\\Component\\Console\\Application","file":"/var/ww w/html/ezpublish5/ezpublish/console","line":26,"args":[]},{"function":"{main}","file":"/var/www/html/ezpublish5/ezpublish/console"," line":0,"args":[]}]}   [Symfony\Component\Debug\Exception\ClassNotFoundException] Attempted to load class "Endpoint" from namespace "eZ\Publish\Core\Search\Solr\Gateway". Did you forget a "use" statement for "EzSystems\EzPlatformSolrSearchEngine\Gateway\Endpoint"?   ezplatform:solr_create_index [<bulk_count>] was happening when trying to index content with: php ezpublish/console ezplatform:solr_create_index The fix https://github.com/ezsystems/ezplatform-solr-search-engine/pull/26/files for EZP-24915 is required to fix this problem. Sanity tests were executed overall in Solr on 5.4 and master and all tests passed. Tested and approved by QA for release.

          People

          • Assignee:
            Unassigned
            Reporter:
            André Rømcke
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour, 10 minutes
              1h 10m