Objects like Packages and procedures become invalid after there is some compilation error found. The Pl SQL compiler invalidates the objects. Any program already using it will throw an error.