netsuite-suitecloud-sdk icon indicating copy to clipboard operation
netsuite-suitecloud-sdk copied to clipboard

Manage Auth: Null pointer exception

Open thomasync opened this issue 1 year ago • 1 comments

Select the SuiteCloud tool where you encountered the issue

SuiteCloud CLI

Version of the SuiteCloud Tool

1.9.0

Operating system

Sonoma 14.6.1

Node Version / VSCode Version

v20.16.0

JAVA Version

openjdk 17.0.12+0

Bug description

When I try to get information about an authentication via its ID

Steps To Reproduce

  1. Listing
  • ❯ suitecloud account:manageauth --list 7967400_SB-Adm-Sand | Administrator @ Enterprise
  1. Get informations
  • ❯ suitecloud account:manageauth --info "7967400_SB-Adm-Sand | Administrator @ Enterprise" Internal error encountered (Null pointer exception).

  • ❯ suitecloud account:manageauth --info "7967400_SB-Adm-Sand" Internal error encountered (Null pointer exception).

Actual Output

No response

Expected Output

No response

Anything else?

No response

thomasync avatar Aug 27 '24 11:08 thomasync

@thomasync Did you upgrade to 2.0.0 and then downgraded back to 1.9.0?

alisyed-19 avatar Aug 29 '24 08:08 alisyed-19

@thomasync If you are using more that 1 suitecloud tools please upgrade them all to latest available versions. Delete the credentials file and generate a new authids. This should fix the problem.

alisyed-19 avatar Sep 02 '24 11:09 alisyed-19

Thank you ! The issue was that I was using SuiteCloud 1.9, but it was my WebStorm that created the credentials in 2.0.

thomasync avatar Sep 02 '24 12:09 thomasync