{"record":{"id":"efdef4d76444e9b7","repo":"JetBrains/intellij-community","slug":"error-compiler-configurable-malformed-patterns","errorCode":"error.compiler.configurable.malformed.patterns","errorMessage":"The following resource patterns are malformed:\n{0}","messagePattern":"The following resource patterns are malformed:\n(.+?)","errorType":"validation","errorClass":"ConfigurationException","httpStatus":null,"severity":"error","filePath":"java/compiler/impl/src/com/intellij/compiler/options/CompilerUIConfigurable.java","lineNumber":60,"sourceCode":"      try {\n        configuration.addResourceFilePattern(namePattern);\n      }\n      catch (MalformedPatternException e) {\n        errors.add(new String[]{namePattern, e.getLocalizedMessage()});\n      }\n    }\n\n    if (!errors.isEmpty()) {\n      final StringBuilder patternsWithError = new StringBuilder();\n      for (final Object error : errors) {\n        String[] pair = (String[])error;\n        patternsWithError.append(\"\\n\");\n        patternsWithError.append(pair[0]);\n        patternsWithError.append(\": \");\n        patternsWithError.append(pair[1]);\n      }\n\n      throw new ConfigurationException(\n        JavaCompilerBundle.message(\"error.compiler.configurable.malformed.patterns\", patternsWithError.toString()),\n        JavaCompilerBundle.message(\"bad.resource.patterns.dialog.title\")\n      );\n    }\n  }\n}\n","sourceCodeStart":42,"sourceCodeEnd":67,"githubUrl":"https://github.com/JetBrains/intellij-community/blob/be881553f2a76ac8b4ea53950d93f0de78295c19/java/compiler/impl/src/com/intellij/compiler/options/CompilerUIConfigurable.java#L42-L67","documentation":"Error \"The following resource patterns are malformed:\n{0}\" thrown in JetBrains/intellij-community.","triggerScenarios":"The compiler resource pattern list contains entries that are not valid wildcard patterns.","commonSituations":"Hand-entered resource patterns containing illegal characters, empty segments, or malformed wildcards in the Compiler settings.","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."],"exampleFix":"?*.properties;?*.xml;?*.gif;?*.png;?*.jpeg;?*.jpg;?*.html;?*.dtd;?*.tld;?*.ftl","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"be881553f2a76ac8b4ea53950d93f0de78295c19","analyzedAt":"2026-08-14T14:13:06.425Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}