You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public static final String KEYSTONE_AUTH_URL = "http://xxx.xxx.xxx.xxx:35357/v3";
public static final String KEYSTONE_USERNAME = "admin";
public static final String KEYSTONE_PASSWORD = "********";
Keystone keystone = new Keystone(ExamplesConfiguration.KEYSTONE_AUTH_URL);
//access with unscoped token
Access access = keystone.tokens().authenticate(
new UsernamePassword(ExamplesConfiguration.KEYSTONE_USERNAME, ExamplesConfiguration.KEYSTONE_PASSWORD))
.execute();
Exception in thread "main" java.lang.NullPointerException
at com.woorea.openstack.base.client.OpenStackClient.request(OpenStackClient.java:51)
at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:66)
at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:98)
at com.woorea.openstack.examples.keystone.KeystoneCreateTenant.main(KeystoneCreateTenant.java:21)
why?
The text was updated successfully, but these errors were encountered:
public static final String KEYSTONE_AUTH_URL = "http://xxx.xxx.xxx.xxx:35357/v3";
public static final String KEYSTONE_USERNAME = "admin";
public static final String KEYSTONE_PASSWORD = "********";
Keystone keystone = new Keystone(ExamplesConfiguration.KEYSTONE_AUTH_URL);
//access with unscoped token
Access access = keystone.tokens().authenticate(
new UsernamePassword(ExamplesConfiguration.KEYSTONE_USERNAME, ExamplesConfiguration.KEYSTONE_PASSWORD))
.execute();
Exception in thread "main" java.lang.NullPointerException
at com.woorea.openstack.base.client.OpenStackClient.request(OpenStackClient.java:51)
at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:66)
at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:98)
at com.woorea.openstack.examples.keystone.KeystoneCreateTenant.main(KeystoneCreateTenant.java:21)
why?
The text was updated successfully, but these errors were encountered: