com.fasterxml.jackson.core.JsonParseException

Unrecognized token 'A': was expecting ('true', 'false' or 'null') at [Source: A new update (5.2.0-265) is available... Download with appc use 5.2.0-265 { "username": "fzandbergen@appcelerator.com", "org_name": "Appcelerator, Inc", "org_id": 14301 }; line: 1, column: 2]

Samebug tips4

You're inputing information in a way the Json Parser can't understand. This page might enlighten you a little: https://goo.gl/g5wrvy


rafaelrafael

Check if you forgot to set the "data" field inside your request. If you did set it, check if it's being serialized before sending, and if it's being serialized the right way.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web337

  • via Unknown by Fokke Zandbergen,
  • via Unknown by Fokke Zandbergen,
  • via Unknown by Alan Leard,
  • Stack trace

    • com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'A': was expecting ('true', 'false' or 'null') at [Source: A new update (5.2.0-265) is available... Download with appc use 5.2.0-265 { "username": "fzandbergen@appcelerator.com", "org_name": "Appcelerator, Inc", "org_id": 14301 }; line: 1, column: 2] at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1486) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:518) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._reportInvalidToken(ReaderBasedJsonParser.java:2300) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleOddValue(ReaderBasedJsonParser.java:1459) at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:683) at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3600) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3545) at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2134) at com.appcelerator.titanium.core.internal.cli.NodeAppcCLI.isLoggedIn(NodeAppcCLI.java:523) at com.appcelerator.titanium.core.user.TitaniumUserManager.hasSignedInUser(TitaniumUserManager.java:513) at com.appcelerator.titanium.core.user.TitaniumUserManager.addUserListener(TitaniumUserManager.java:626) at com.appcelerator.titanium.core.TitaniumCorePlugin$1.run(TitaniumCorePlugin.java:199) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    109 more bugmates