[TIMOB-24696] Uncaught exception thrown when running appc ti info or ti info
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Cannot Reproduce |
| Resolution Date | 2019-05-24T21:26:06.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | CLI |
| Labels | cli, titanium, titanium-cli |
| Reporter | Brenton House |
| Assignee | Unknown |
| Created | 2017-05-10T14:29:42.000+0000 |
| Updated | 2019-05-24T21:26:06.000+0000 |
Description
When running either
appc ti info or ti info I am getting the following error:
{noformat}
-An uncaught exception was thrown!
Cannot convert undefined or null to object
Cannot convert undefined or null to object
{noformat}
Please run the following command from terminal : sudo rm -rf ~/.appcelerator sudo rm -rf ~/.titanium sudo npm uninstall -g titanium sudo npm uninstall -g appcelerator sudo npm install -g appcelerator appc use latest appc setup Thanks.
Any update on this?
Hello, I believe you have updated your SDK to 6.0.4.GA through automatic update process through studio? well, I had a similar issue once before by updating sdk through automatic update process through studio. What had worked for me is, I removed the SDK folder from the sdk directory and try manually downloading the SDK. Link: http://builds.appcelerator.com/mobile-releases/6.0.4/mobilesdk-6.0.4.GA-osx.zip and install it through studio/help/install Appcelerator SDK and browse through the file. This might work. Thanks.
I don't use studio. I will try to uninstall 6.0.4 and reinstall it though.
I removed and reinstalled 6.0.4. Same error.
I think, there is a error in parsing old platforms/addons/sdk information. Removing "addon-google_apis-google-16" from "$ANDROID_SDK/add-ons" solved this problem for me.
[~brentonhouse] [~s.volkov] If either of you are still able to reproduce this on 6.0.4.GA, could you please see whether you are able to reproduce on 6.1.0.GA, reviewing the stack trace and the error I believe this could have been fixed in TIMOB-24681
I am unable to reproduce this issue with the following environment; Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Xcode 8.2 (8C38) Node v4.8.2 [~brentonhouse] Can you still reproduce this issue?
[~brentonhouse] Can we close this issue?
[~ahutton] - I believe we can. I haven't seen this issue in a long time
Closing per dev comments.