Android Studio Licensing Save Feature Problem

09-18-2015 09:36 AM
by Anonymous User
Not applicable

Ever since importing a project Eclipse to Android Studio am now getting the following error when trying to save a feature in a local runtime geodatabase.  All other ESRI related functionality still seems to work.  Am using 10.2.6-2.  The error is as follows....

"An Error occurred: Attempt to use functionality that is not supported for the current level -3"

Anybody else run into this?  We are authenticating based on AGOL credentials.

0 Kudos
1 Reply
by Anonymous User
Not applicable

OK i verified this is not a code or Android Studio issue.  The timing is just a coincidence.  Issue is that this line of code crashes when accessing one AGOL organization on   Weirdly another organization I work for works just fine with the same line of code.  Verified credentials always correct.  Must be some sort of settings change within the AGOL Organization.

try {

    portalInfo = portal.fetchPortalInfo();

 } catch (Exception e) {

09-21 19:12:11.860  15208-16366/gov.s1.s1mobile I/Error﹕ java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equalsIgnoreCase(java.lang.String)' on a null object reference