Any of base, ours, theirs could be null if that NonNoteEntry doesn't exist... causing the conflict to NPE.

You need something similar to noteOn here:

  private static String name(NonNoteEntry e) {
    return e != null ? e.name() : "";
  }