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

HZ_LICENSEKEY should not be defined if hazelcast.licenseKey and hazelcast.licenseKeySecretName are not defined #253

Closed
nosan opened this issue Nov 8, 2021 · 1 comment
Assignees

Comments

@nosan
Copy link
Contributor

nosan commented Nov 8, 2021

In Cloud, we are currently testing nlc image and we found an issue:

2021-11-03 15:17:56,708 [ INFO[] [main[] [c.h.i.c.AbstractConfigLocator[]: Using configuration file at /data/hazelcast/hazelcast.yaml
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: begin 0, end 5, length 0
    at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
    at java.base/java.lang.String.substring(String.java:1874)
    at com.hazelcast.internal.config.override.ExternalConfigurationOverride.lambda$overwrite$3(ExternalConfigurationOverride.java:89)
    at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
    at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
    at 


This happened because of the empty env variable HZ_LICESENKEY.

@hasancelik
Copy link
Collaborator

related to hazelcast/hazelcast#19849

nosan added a commit to nosan/charts that referenced this issue Nov 8, 2021
…t.licenseKey and hazelcast.licenseKeySecretName are not defined

hazelcastgh-253
nosan added a commit to nosan/charts that referenced this issue Nov 8, 2021
…t.licenseKey and hazelcast.licenseKeySecretName are not defined

hazelcastgh-253
nosan added a commit that referenced this issue Nov 9, 2021
Environment variable: HZ_LICENSEKEY should not be defined if hazelcast.licenseKey and hazelcast.licenseKeySecretName are not defined
@nosan nosan closed this as completed Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants