Problem found: Pattern cannot be null