I have a little app I started putting together under Intellij-14. It compiled and ran there. When I updated to 15, I started getting NotNull Instrumentation errors for all of the classes. The error message simply states that the class failed -- there is no indication of a specific method, member, or variable. I have add annotations to the project library and changed the compile options to point to them. I have run "infer nullity" and "run inspection by name" trying to find out where I have gone wrong to no avail. Since this is my first attempt at using GUI elements, I am probably making some very basic mistakes. For example:
public class lguiException extends Exception {
private String msg = " ";
public String GetLearnGUIMsg(){
return(msg);
}
public void SetLearnGUIMsg(String instr){
msg = instr;
}
public void HandleLearnGUIExceps(){
System.out.println(msg);
}
}
produces the error:
Error:NotNull instrumentation: @NotNull instrumentation failed for lguiException.java: com.intellij.compiler.notNullVerification.NotNullVerifyingInstrumenter.processClassFile(Lorg/jetbrains/org/objectweb/asm/ClassReader;Lorg/jetbrains/org/objectweb/asm/ClassVisitor;)Z
The infer nullity preview says there is nothing to be annotated here and the code inspection comes up clean. So where do I start?