Skip to content

OWLS-71579 - NPE in admin server log #896

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

Merged
merged 5 commits into from
Feb 21, 2019
Merged

OWLS-71579 - NPE in admin server log #896

merged 5 commits into from
Feb 21, 2019

Conversation

alai8
Copy link
Member

@alai8 alai8 commented Feb 21, 2019

The NPE in admin server log is caused by ServerChannel.getPublicInetAddress().getAddress() being null where the channel is the T3Channel as configured in the sample create-domain.sh scripts, which is configured using the default t3PublicAddress input parameter value of “kubernetes”. The address “kubernetes” fails to be resolved to an IP address if there is no service such as the following in the same namespace where the domain is located:

$ kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.96.0.1 443/TCP 2d

Both the domain home in image and the domain home on pv create domain samples are updated:

  • remove “kubernetes” as the default value for the t3PublicAddress field in the create-domain-inputs.yaml file
  • t3PublicAddress field is now optional. if customer does not provide a value, t3PublicAddress is defaulted to the IP address of the kubernetes cluster, as obtained using the existing getKubernetesClusterIP function in utility.sh
  • README.md is updated to reflect the changes to t3PublicAddress

pass jenkins http://****/job/weblogic-kubernetes-operator-javatest/1082

@rjeberhard rjeberhard merged commit 3aa2fa1 into develop Feb 21, 2019
@alai8 alai8 deleted the owls-71579 branch February 23, 2019 01:33
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

Successfully merging this pull request may close these issues.

2 participants