I have recently upgraded from Flex SDK 3.3 to SDK 3.4. Now I suddenly get this error message throughout the application:

TypeError: Error #1009: Cannot access a property or method of a null object reference.     
at mx.managers::FocusManager/focusInHandler()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\managers\FocusManager.as:601] 

It occurs fairly at random, but most often when I click on a tab in a tabNavigator.

The problem is fixed when I add the attribute 'focussable="false"' to the tabNavigator,

but I'd like to keep the tabNavigator focussable, and I definately can't make all the elements in my app unfocussable.
Someone told me that this is a bug in the SDK. Is that true? If so, is there a workaround other than 'focussable="false"'?

解决办法是 'focussable="false"

相关文章:

  • 2021-06-05
  • 2021-08-26
  • 2021-06-14
  • 2021-10-25
  • 2022-01-24
  • 2021-09-02
  • 2021-08-31
  • 2021-10-21
猜你喜欢
  • 2022-01-07
  • 2021-04-09
  • 2021-09-25
  • 2021-05-30
  • 2021-09-26
  • 2022-02-15
  • 2022-12-23
相关资源
相似解决方案