longsleep / as3-commons

Automatically exported from code.google.com/p/as3-commons
1 stars 1 forks source link

as3commons-logging: FlexLogTarget TypeError: Error #1009: Cannot access a property or method of a null object reference #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
log something without parameters

What is the expected output? What do you see instead?
i see:
TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
    at org.as3commons.logging.setup.target::FlexLogTarget/log()[C:\Users\mh\workspace-as3commons\as3-commons-logging\src\main\actionscript\org\as3commons\logging\setup\target\FlexLogTarget.as:55]
    at org.as3commons.logging.api::Logger/info()[C:\Users\mh\workspace-as3commons\as3-commons-logging\src\main\actionscript\org\as3commons\logging\api\Logger.as:99]
    at Engine/loggingContextCompleteHandler()[/Users/arnoudbos/Desktop/qiy/ClientPlatform/engine/src/main/flex/Engine.mxml:185]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()

What version of the product are you using? On what operating system?
2.5.1

Please provide any additional information below.
looking at the code the bug is obvious. if parameters is null then 
parameters.concat() throws this error

Original issue reported on code.google.com by arno...@gmail.com on 16 Aug 2011 at 11:57

GoogleCodeExporter commented 9 years ago
Thanks a lot for reporting this issue, it must have slipped through the unit 
tests. Will be fixed in next release!

Original comment by mastakan...@gmail.com on 17 Aug 2011 at 1:32