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

[BUG] Leaving load_balancer flag unset or set to boolean true/false causes null pointer exception #24174

Closed
ajcaldera1 opened this issue Sep 27, 2024 · 2 comments
Assignees
Labels
area/ecosystem Label for all ecosystem related projects kind/bug This issue is a bug priority/highest Highest priority issue

Comments

@ajcaldera1
Copy link
Contributor

ajcaldera1 commented Sep 27, 2024

Jira Link: DB-13061

Description

After upgrading from 42.3.5-yb-6 to 42.3.5-yb-7 of the PGJDBC driver:

14:40:18    org.testcontainers.containers.ContainerLaunchException: Container startup failed for image docker-public.repo.viacom.com/yugabytedb/yugabyte:2.20.4.0-b50
14:40:18  
14:40:18    Caused by: org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
14:40:18  
14:40:18    Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
14:40:18  
14:40:18    Caused by: org.rnorth.ducttape.TimeoutException: Timeout waiting for result with exception
14:40:18  
14:40:18    Caused by: java.lang.RuntimeException: java.sql.SQLException: Could not create new connection
14:40:18  
14:40:18    Caused by: java.sql.SQLException: Could not create new connection
14:40:18  
14:40:18    Caused by: com.yugabyte.util.PSQLException: Something unusual has occurred to cause the driver to fail. Please report this exception.
14:40:18  
14:40:18    Caused by: java.lang.NullPointerException: Cannot invoke "com.yugabyte.ysql.LoadBalanceService$LoadBalanceType.name()" because "this.loadBalance" is null```


### Issue Type

kind/bug

### Warning: Please confirm that this issue does not contain any sensitive information

- [X] I confirm this issue does not contain any sensitive information.

[DB-13061]: https://yugabyte.atlassian.net/browse/DB-13061?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
@ajcaldera1 ajcaldera1 added area/ecosystem Label for all ecosystem related projects status/awaiting-triage Issue awaiting triage labels Sep 27, 2024
@ajcaldera1 ajcaldera1 added this to YSQL Sep 27, 2024
@github-project-automation github-project-automation bot moved this to Backlog in YSQL Sep 27, 2024
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Sep 27, 2024
@ajcaldera1 ajcaldera1 added priority/highest Highest priority issue and removed priority/medium Medium priority issue labels Sep 27, 2024
@yugabyte-ci yugabyte-ci removed the status/awaiting-triage Issue awaiting triage label Sep 27, 2024
@ashetkar ashetkar moved this from Backlog to In progress in YSQL Sep 27, 2024
@github-project-automation github-project-automation bot moved this from In progress to Done in YSQL Oct 14, 2024
@ashetkar
Copy link
Contributor

@ajcaldera1 Is it okay to change the title to just Leaving load_balancer flag unset causes null pointer exception? The NPE does not show up if it is set to any valid values.

@ajcaldera1
Copy link
Contributor Author

ajcaldera1 commented Oct 14, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ecosystem Label for all ecosystem related projects kind/bug This issue is a bug priority/highest Highest priority issue
Projects
Status: Done
Development

No branches or pull requests

3 participants