I am testing Force.com CLI. I can autenticate but any else. I get this error in OSX- El capitan
panic: runtime error: invalid memory address or nil pointer dereference
http://screencast.com/t/K87zZbHUFfj
Any idea?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityI am testing Force.com CLI. I can autenticate but any else. I get this error in OSX- El capitan
panic: runtime error: invalid memory address or nil pointer dereference
http://screencast.com/t/K87zZbHUFfj
Any idea?
The error message you received is not exclusive to the Force.com CLI, but it is due to the program attempting to access an invalid memory address or dereferencing a nil pointer and Go (the language the program is written in) throwing a runtime error.
According to the screenshot in your post, you receive the following error message after attempting to run the force log
command:
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x2b9d9]
According to the Go Documentation, the signal 0xb
represents a SIGSEGV
(segmentation violation).
Some common causes of this type of runtime error include:
One user had a similar problem when attempting to use the Force.com CLI on OS X El Capitan and was able to resolve the issue by changing the permissions on ~/.force/current/account
to be readable by the current user, rather than just the root user.
Apex
orLightning
as far as I can tell. Somewhat humorous that the error message commands you to panic though.