About the author

Akshay Raj

View all posts

42 Comments

  • im using wampserver installed on my laptop and internet connected by wifi, for url i used ip address 192.168.1.2:8080 (refer to ipconfig). but when i try to RESEND CODE i got error message Json error:value

  • The first user is created perfectly, but when I try to register the second user it says “Database Error2. Please Try Again!”. I removed the first user from the mysql db and it again registered the 1st user and again an error on registering the 2nd user.

      • Thank you man!
        Am having an error trying to register;
        java.lang.NullPointerException: Attempt to invoke virtual method ‘void com.waynem.kejaapp.MyApplication.addToRequestQueue(com.android.volley.Request, java.lang.String)’ on a null object reference
        Help me

        • 02-19 12:26:52.473 10195-10195/com.waynem.kejaapp E/AndroidRuntime: FATAL EXCEPTION: main
          Process: com.waynem.kejaapp, PID: 10195
          java.lang.NullPointerException: Attempt to invoke virtual method ‘void com.waynem.kejaapp.MyApplication.addToRequestQueue(com.android.volley.Request, java.lang.String)’ on a null object reference
          at com.waynem.kejaapp.RegisterActivity.registerUser(RegisterActivity.java:163)
          at com.waynem.kejaapp.RegisterActivity.access$300(RegisterActivity.java:32)
          at com.waynem.kejaapp.RegisterActivity$1.onClick(RegisterActivity.java:75)
          at android.view.View.performClick(View.java:4848)
          at android.view.View$PerformClick.run(View.java:20262)
          at android.os.Handler.handleCallback(Handler.java:815)
          at android.os.Handler.dispatchMessage(Handler.java:104)
          at android.os.Looper.loop(Looper.java:194)
          at android.app.ActivityThread.main(ActivityThread.java:5637)
          at java.lang.reflect.Method.invoke(Native Method)
          at java.lang.reflect.Method.invoke(Method.java:372)
          at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
          at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

  • Sir i have executed the app but when i goto register activity then it goes to login activity and when i try to login then app crashes and closed. There is no data in mysql database. Please help me sir.

  • I have followed all the steps on the tutorial. But when I either register or login on the app it invokes the registering dialog or the login dialog but it then shows an empty dialog nothing happens there after. Please help I am already using an online server

  • hello, In forgot password, mail is sent but not received. Below is the error log. Please help.
    [Thu May 24 10:25:34.653603 2018] [mpm_winnt:notice] [pid 10060:tid 680] AH00364: Child: All worker threads have exited.
    [Thu May 24 10:25:34.702636 2018] [mpm_winnt:notice] [pid 8924:tid 760] AH00430: Parent: Child process 10060 exited successfully.
    [Thu May 24 10:25:39.813855 2018] [ssl:warn] [pid 32:tid 740] AH01909: http://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Thu May 24 10:25:39.890192 2018] [ssl:warn] [pid 32:tid 740] AH01909: http://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Thu May 24 10:25:39.917211 2018] [mpm_winnt:notice] [pid 32:tid 740] AH00455: Apache/2.4.33 (Win32) OpenSSL/1.1.0h PHP/7.2.5 configured — resuming normal operations
    [Thu May 24 10:25:39.917211 2018] [mpm_winnt:notice] [pid 32:tid 740] AH00456: Apache Lounge VC15 Server built: Mar 28 2018 12:12:41
    [Thu May 24 10:25:39.917211 2018] [core:notice] [pid 32:tid 740] AH00094: Command line: ‘C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache’
    [Thu May 24 10:25:39.946781 2018] [mpm_winnt:notice] [pid 32:tid 740] AH00418: Parent: Created child process 6424
    [Thu May 24 10:25:40.478289 2018] [ssl:warn] [pid 6424:tid 656] AH01909: http://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Thu May 24 10:25:40.537104 2018] [ssl:warn] [pid 6424:tid 656] AH01909: http://www.example.com:443:0 server certificate does NOT include an ID which matches the server name
    [Thu May 24 10:25:40.564123 2018] [mpm_winnt:notice] [pid 6424:tid 656] AH00354: Child: Starting 150 worker threads.
    sendmail: Error during delivery: Please log in via your web brows

      • hello Sir,
        I am getting error at b.putstring(“email”,email) in login activity,and also in getString method.
        It says, putstring cannot be resolved

  • I have made a new project and added this files. app is closing without showing any matching errors in error log.
    But your project which i have downloaded is working

  • I got this error

    W/System.err: org.json.JSONException: Value Failed of type java.lang.String cannot be converted to JSONObject
    W/System.err: at org.json.JSON.typeMismatch(JSON.java:111)
    W/System.err: at org.json.JSONObject.(JSONObject.java:160)
    W/System.err: at org.json.JSONObject.(JSONObject.java:173)
    W/System.err: at com.dugange.hilarym.androidtodatabase.RegisterActivity$3.onResponse(RegisterActivity.java:108)
    W/System.err: at com.dugange.hilarym.androidtodatabase.RegisterActivity$3.onResponse(RegisterActivity.java:100)

    Your help please

  • I got this error
    W/System.err: org.json.JSONException: Value Failed of type java.lang.String cannot be converted to JSONObject
    W/System.err: at org.json.JSON.typeMismatch(JSON.java:111)
    W/System.err: at org.json.JSONObject.(JSONObject.java:160)
    W/System.err: at org.json.JSONObject.(JSONObject.java:173)
    W/System.err: at com.dugange.hilarym.androidtodatabase.RegisterActivity$3.onResponse(RegisterActivity.java:108)
    W/System.err: at com.dugange.hilarym.androidtodatabase.RegisterActivity$3.onResponse(RegisterActivity.java:100)
    Your help please

Leave a Reply

Your email address will not be published. Required fields are marked *