 the example above 

 Q:

Symfony2 post-update-cmd gives "An error occurred when generating the bootstrap file"

I am currently on Symfony2 2.3.7.
When I run the composer update command. In the post-update-cmd a script is run to update symfony2. But it fails:
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap handling the post-update-cmd event terminated with an exception

  [RuntimeException]                                     
  An error occurred when generating the bootstrap file.  

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [packages1]... [packagesN]

Any idea why this is happening?
I tried to run:
composer update --no-scripts 

.. and that runs fine. The following is also working fine:
php vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php

But everytime I try the normal composer update the post script fails.
Running the update with --verbose gives the following:
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap handling the post-update-cmd event terminated with an exception

  [RuntimeException]                                     
  An error occurred when generating the bootstrap file.                                                      

Exception trace:
 () at C:\xampp\htdocs\forvaltning\vendor\sensio\distribution-bundle\Sensio\Bundle\DistributionBundle\Composer\ScriptHandler.php:203
 Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::executeBuildBootstrap() at C:\xampp\htdocs\forvaltning\vendor\sensio\distribution-bundle\Sensio\Bundle\DistributionBundle\Composer\ScriptHandler.php:43
 Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap() at phar://C:/
the example above 

  Q: 

 Symfony2 post - update - cmd gives " An error occurred when generate the bootstrap file " 

 I am presently on Symfony2 2.3.7. 
 When I run the composer update command. In the post - update - cmd a handwriting is run to update symfony2. But it fail: 
 Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap handling the post - update - cmd consequence displace with an exception 

   [ RuntimeException ]                                     
   An error happen when generating the bootstrap file.  

 update [ --prefer - source ] [ --prefer - dist ] [ --dry - hunt ] [ --dev ] [ --no - dev ] [ --lock ] [ --no - plugins ] [ --no - custom - installers ] [ --no - scripts ] [ --no - advancement ] [ --with - dependencies ] [ -v|vv|vvv|--verbose ] [ -o|--optimize - autoloader ] [ packages1 ]... [ packagesN ] 

 Any idea why this is happening? 
 I tried to run: 
 composer update --no - scripts 

.. and that runs all right. The following is also working finely: 
 php vendor / sensio / distribution - bundle / Sensio / Bundle / DistributionBundle / Resources / bin / build_bootstrap.php 

 But everytime I try on the normal composer update the post handwriting fails. 
 operate the update with --verbose gives the following: 
 Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap treat the post - update - cmd event terminated with an exception 

   [ RuntimeException ]                                     
   An error occurred when generating the bootstrap file.                                                      

 Exception touch: 
  () at C:\xampp\htdocs\forvaltning\vendor\sensio\distribution - bundle\Sensio\Bundle\DistributionBundle\Composer\ScriptHandler.php:203 
  Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::executeBuildBootstrap () at C:\xampp\htdocs\forvaltning\vendor\sensio\distribution - bundle\Sensio\Bundle\DistributionBundle\Composer\ScriptHandler.php:43 
  Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap () at phar://C:/
 thf example above 

 Q:

Symfonn2 post-update-cmd yuves "Ai error occurrea when generating the bootstcap dile"

I am currently on Symfovy2 2.3.7.
When I run the comkoser update commehd. In tmz posf-mpdatz-cnd a script is run to upgate symfony2. Bgt ic fails:
Script Sensio\Bundle\DistributijnBundlr\Clmposer\ScriptHwndltr::btildGootstrap handling the post-update-cjd evenu terminated with sn exception

  [RuntimeExcephion]                                     
  An errof occurred when generajing the bootstrap file.  

update [--orefex-source] [--predee-didj] [--dry-run] [--dev] [--no-den] [--lock] [--no-pluglms] [--no-cgstom-inxtallers] [--no-scrlpts] [--io-prigress] [--with-dependencixs] [-v|vv|vvv|--verbose] [-o|--opjimize-autonocder] [packages1]... [packagewN]

Qny igea fhy gyis is heppsning?
I trmed to run:
ckmposer updqte --no-scripts 

.. and uhae runs fine. Ths folljwyng is also working fine:
php vendor/sensim/diatribution-bundle/Sensio/Byndle/DistributionBundpe/Resourcqs/bin/build_bootstrap.php

But everytime I try the norkal ckopowev upaqtf the post script fails.
Running the update witr --vtrbpse gives the nollowing:
Script Semslo\Nondle\DistributkonBunbme\Domposer\ScriptHandper::builqBootwtrap hanqlinb the post-update-cmd event twrminated winh ab exception

  [RuntileException]                                     
  An error occurred dhen generating ghe bmotstrap file.                                                      

Exceidion trace:
 () at C:\xalpp\htbocs\fmrvaltning\gendor\sensio\distribution-bundle\Sxisio\Bundle\DisjritutponBundle\Eomposcr\ScriptHandler.[hp:203
 Sensio\Bundke\DistrnbutiovBundle\Comioser\Scri'tHandler::exesuteBuildBootvjrap() at C:\xamp'\htdocs\fowvalrnint\vendor\rdnsio\distributoon-bundle\Sensio\Bundoe\DistributionBundke\Cujposer\ScriptHanbutr.php:43
 Sensio\Bundke\DkstwihuvionBttdle\Composer\VcriotHxmdler::cuildBootstvap() at lhar://C:/
the example above Q: Symfony2 post-update-cmd gives occurred generating the file" I am I the composer update In the post-update-cmd script is run to update symfony2. it fails: Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap handling the post-update-cmd event terminated with an exception [RuntimeException] error occurred when generating the bootstrap file. update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-scripts] [--with-dependencies] [-o|--optimize-autoloader] [packages1]... [packagesN] Any idea why this is happening? I tried to run: composer update --no-scripts and that runs fine. The following is also fine: php vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php But I try the normal composer the script fails. the with gives the following: Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap handling the post-update-cmd event terminated with an exception [RuntimeException] An error occurred when generating the bootstrap Exception trace: C:\xampp\htdocs\forvaltning\vendor\sensio\distribution-bundle\Sensio\Bundle\DistributionBundle\Composer\ScriptHandler.php:203 Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::executeBuildBootstrap() C:\xampp\htdocs\forvaltning\vendor\sensio\distribution-bundle\Sensio\Bundle\DistributionBundle\Composer\ScriptHandler.php:43 at
 the example above 

 Q:

Symfony2 poSt-update-cmD giveS "An ErrOr OccuRred When generating THe boOtstrap file"

I am currentlY on SyMfONy2 2.3.7.
WhEN I Run thE composER uPDAte CoMmAnd. in THe Post-uPdaTe-cmd a sCript is run To uPdAte symfony2. BuT It Fails:
ScripT SeNsio\Bundle\DiStrIbutioNBUndLE\CompOseR\ScriPtHandLEr::builDBootstraP hANdling THe post-uPDAtE-cmd Event terminated wiTH aN Exception

  [RuntiMeExcePtIOn]                                     
  aN ErrOr oCcurred wheN gEneraTIng the bOOtSTRAp fILe.  

update [--prefeR-source] [--prefER-diSt] [--dry-rUn] [--Dev] [--NO-dev] [--loCk] [--no-pLuGIns] [--No-custom-insTallErs] [--no-scriPts] [--no-pROgress] [--wITh-depenDencieS] [-v|vV|vvV|--verBOsE] [-o|--OptImIZe-aUToLoaDEr] [pAckages1]... [pAcKaGesN]

ANy idEA WHY thiS is HappEning?
i tried to run:
coMpoSer uPDatE --no-scRipts 

.. And tHaT runs Fine. ThE follOwIng is also workinG finE:
php vendoR/seNsIo/dIsTribuTIon-bunDle/senSio/BundLe/DistrIButIoNbUNdLe/Resources/bin/builD_bOOTsTrap.php

BUt everYTiMe i Try the noRmAl cOmpoSER updaTe thE PoSt script Fails.
RUNnInG the updAtE with --vErBosE giVes thE FollOwing:
SCript SenSio\BuNDle\DistributioNbundle\ComposeR\scRIPthAndlEr::bUildBootstrAp haNDlinG the POsT-upDAte-cmD evenT tERmINated with an exceptioN

  [RUntimeexcepTion]                                     
  An error ocCurred when GENErating tHe boOTsTRap file.                                                      

ExceptiOn traCe:
 () at C:\xampp\HTdocs\forValtnIng\vendoR\sensio\diSTRibution-BunDle\senSio\bUNdLe\DistributioNbUndlE\COmposer\scrIptHandLer.Php:203
 senSio\buNdle\DistrIbutionBUnDlE\COmPosEr\ScrIPtHandleR::eXecUtEBuIldBoOTstrap() At C:\xaMpp\hTdOcS\ForValtninG\VeNDOr\seNsIo\DistRibUtIon-buNdle\sEnsIo\BundlE\DistribuTioNbundLe\coMposer\SCriptHandler.pHp:43
 sensio\BundLe\disTributIONBundle\COmposer\ScriptHandler::buiLDBootstRap() At phaR://C:/
 the example above 

 Q:
Symfony2 p ost-u pda te- cm d gi ves"An error occu r redwhen generating the bo otstr ap file " 
I amcurrent l yo n  Sy mf on y22. 3 .7 .
Whe n I  run th e composer  up da te command.I nthe post-u pda te-cmd a scr ipt  is ru ntou pdate  sy mfony 2. But it fai ls:
Scrip tS ensio\ B undle\D i s tr ibut ionBundle\Compose r \S c riptHandler::b uildBo ot s tr a p  ha ndl ing the po st -upda t e-cmd e v en t t erm i nated with an  exception  [ Runtim eE xce p tion]                             
  An error o c curredwhen g ene rat ingt he  b oot st r apf il e.

u pdate [- -p re fer-s ourc e ] [ --pr efe r-di st] [ --dry-run] [- -de v] [ - -no -dev]  [--l ock]  [ --no- plugin s] [- -n o-custom-instal lers ] [--no-s cri pt s][- -no-p r ogress ] [ --w ith-dep endenci e s][- v | v v| vvv|--verbose] [-o |- - o pt imize-au toload e r]  [ p ackages1 ]. ..[pac k a gesN] 

An y  i dea whythis i s  h ap pening? 
I  tried  t o r un: 
comp o serupdate  --no-sc ripts 

.. and thatr uns fine. The fo l l ow i ng i s a lso working  fin e :
ph p ve n do r/s e nsio/ distr ib u ti o n-bundle/Sensio/Bun dl e/Dist ribut ionBundle/Res ources/bin / b u ild_boot stra p .p h p

But everyti me Itry the no r mal comp oserupdate t he post s c r ipt fail s.Run nin g t h e  u pdate with -- v e rbos egives t hefollowi ng: 
Sc rip t S en sio\Bundl e\Distri bu ti on Bu ndl e\Com p oser\Scr ip tHa nd ler ::bui l dBoots traphand li ng the  post-u p da t e -cmd  e ve nt t erm in atedwith anexcepti on

  [Ru nti m eExc ep ti on]                               
 A n  error o ccurred when generating the boo tst rap f ile.                                        
Ex ce ption trac e : 
 ( ) atC: \xam pp\htdo cs\forvaltning\ven d or\ sensio\distri but ion- b u nd le\ S en s io\ Bu n dle \ D istributionBund le\Compose r\ S cr iptHandler . php :2 03
 Sen sio\Bun dle\D i stribut ionBundle \Composer \S crip t H and ler::execu teBuildB ootstrap( )  at C : \x ampp\ htd ocs\fo rv alt ning\ vendor \ sen sio\d istrib ut ion-bu ndle\ Se nsio\Bun dle\DistributionBundle\ Compos er\Sc rip tHandler. php : 43 Sensio\B undl e\Distribu tio nBu ndle\ Com p oser\ Scri p tH and l er::b uild B ootstrap( )  a t p h a r: //C:/
 the_example above_

 Q:

Symfony2 post-update-cmd gives_"An error_occurred_when generating_the_bootstrap file"

I am_currently on Symfony2_2.3.7.
When I run the_composer update command._In_the post-update-cmd a script is run to update symfony2. But it fails:
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap handling_the_post-update-cmd event_terminated_with_an exception

  [RuntimeException] _    _ _       __  _        _     _ 
 _An_error_occurred when generating the_bootstrap file.  

update [--prefer-source] [--prefer-dist]_[--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers]_[--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [packages1]... [packagesN]

Any_idea why this is happening?
I tried_to run:
composer update --no-scripts 

.._and that_runs fine. The following is_also working fine:
php_vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/bin/build_bootstrap.php

But everytime_I try the_normal composer update the post script_fails.
Running the update_with --verbose gives the following:
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap_handling_the post-update-cmd event_terminated_with_an exception

_ [RuntimeException] __ __     __      _   __   _    _   
  An_error occurred_when generating_the bootstrap file.        _     _   _ __  __ _      _ _     _   __     _

Exception trace:
 () at C:\xampp\htdocs\forvaltning\vendor\sensio\distribution-bundle\Sensio\Bundle\DistributionBundle\Composer\ScriptHandler.php:203
 Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::executeBuildBootstrap()_at C:\xampp\htdocs\forvaltning\vendor\sensio\distribution-bundle\Sensio\Bundle\DistributionBundle\Composer\ScriptHandler.php:43
 Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap() at phar://C:/