JetBrains/intellij-community · error · ConfigurationException
error.compiler.configurable.malformed.patterns
error.compiler.configurable.malformed.patterns
Error message
The following resource patterns are malformed:
{0} What it means
Error "The following resource patterns are malformed: {0}" thrown in JetBrains/intellij-community.
Source
Thrown at java/compiler/impl/src/com/intellij/compiler/options/CompilerUIConfigurable.java:60
try {
configuration.addResourceFilePattern(namePattern);
}
catch (MalformedPatternException e) {
errors.add(new String[]{namePattern, e.getLocalizedMessage()});
}
}
if (!errors.isEmpty()) {
final StringBuilder patternsWithError = new StringBuilder();
for (final Object error : errors) {
String[] pair = (String[])error;
patternsWithError.append("\n");
patternsWithError.append(pair[0]);
patternsWithError.append(": ");
patternsWithError.append(pair[1]);
}
throw new ConfigurationException(
JavaCompilerBundle.message("error.compiler.configurable.malformed.patterns", patternsWithError.toString()),
JavaCompilerBundle.message("bad.resource.patterns.dialog.title")
);
}
}
}
View on GitHub (pinned to be881553f2)
Solutions
- Correct the resource patterns in Settings | Build, Execution, Deployment | Compiler | Resource patterns.
- Use semicolon-separated wildcard patterns such as ?*.properties;?*.xml without malformed segments.
Example fix
?*.properties;?*.xml;?*.gif;?*.png;?*.jpeg;?*.jpg;?*.html;?*.dtd;?*.tld;?*.ftl
When it happens
Trigger: The compiler resource pattern list contains entries that are not valid wildcard patterns.
Common situations: Hand-entered resource patterns containing illegal characters, empty segments, or malformed wildcards in the Compiler settings.
Understand the failure class
- Parsing and encoding errors: unexpected token, malformed input — why parsers reject input and how to find the real culprit.
AI-assisted analysis of JetBrains/intellij-community@be881553f2 (2026-08-14).
Data as JSON: /api/errors/efdef4d76444e9b7.
Report an issue: GitHub.