Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StringIndexOutOfBoundsException with multiple expressions #4

Closed
rbygrave opened this issue Apr 8, 2020 · 0 comments
Closed

StringIndexOutOfBoundsException with multiple expressions #4

rbygrave opened this issue Apr 8, 2020 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rbygrave
Copy link
Contributor

rbygrave commented Apr 8, 2020

Failing test case

statusPageUrl=https://${eureka.instance.hostname}:${server.port}/status
java.lang.StringIndexOutOfBoundsException: begin 17, end 15, length 51

	at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3720)
	at java.base/java.lang.String.substring(String.java:1909)
	at io.avaje.config.load.CoreExpressionEval$EvalBuffer.parseForDefault(CoreExpressionEval.java:164)
	at io.avaje.config.load.CoreExpressionEval$EvalBuffer.evalNext(CoreExpressionEval.java:209)
	at io.avaje.config.load.CoreExpressionEval$EvalBuffer.process(CoreExpressionEval.java:214)
	at io.avaje.config.load.CoreExpressionEval.eval(CoreExpressionEval.java:102)
	at io.avaje.config.load.CoreExpressionEval.eval(CoreExpressionEval.java:62)
	at io.avaje.config.load.LoadContext.evalAll(LoadContext.java:129)
	at io.avaje.config.load.Loader.eval(Loader.java:238)
	at io.avaje.config.load.LoaderTest.loadProperties(LoaderTest.java:72)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant