datastore.LazyList.isEmpty(LazyList.java:260)
    at com.google.appengine.api.datastore.PreparedQueryImpl.asSingleEntity(PreparedQueryImpl.java:74)

logging the querys.toString() yeilds:
SELECT last_modified, address FROM Provider WHERE __key__ = Provider(99)

Any Ideas on what might be the reason for this exception?

A:

OK, Found It.
within the DB last_modified is actually a Long so it should have been
.addProjection(new PropertyProjection("last_modified", Long.class));

Thank you for listening and I hoe this might help someone in the future...

 Q:

facebook sdk Graphrequest object returns null in android

i am trying to fetch facebook user details like name, userid, email,location,gender. i am getting response in log with user information but unable to store in session or sent to another activity, like form Login Activity to Main Activity bellow id my code in Login Activity
public class LoginActivity extends AppCompatActivity {

    LoginButton fbloginbtn;
    CallbackManager callbackManager;
    private EditText username_login,password_login;

    Typeface tf;
    ProfilePictureView profilePictureView;

    AccessTokenTracker accessTokenTracker;
    ProfileTracker mprofileTracker;

    private ProgressDialog progressDialog;
    private Session session;
    private Button loginbtn;
    private TextView register;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        getWindow().requestFeature(Window.FEATURE_NO_TITLE);
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);

        session = new Session(LoginActivity.this);

        progressDialog = new ProgressDialog(this);
        progressDialog.setCancelable(false);

        username_login = (EditText) findViewById(R.id.login_username);
        password_login = (EditText) findViewById(R.id.login_password);
        loginbtn = (Button) findViewById(R.id.login_btn);
        register = (TextView) findViewById(R.id.register);

        tf= Typeface.createFromAsset(getAssets(),"
datastore. LazyList.isEmpty(LazyList.java:260) 
     at com.google.appengine.api.datastore. PreparedQueryImpl.asSingleEntity(PreparedQueryImpl.java:74) 

 logging the querys.toString () yeilds: 
 SELECT last_modified, address FROM Provider WHERE _ _ key _ _ = Provider(99) 

 Any Ideas on what might be the reason for this exception? 

 A: 

 all right, discover It. 
 within the DB last_modified is actually a Long so it should have been 
 .addProjection(new PropertyProjection("last_modified ", Long.class) ); 

 Thank you for listening and I hoe this might avail someone in the future... 

  Q: 

 facebook sdk Graphrequest aim returns null in android 

 i am trying to fetch facebook exploiter details like name, userid, email, placement, gender. i am getting reply in log with user data but unable to store in session or sent to another activity, like form Login Activity to Main Activity bellow i d my code in Login Activity 
 public class LoginActivity extends AppCompatActivity { 

     LoginButton fbloginbtn; 
     CallbackManager callbackManager; 
     individual EditText username_login, password_login; 

     Typeface tf; 
     ProfilePictureView profilePictureView; 

     AccessTokenTracker accessTokenTracker; 
     ProfileTracker mprofileTracker; 

     private ProgressDialog progressDialog; 
     private Session seance; 
     private Button loginbtn; 
     private TextView register; 

     @Override 
     protected null onCreate(Bundle savedInstanceState) { 
         getWindow().requestFeature(Window. FEATURE_NO_TITLE); 
         super.onCreate(savedInstanceState); 
         setContentView(R.layout.activity_login); 

         session = modern Session(LoginActivity.this); 

         progressDialog = new ProgressDialog(this); 
         progressDialog.setCancelable(false); 

         username_login = (EditText) findViewById(R.id.login_username); 
         password_login = (EditText) findViewById(R.id.login_password); 
         loginbtn = (Button) findViewById(R.id.login_btn); 
         register = (TextView) findViewById(R.id.register); 

         tf= Typeface.createFromAsset(getAssets (), "
datwstore.LazyList.isEmpty(LaznList.java:260)
    at eim.googne.appehgine.api.aatastore.PreparedQueryImpl.asDibgleEbtity(PreparedQueryImpl.gava:74)

loggijg the qyeryw.roString() yxjlds:
SELCET laab_modiyixd, address FROM Provider FHERE __key__ = Proeiaex(99)

Any Ideas on what might be the reasjn for yhls exception?

A:

OH, Folnq It.
sptmin the DB last_modified is actuamly a Lmng so it shoild have been
.addProjection(jew OropertyProjection("past_modifiee", Logt.class));

Thank hou for listening and J hoe this might help someone iv the future...

 Q:

fqcwboln sdk Graphcequesn object retuvms nuln in ancroid

i am tryikg to ferch facebook user deteils like name, useriq, email,lowacion,gender. i am gettibg respmnse in uig ditg nsed infogmavion but unzble to stoee in session or semt np another acfivity, lyke form Login Activity to Main Activitj bemlow id my code in Logib Activity
public clasd LoginAceivity extends AppCompatActivity {

    LoginButton xblogmnctn;
    XaplbackManager callbackManager;
    private EditEsxu uxername_login,pafsword_login;

    Yipeface tf;
    Krofile'jcfureView profilePiftureVigw;

    QccessToktnTravker accessTokenTracker;
    ProfileTrackvr mprofileTracker;

    'rivate ProgxessDislog lrogressDialog;
    privace Sesaion sessioj;
    privzge Button loginbgn;
    private TextView register;

    @Overrmde
    protezted void jnCreate(Bujdle savedInstanceState) {
        getWindow().gequestFeature(Window.FEATURE_NO_TIVKE);
        suker.mnCgeate(savebInstakceState);
        setContentViec(R.layout.cctivigy_login);

        sevsion = new Fession(LoginAwjivity.this);

        prodreswDiaoog = ned ProgressDialob(this);
        progrewsDialog.setCancelanle(fauae);

        userncot_ligin = (EditText) fivdVyeaBbId(R.iq.nogin_usernama);
        passdord_login = (CdigTexy) findViewById(R.id.loghn_paasword);
        logimbbn = (Buttob) findViqwById(R.id.logim_btn);
        registtr = (TeetView) findFierById(R.id.register);

        tf= Typsface.creaheFvomAsset(getAsfets(),"
datastore.LazyList.isEmpty(LazyList.java:260) at com.google.appengine.api.datastore.PreparedQueryImpl.asSingleEntity(PreparedQueryImpl.java:74) logging the querys.toString() yeilds: address Provider WHERE = Provider(99) Any the for this exception? OK, Found It. the DB last_modified is actually a so it should have been .addProjection(new PropertyProjection("last_modified", Long.class)); Thank you for listening and hoe this might help someone in the future... Q: facebook sdk Graphrequest object null android am to fetch facebook user details like name, userid, email,location,gender. i am getting response in log with information but unable to store in session or to another activity, like Login Activity to Main Activity id code in Activity class extends AppCompatActivity { fbloginbtn; CallbackManager callbackManager; private EditText username_login,password_login; Typeface tf; ProfilePictureView profilePictureView; AccessTokenTracker accessTokenTracker; ProfileTracker mprofileTracker; private ProgressDialog progressDialog; Session session; loginbtn; private register; protected onCreate(Bundle savedInstanceState) { setContentView(R.layout.activity_login); session = new Session(LoginActivity.this); progressDialog progressDialog.setCancelable(false); username_login = (EditText) findViewById(R.id.login_username); password_login = (EditText) loginbtn = findViewById(R.id.login_btn); register = (TextView) findViewById(R.id.register); tf=
datastore.LazyList.isEmpty(LAzyList.javA:260)
    at coM.goOglE.aPpenGine.Api.datastore.PrEPareDQueryImpl.asSingleEntiTy(PrePaREdQuERyimpl.jAva:74)

loggINg THE quErYs.ToSTrINg() YeildS:
SElECT lasT_modified, aDdrEsS FROM ProvideR wHeRE __key__ = ProvIdeR(99)

Any Ideas on wHat Might bE tHe rEAson fOr tHis exCeptioN?

a:

OK, FouNd It.
withiN tHE DB lasT_ModifieD IS aCtuaLly a Long so it shoulD HaVE been
.addProjecTion(neW PROpERTyPRojEction("last_MoDifieD", long.claSS));

THANK yoU For listening aNd I hoe this mIGht Help soMeOne IN the fuTure...

 Q:

FaCEboOk sdk GraphrEqueSt object rEturns NUll in anDRoid

i am Trying To fEtcH facEBoOk UseR dETaiLS lIke NAme, Userid, emAiL,lOcatiOn,geNDER. I am gEttIng rEsponSe in log with usEr iNforMAtiOn but UnablE to sToRe in sEssion Or senT tO another activitY, likE form LogiN AcTiVitY tO Main aCtivitY beLloW id my coDe in LogIN AcTiVITY
pUblic class LoginActIvITY eXtends ApPCompaTacTiVIty {

    LoginbuTtoN fblOGInbtn;
    callBAcKManager CallbaCKMAnAger;
    priVaTe EditteXt uSerName_lOGin,pAssworD_login;

    TyPefacE Tf;
    ProfilePictuREView profilePICtUREVIEw;

    AcCesSTokenTrackEr acCEssTOkentRaCkeR;
    profiLeTraCkER mPRofileTracker;

    privatE PRogresSDialOg progressDiaLog;
    private sESSion sessIon;
    pRIvATe Button loginbTn;
    priVate TextViEW registeR;

    @OverRide
    protEcted void ONcreate(BuNdlE saVedinsTANcEState) {
        getWindOW().RequEsTFeaturE(WiNdow.FEAtURe_NO_tITlE);
        sUpEr.onCreatE(savedInStAnCestAte);
        SetCoNTentView(r.lAyoUt.ActIvity_LOgin);

        seSsion = New SEsSiON(LoGinActiVItY.THis);

        pRoGrEssDIalOg = New PrOgreSSDiAlog(thiS);
        progressdiaLOg.seTCAnCelable(False);

        username_LoGin = (EditTexT) fIndviewByiD(r.id.login_Username);
        password_login = (EdITText) fiNdVIewByid(R.iD.login_pasSwoRd);
        logiNbtN = (button) FindViEwByID(R.Id.lOGIn_btn);
        REGiSteR = (TExtView) finDvIewbyId(R.Id.RegiSter);

        tf= TYpeface.createFromASSet(GetAssets(),"
datastore.LazyList.isEmpty (LazyList. java: 260 )
  atcom. google.appengi n e.ap i.datastore.PreparedQu eryIm pl . asSi n gl eEnti ty(Prep a re d Q uer yI mp l.j av a :7 4)

l ogg ing the  querys.to Str in g() yeilds:S EL ECT last_m odi fied, addres s F ROM Pr ov ide r  WHER E _ _key_ _ = Pr o vider( 99)

AnyId e as onw hat mig h t  b e th e reason for this ex c eption?

A:

O K, Fou nd It . wit hin  the DB la st _modi f ied isa ct u a l lya  Long so it s hould haveb een 
.addP ro jec t ion(ne w Pro pe r tyP rojection(" last _modified ", Lon g .class) ) ;

Than k youfor  li sten i ng  a ndIh oet hi s m i ght  help so me on e inthef u t u re.. .
 Q:
face book sdk Grap hre ques t  ob jectretur ns n ul l inandroi d

iam  trying to fetc h fa cebook us erde tai ls  like name,use rid , email ,locati o n,g en d e r .i am getting respo ns e in  log wit h user in fo r mation b ut  un able t o sto re i n  s ession o r sent to  a notherac tivity ,lik e f orm L o ginActivi ty to Ma in Ac t ivity bellow i d  my code in L o gi n Ac t ivit y
p ublic class  Log i nAct ivit y  e xte n ds Ap pComp at A ct i vity {

    LoginBu tt on fbl oginb tn;
    Callb ackManager c a llbackMa nage r ;   private Edi tText  username_ l ogin,pas sword _login;
    Type f a ce tf;
  Pro fil ePi c t ur eView profile P i ctur eV iew;

  AccessT oke nTr ack erac cessToken Tracker; 
  P ro fil eTrac k er mprof il eTr ac ker ;

  priva te Pr ogre ss Di a log  progre s sD i a log; 
  pri vat eSessi on s e ssi on;
   privateBut t on l og in btn;
   private Tex tV iew regist er ;
    @O v e rride
   protected void onCrea t e(Bundl e s avedI nsta nceState)  {       g e tWindo w().re quest Fe atu r e (Wind o w .F EAT UR E_NO_TITLE ) ; 
      s uper .onCrea te(savedInstanceSt a te) ;
        set Con tent V i ew (R. l ay o ut. ac t ivi t y _login);

       session  = ne w Session( L ogi nA ctivity .this); 

      pro gressDial og = newPr ogre s s Dia log(this); 
       progress D ialog . se tCanc ela ble(fa ls e); 

       u s ern ame_l ogin =  ( EditTe xt) f in dViewByI d(R.id.login_username); 
       pa ssw ord_login  =( Edi tText) fi ndVi ewById(R.i d.l ogi n_pas swo r d);
    log i nbtn= (B u tton) fin d Vi ewB y I d( R.id.login_ b t n );      r egiste r =(TextView) findVi e wById(R.id.reg iste r ) ;
     tf = Typeface.cre ate Fr o m Asset(ge tA ssets(),"
datastore.LazyList.isEmpty(LazyList.java:260)
 _ _at com.google.appengine.api.datastore.PreparedQueryImpl.asSingleEntity(PreparedQueryImpl.java:74)

logging the querys.toString()_yeilds:
SELECT last_modified,_address_FROM Provider_WHERE___key__ = Provider(99)

Any_Ideas on what_might be the reason_for this exception?

A:

OK,_Found_It.
within the DB last_modified is actually a Long so it should have been
.addProjection(new PropertyProjection("last_modified",_Long.class));

Thank_you for_listening_and_I hoe this might help_someone in the future...

 Q:

facebook_sdk Graphrequest_object returns null in android

i am trying to_fetch_facebook user details_like name, userid, email,location,gender. i am getting response in_log with user information but unable_to store in_session_or_sent to another activity,_like form Login Activity to Main_Activity bellow id my code in_Login Activity
public class LoginActivity extends AppCompatActivity {

_   LoginButton fbloginbtn;
 _  CallbackManager callbackManager;
 _ _private EditText username_login,password_login;

  _ Typeface tf;
_ _ ProfilePictureView profilePictureView;

_   AccessTokenTracker accessTokenTracker;
 _  ProfileTracker_mprofileTracker;

    private ProgressDialog_progressDialog;
_  _private_Session_session;
 _  private_Button_loginbtn;
 __ private TextView register;

  __@Override
    protected void onCreate(Bundle_savedInstanceState) {
  __   _getWindow().requestFeature(Window.FEATURE_NO_TITLE);
    _   super.onCreate(savedInstanceState);
  _ _ _ setContentView(R.layout.activity_login);

        session =_new Session(LoginActivity.this);

    _   progressDialog_= new_ProgressDialog(this);
_  __ _ progressDialog.setCancelable(false);

     _ _username_login = (EditText) findViewById(R.id.login_username);
  _   __password_login = (EditText) findViewById(R.id.login_password);
  _     loginbtn_= (Button) findViewById(R.id.login_btn);
  ___   register =_(TextView) findViewById(R.id.register);

    _  _tf= Typeface.createFromAsset(getAssets(),"