// it should be already reported, but we report with INFO just in case
StringBuildermessage=newStringBuilder("There was a problem reporting unmarshalling field errors");
Levellevel=Level.WARNING;
if(tinstanceofIllegalStateException&&t.getMessage().contains("Expected 1 instance of "+OldDataMonitor.class.getName())){
message.append(". Make sure this code is executed after InitMilestone.EXTENSIONS_AUGMENTED stage, for example in Plugin#postInitialize instead of Plugin#start");
level=Level.INFO;// it was reported when getting the singleton for OldDataMonitor
}
// it should be already reported, but we report with INFO just in case