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

java.lang.NullPointerException when rebootGuest is called #1318

Open
Dhanusha-Jeevan opened this issue Aug 12, 2020 · 1 comment
Open

java.lang.NullPointerException when rebootGuest is called #1318

Dhanusha-Jeevan opened this issue Aug 12, 2020 · 1 comment

Comments

@Dhanusha-Jeevan
Copy link

Hi,

java.lang.NullPointerException: null at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:770) ~[guava-20.0.jar:?] at org.openstack4j.openstack.compute.internal.ServerServiceImpl.reboot(ServerServiceImpl.java:211) ~[openstack4j-3.2.0.jar:?] at com.nsn.cpf.vManager.OpenStackImplV3.rebootGuest(OpenStackImplV3.java:120)

i am getting below error when serverID is passed to rebootGuest.

public void rebootGuest(String vmName) throws Exception { reConnect(); ActionResponse response = os.compute().servers().reboot(getIdByHostName(vmName), RebootType.SOFT); }

please suggest what could be the cause and help in resolving the issue.
Thanks in advance

@bboyHan
Copy link

bboyHan commented Nov 13, 2020

good issue. forked from https://github.com/openstack4j/openstack4j .

consider to solve it

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