What steps will reproduce the problem?
1. create BitmapMaterial by calling constructor BitmapMaterial without any
arguments
What is the expected output? What do you see instead?
Expected: new BitmapMaterial
Instead: Exception fault: TypeError: Error #1009: Cannot access a property or
method of a null object reference.
at away3d.materials::DefaultMaterialBase/isBitmapDataValid()[S:\ds3_workspace\away3d\broomstick\Away3D\src\away3d\materials\DefaultMaterialBase.as:316]
at away3d.materials::BitmapMaterial/set bitmapData()[S:\ds3_workspace\away3d\broomstick\Away3D\src\away3d\materials\BitmapMaterial.as:60]
at away3d.materials::BitmapMaterial()[S:\ds3_workspace\away3d\broomstick\Away3D\src\away3d\materials\BitmapMaterial.as:27]
What version of the product are you using? On what operating system?
trunk/broomstick/Away3D/src revision 3006
Windows 7 64bit
Please provide any additional information below.
Obviously isBitmapDataValid() is called without considering possible null value
Original issue reported on code.google.com by alex.sei...@gmail.com on 16 Mar 2011 at 10:32
Original issue reported on code.google.com by
alex.sei...@gmail.com
on 16 Mar 2011 at 10:32