Skip to content

Null Pointer Exception, Tag Fragment. #66

Description

@thunter1000

Null pointer error is thrown on the tag fragment.

BUG E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.flaredown.flaredownApp.DEBUG, PID: 14408
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
        at android.view.ViewConfiguration.get(ViewConfiguration.java:364)
        at android.view.View.<init>(View.java:4000)
        at android.view.View.<init>(View.java:4118)
        at android.widget.TextView.<init>(TextView.java:710)
        at android.widget.TextView.<init>(TextView.java:704)
        at android.widget.TextView.<init>(TextView.java:700)
        at android.widget.TextView.<init>(TextView.java:696)
        at com.flaredown.flaredownApp.Checkin.tags.TagFragment$4.onFailure(TagFragment.java:182)
        at com.flaredown.flaredownApp.Checkin.tags.TagFragment$4.onFailure(TagFragment.java:170)
        at com.flaredown.flaredownApp.Helpers.APIv2.Communicate$28.onErrorResponse(Communicate.java:585)
        at com.android.volley.Request.deliverError(Request.java:564)
        at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:101)
        at android.os.Handler.handleCallback(Handler.java:751)
        at android.os.Handler.dispatchMessage(Handler.java:95)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:6077)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

Line numbers should be correct to this commit: 1c78c09

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions