Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

cloud build failing with (java.lang.NumberFormatException: For input string: "$[secret:elasticsearch/port]")

Avatar

Avatar
Ignite 10
Level 4
TB3dock
Level 4

Likes

34 likes

Total Posts

203 posts

Correct Reply

4 solutions
Top badges earned
Ignite 10
Boost 25
Give Back 25
Validate 10
Validate 1
View profile

Avatar
Ignite 10
Level 4
TB3dock
Level 4

Likes

34 likes

Total Posts

203 posts

Correct Reply

4 solutions
Top badges earned
Ignite 10
Boost 25
Give Back 25
Validate 10
Validate 1
View profile
TB3dock
Level 4

10-06-2021

09.06.2021 21:16:15.253 *ERROR* [FelixLogListener] org.apache.jackrabbit.oak.plugins.index.elastic.ElasticIndexProviderService bundle org.apache.jackrabbit.oak-search-elastic:1.39.0.R1887543 (135)[org.apache.jackrabbit.oak.plugins.index.elastic.ElasticIndexProviderService(226)] : The activate method has thrown an exception (java.lang.NumberFormatException: For input string: "$[secret:elasticsearch/port]")
java.lang.NumberFormatException: For input string: "$[secret:elasticsearch/port]"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)

 

Any ideas?

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Boost 5
Level 5
Ritesh_M
Level 5

Likes

75 likes

Total Posts

67 posts

Correct Reply

19 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile

Avatar
Boost 5
Level 5
Ritesh_M
Level 5

Likes

75 likes

Total Posts

67 posts

Correct Reply

19 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Applaud 5
Affirm 1
View profile
Ritesh_M
Level 5

10-06-2021

@TB3dock 

 

We get NumberFormatException, which is an unchecked exception when String cannot be converted to a number type.
You can check either through debugger or put logger to check value of  "$[secret:elasticsearch/port]".