final Oauth2 userInfoService =
new Oauth2.Builder(new NetHttpTransport(), new JacksonFactory(), credential)
.setApplicationName(
ServiceManager.getService(AccountPluginInfoService.class).getUserAgent())
.build();
<BUG>ApplicationManager.getApplication().executeOnPooledThread(new Runnable() {
@Override
public void run() {
Userinfoplus userInfo = null;</BUG>
try {

final Oauth2 userInfoService =
new Oauth2.Builder(new NetHttpTransport(), new JacksonFactory(), credential)
.setApplicationName(
ServiceManager.getService(AccountPluginInfoService.class).getUserAgent())
.build();
ApplicationManager.getApplication()
.executeOnPooledThread(
() -> {
Userinfoplus userInfo = null;
try {
