Hello,

I'm having a problem with an odd PHP fatal error which keeps popping up on 
open-source Scalr 4.5.1.  Here's one way I can reproduce it reliably:

   1. click "Add Role" to start the Role Builder
   2. fill in the details
   3. click "Create role"
   4. a message pops up "Cannot proceed with your request. Please try again 
   later."
   5. I reload apache
   6. click "Create role"
   7. the Role Builder starts building the role

I have a hunch that it has something to do with calling the iterator within 
a closure, but I'm not sure.  The only way I've found to move past the 
error is to reload apache.  Here are some installation details and the 
stack trace.

   - Scalr open-source, version 4.5.1 (ref: a7ab2eda)
   - Cloud provider is AWS::EC2, region us-east-1
   - Ubuntu 12.04 LTS
   - PHP package php5-5.5.8+dfsg-3+sury.org~precise+2 (from the ondrej/php5 
   PPA)
   
Apache request:

"POST /roles/xBuild HTTP/1.1" 500 420 "[local scalr hostname]" "Mozilla/5.0 
(X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/31.0.1650.63 Safari/537.36"


Stack trace:

PHP Fatal error:  Couldn't find implementation for method 
RegexIterator::accept in Unknown on line 0
PHP Stack trace:
PHP   1. {main}() /var/scalr/app/www/ui.php:0
PHP   2. Scalr_UI_Controller::handleRequest() /var/scalr/app/www/ui.php:79
PHP   3. Scalr_UI_Controller->call() 
/var/scalr/app/src/Scalr/UI/Controller.php:485
PHP   4. Scalr_UI_Controller->callActionMethod() 
/var/scalr/app/src/Scalr/UI/Controller.php:340
PHP   5. Scalr_UI_Controller_Roles->xBuildAction() 
/var/scalr/app/src/Scalr/UI/Controller.php:420
PHP   6. Modules_Platforms_Ec2->LaunchServer() 
/var/scalr/app/src/Scalr/UI/Controller/Roles.php:687
PHP   7. Scalr_Environment->aws() 
/var/scalr/app/src/Modules/Platforms/Ec2/Ec2.php:887
PHP   8. Scalr_Environment->__call() 
/var/scalr/app/src/Scalr/Environment.php:163
PHP   9. call_user_func_array() /var/scalr/app/src/Scalr/Environment.php:132
PHP  10. Scalr\\DependencyInjection\\Container->aws() 
/var/scalr/app/src/Scalr/Environment.php:132
PHP  11. Scalr\\DependencyInjection\\Container->__call() 
/var/scalr/app/src/Scalr/Environment.php:0
PHP  12. Scalr::{closure:/var/scalr/app/src/di.php:102-164}() 
/var/scalr/app/src/Scalr/DependencyInjection/Container.php:228
PHP  13. Scalr\\DependencyInjection\\Container->get() 
/var/scalr/app/src/di.php:163
PHP  14. 
Scalr\\DependencyInjection\\Container->Scalr\\DependencyInjection\\{closure}() 
/var/scalr/app/src/Scalr/DependencyInjection/Container.php:201
PHP  15. Scalr::{closure:/var/scalr/app/src/di.php:149-160}() 
/var/scalr/app/src/Scalr/DependencyInjection/Container.php:256
PHP  16. Scalr\\Service\\Aws\\Plugin\\EventObserver->__construct() 
/var/scalr/app/src/di.php:154
PHP  17. FilterIterator->rewind() /var/scalr/app/src/di.php:108



Please let me know if there's any other info I can provide.

--
- John Schnare

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to