Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24696] Uncaught exception thrown when running appc ti info or ti info

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionCannot Reproduce
Resolution Date2019-05-24T21:26:06.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCLI
Labelscli, titanium, titanium-cli
ReporterBrenton House
AssigneeUnknown
Created2017-05-10T14:29:42.000+0000
Updated2019-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}

Comments

  1. Sharif AbuDarda 2017-05-11

    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.
  2. Brenton House 2017-05-11

  3. Brenton House 2017-05-12

    Any update on this?
  4. Sharif AbuDarda 2017-05-12

    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.
  5. Brenton House 2017-05-12

    I don't use studio. I will try to uninstall 6.0.4 and reinstall it though.
  6. Brenton House 2017-05-12

    I removed and reinstalled 6.0.4. Same error.
  7. Sergey Volkov 2017-06-09

    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.
  8. Ewan Harris 2017-06-09

    [~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
  9. Lee Morris 2017-07-12

    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?
  10. Alan Hutton 2019-05-24

    [~brentonhouse] Can we close this issue?
  11. Brenton House 2019-05-24

    [~ahutton] - I believe we can. I haven't seen this issue in a long time
  12. Alan Hutton 2019-05-24

    Closing per dev comments.

JSON Source