I recently had a somewhat similar problem. Maybe the solution is the same: Try commenting out the creation of the component in the constructor, compile, uncomment again and recompile.
I recently had a somewhat similar problem. Maybe the solution is the same: Try commenting out the creation of the component in the constructor, compile, uncomment again and recompile.