I think this has to do with the fact that the frankenstein's monster of a merge tree doesn't have all references correctly set. When an instanceof operator is found, the DefaultJavaPrettyPrinter tries to force printing of wildcards. That causes a crash when looking up the nested class' supertype.
I haven't been able to pinpoint the cause of this behavior, however, and have been unable to produce a minimal example that recreates the behavior.
I think this has to do with the fact that the frankenstein's monster of a merge tree doesn't have all references correctly set. When an
instanceofoperator is found, theDefaultJavaPrettyPrintertries to force printing of wildcards. That causes a crash when looking up the nested class' supertype.I haven't been able to pinpoint the cause of this behavior, however, and have been unable to produce a minimal example that recreates the behavior.