AbstractPropertyResolver.resolveNestedPlaceholders() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
Javadoc
Thrown to indicate that a method has been passed an illegal or inappropriate argument. @author unascribed @since JDK1.0
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue
(source)
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders
(source)
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders
(source)
at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders
(source)
at org.springframework.core.env.AbstractPropertyResolver.resolveNestedPlaceholders
(source)
4 frames hidden

Typical Exception Messages

  1. Could not resolve placeholder 'project.version' in string value "${project.version}"
  2. Could not resolve placeholder 'PWD/#$HOME/~' in string value "echo -ne "\033]0;${PWD/#$HOME/~}\007""
  3. Could not resolve placeholder 'mvn.databaseBean' in string value "${mvn.databaseBean}"
  4. Could not resolve placeholder 'projeto.pdv.database.jdbc.url' in string value "${projeto.pdv.database.jdbc.url}"
  5. Could not resolve placeholder 'maven.build.timestamp' in string value "${maven.build.timestamp}"
  6. Could not resolve placeholder 'POLARIS_SITE_ID' in string value "${POLARIS_SITE_ID}"
  7. Could not resolve placeholder 'spring.profiles.to.active' in string value "${spring.profiles.to.active}"
  8. Could not resolve placeholder 'stubrunner.runningstubs.myDependency-contracts.port' in string value "{'get_myDependency':'http://localhost:${stubrunner.runningstubs.myDependency-contracts.port}/myDependency/s2s/v1/v1/myDependencys/{myDependencyId}', 'post_myDependency': 'http://localhost:${stubrunner.runningstubs.myDependency-contracts.port}/myDependency/s2s/v1/v1/myDependencys', 'delete_myDependency':'http://localhost:${stubrunner.runningstubs.myDependency-contracts.port}/myDependency/s2s/v1/v1/myDependencys/{myDependencyId}' }"
  9. Could not resolve placeholder 'HOSTNAME' in string value "/var/log/hotwire/feedback/${ENVIRONMENT:local}/${ENVIRONMENT_TYPE:permanent}/${IMAGE_TAG:latest}/${HOSTNAME}/${CONTAINER_NAME}"
  10. Could not resolve placeholder 'HOME' in value "${HOME}/leafer-sfl4j.log"

Origin

AbstractPropertyResolver.resolveRequiredPlaceholders() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
3 frames hidden
org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders
70Web pages

Similar

Specific cases

External results for this pattern (13)

  1. sebastiendementenvia GitHub20 hours ago
    Could not resolve placeholder 'MANAGEMENT_PORT' in value "${MANAGEMENT_PORT}"
    Show stack trace
  2. samko635via GitHub3 weeks ago
    Could not resolve placeholder 'MESSENGER_APP_SECRET' in string value "${MESSENGER_APP_SECRET}"
    Show stack trace
  3. vulncheckervia GitHub2 months ago
    Could not resolve placeholder 'pom.version' in string value "${pom.version}"
    Show stack trace
  4. tarovia Stack Overflow2 months ago
    Could not resolve placeholder 'spring.embedded.kafka.brokers' in value "${spring.embedded.kafka.brokers}"
    Show stack trace
  5. Unknown authorvia egovernments.org2 months ago
    Could not resolve placeholder 'maven.build.timestamp' in string value "${maven.build.timestamp}"
    Show stack trace
  6. default-errorvia GitHub3 months ago
    Could not resolve placeholder 'DATAGATE_MONGO_USER' in value "${DATAGATE_MONGO_USER}"
    Show stack trace
  7. JessonYuevia GitHub6 months ago
    Could not resolve placeholder '盲陆聽莽職聞tomcat猫路炉氓戮聞' in string value "${盲陆聽莽職聞tomcat猫路炉氓戮聞}/webapps/patch-manager-static"
    Show stack trace
  8. Arefevia Stack Overflow8 months ago
    Could not resolve placeholder 'BASE' in value "${BASE}"
    Show stack trace
  9. zkh26via GitHub1 year ago
    Could not resolve placeholder 'HOME' in value "${HOME}/leafer-sfl4j.log"
    Show stack trace
  10. jot-hubvia GitHub1 year ago
    Could not resolve placeholder 'stubrunner.runningstubs.myDependency-contracts.port' in string value "{'get_myDependency':'http://localhost:${stubrunner.runningstubs.myDependency-contracts.port}/myDependency/s2s/v1/v1/myDependencys/{myDependencyId}', 'post_myDependency': 'http://localhost:${stubrunner.runningstubs.myDependency-contracts.port}/myDependency/s2s/v1/v1/myDependencys', 'delete_myDependency':'http://localhost:${stubrunner.runningstubs.myDependency-contracts.port}/myDependency/s2s/v1/v1/myDependencys/{myDependencyId}' }"
    Show stack trace