No.
You cannot just go back to the middle of the method.
If you do not want to copy-paste the code there (a good call!), You should put the general code in a separate method that your subclass can call.
Or you could put a part that can throw a NullPointerException into a separate method and override it in a subclass (so that it no longer throws).
But due to another instance in SubClass this problem may occur.
Perhaps you can get around the exception altogether by changing the way you create this instance? Maybe this is a "dummy object" for a thing that is currently null ? Something that does nothing harmful but prevents an exception?
source share