I know this error message, but why the stator ?!
The constructor context is not static, but you explicitly called the method splitin a static context when you qualified it using the class name; those. String.split(...).
You should probably write this:
String[] components = identifier.split("\nNEW");
which calls the method in the (non-stationary) context of the object Stringpassed as identifier; that is, it indicates which line should be split.