Warning: include() [function.include]: Unable to access /var/www/html/rogue-development/blog2/wp-content/advanced-cache.php in /var/www/html/rogue-development/blog2/wp-settings.php on line 62

Warning: include(/var/www/html/rogue-development/blog2/wp-content/advanced-cache.php) [function.include]: failed to open stream: No such file or directory in /var/www/html/rogue-development/blog2/wp-settings.php on line 62

Warning: include() [function.include]: Failed opening '/var/www/html/rogue-development/blog2/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/rogue-development/blog2/wp-settings.php on line 62

Notice: add_option was called with an argument that is deprecated since version 2.3 with no alternative available. in /var/www/html/rogue-development/blog2/wp-includes/functions.php on line 3468

Notice: register_sidebar_widget is deprecated since version 2.8! Use wp_register_sidebar_widget() instead. in /var/www/html/rogue-development/blog2/wp-includes/functions.php on line 3382

Notice: register_widget_control is deprecated since version 2.8! Use wp_register_widget_control() instead. in /var/www/html/rogue-development/blog2/wp-includes/functions.php on line 3382
Mysterious flex compiler error « Marc’s Musings

Mysterious flex compiler error

1119: Access of possibly undefined property someOtherMember through a reference with static type SecondClass …

Sometimes, the flex compiler just decides to start throwing this error around. It’s usually on a line such as:

SomeClass.someMember.someOtherMember = “Hi”;

With some simple definitions like…

class SomeClass
{
public static var someMember:SecondClass;
}

class SecondClass
{
public var someOtherMember:String;
}

A clean-build will often make the reported error go away. But sometimes it won’t. The error will start happening at seemingly random times when I’ve been working on completely unrelated sections of the code. One compile everything is fine, then the next it just starts complaining when nothing related was changed.

It happens in FB2, FB3 (using the FB2 SDK), and when compiling from the command line using the FB2 SDK. I haven’t seen it using the FB3 SDK, but that doesn’t help me since it happens fairly infrequently.

This is a compile-time error, not a run-time error, so it has nothing to do with variables not being initialized. There’s no other errors (or even warnings for that matter) in the project.

1 Response to “Mysterious flex compiler error”


Comments are currently closed.