History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: FB-13752
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: None None
Assignee: Kishan Venkataramana
Reporter: James Woodward
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Flash Builder / Flex Builder

ProfilerAgent RTE when unloading file

Created: 08/10/08 03:05 PM   Updated: 11/13/08 11:50 PM
Component/s: Profiler
Security Level: Public (All JIRA Users )

File Attachments: 1. Zip Archive loading.zip (107 kb)
2. Zip Archive loading.zip (111 kb)


Severity: Runtime Error
Reproducibility: Every Time
Discoverability: Medium
Found in Version: 3.0.1 (Released)
Affected OS(s): All OS Platforms - All
Steps to Reproduce:
Steps to reproduce:
1. Run the attached code in the debug mode, you will see there is no RTE message.
2. Run the code in profiling mode, and a RTE message will pop up.
 
 Actual Results:

The following message pops up:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at ProfilerAgent/allCompleteHandler()[C:\faramir\flex\sdk\modules\profiler3\as\ProfilerAgent.as:293]

 
 
Expected Results:
 
For there to be no RTE message.
 
Workaround (if any):
 
This error seems to be happening when unload is called on the same frame that a file is loaded into. If you wait till the next frame before unloading, there is no issue with the profiler.

The file Fail.as will fail in profiling, the file WorkAround.as will work.


EDIT: Code was throwing a non related error so have fixed and re-uploaded (commented out the addChild).
Language Found: English
Bugbase Id: none
QA Owner: Kishan Venkataramana
Resolved by: Kishan Venkataramana
Participants: James Woodward and Kishan Venkataramana
Eclipse Configuration: FB Standalone
JDK: Sun 1.6.x


 All   Comments      Sort Order:
Kishan Venkataramana - [11/13/08 11:50 PM ]
This should be fixed in Flex 4. Unable to reproduce with the released Max build. Closing...