mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Diagnostics for NSME (EA-39972) broken - CodeSource can be null (EA-43103 - NPE: CompactSyntaxLexerAdapter.createTokenManager)
This commit is contained in:
+2
-2
@@ -199,8 +199,8 @@ public class CompactSyntaxLexerAdapter extends LexerBase {
|
||||
final Class<CompactSyntaxTokenManager> managerClass = CompactSyntaxTokenManager.class;
|
||||
LOG.error("Unsupported version of RNGOM in classpath", e,
|
||||
"Actual parameter types: " + Arrays.toString(managerClass.getConstructors()[0].getParameterTypes()),
|
||||
"Location of " + managerClass.getName() + ": " + managerClass.getProtectionDomain().getCodeSource().getLocation(),
|
||||
"Location of " + CharStream.class.getName() + ": " + CharStream.class.getProtectionDomain().getCodeSource().getLocation());
|
||||
"Location of " + managerClass.getName() + ": " + managerClass.getProtectionDomain().getCodeSource(),
|
||||
"Location of " + CharStream.class.getName() + ": " + CharStream.class.getProtectionDomain().getCodeSource());
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user