SPF, a spray-applied cellular plastic, is made by mixing chemicals to create foam. Those chemicals react very quickly, expanding on contact to create foam that insulates, air seals and provides a moisture barrier. When properly installed, SPF forms a continuous barrier on walls, around corners and on contoured surfaces. It resists heat transfer very well and is an effective solution for reducing unwanted air infiltration through cracks, seams, and joints.
Spray foam insulation helps lower utility costs because it blocks heat and cold from the outdoors. Recent studies by the U.S. Department of Energy state that around 40 percent of all energy is lost through poor insulation. Spray foam insulation is able to insulate homes at least 50 percent more than traditional insulation products. Spray foam insulation can also provide protection against moisture, which otherwise leads to the unwanted development of mold and mildew. And it can also be used for noise reduction as well. In fact, spray foam is good for homes and buildings in which outdoor noise can be a distraction. http://www.youtube.com/v/ggLAUsiuI_o&feature=kp
I employed a company to insulate my three story house in 2011. They started Insulating it in August of 2011...They said it would be a 3-4 day job. They installed it in 0.5"-8" lifts all in the same cavity, this left burned insulation and voids. They removed what they told me was the bad insulation and in the process cut many electrical wires. They fixed this. They then reinstalled too thick again in some spots and removed again. They then installed it for a 3rd time. The areas that I thought were good are now separating from the structural members leaving voids. As of October 2012, 1 year and 2 months of dealing with the contractor I told them I want proof that what has been installed carries a warranty or I want my money back and I will fix the problems myself. They have yet to provide me with this warranty. I have spent many hours in the house looking at what is bad and they need to fix. I am frustrated, 14 months of additional rent due to their negligence. I would like to know how I can get proof that the product carries the manufacturers lifetime warranty, or has it been installed improperly throughout the entire house. Desperately awaiting your response.  http://kvsprayfoam.com/images/KV-spray-foam-walls-leveled.jpg
If you don't have the patience to slowly fill the void with spray foam through holes drilled in one of the studs, you could (if you were an experienced carpenter) use a Sawzall to remove one of the studs and re-frame the corner as a two-stud corner. Then you could either insulate the void with a fiberglass batt or simply present the two-stud corner to the spray-foam contractor as an accessible corner.
Note: The practice of foam insulating the attic has raised eyebrows in the building industry because "standard" roofing techniques call for the attic to be ventilated; however, in a vented attic situation it will become approximately 130 degrees in the summer. There's no reason for an air-conditioning and vent-ductwork to have to work in that type of severe conditions. By applying Icynene right on the underside of the roof deck, the severe temperatures no longer exist in the attic. In short, the attic is now a "conditioned" space of the house that is just as comfortable as any other room in the home. This is called a "Compact Roof", which means you can frame right up against it. The one drawback of using expanded foam on the inside of the roof is that this will cause the temperature of the shingles to rise, but how much is not yet known. And how much damage a rise in temperatures could cause is debatable.

Roof Spray Foam Insulation