Skip to content

Crash issue #44

@YYYSSSHHH

Description

@YYYSSSHHH

The application crashed when I was testing the app dynamically on the simulator.

Environment Info:
APK version 1.2.2 (27)
Simulator AndroidOS Version = “6.0.1”

crash information:
crashActivity=com.haringeymobile.ukweather.weather.WeatherInfoActivity

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.haringeymobile.ukweather/com.haringeymobile.ukweather.weather.WeatherInfoActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.haringeymobile.ukweather.weather.g.b()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2443)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2503)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1353)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5539)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:635)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.haringeymobile.ukweather.weather.g.b()' on a null object reference
at com.haringeymobile.ukweather.weather.WeatherInfoActivity.a(WeatherInfoActivity.java:101)
at com.haringeymobile.ukweather.weather.WeatherInfoActivity.n(WeatherInfoActivity.java:60)
at com.haringeymobile.ukweather.weather.WeatherInfoActivity.onCreate(WeatherInfoActivity.java:43)
at android.app.Activity.performCreate(Activity.java:6279)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2396)
... 9 more
java.lang.NullPointerException: Attempt to invoke virtual method 'int com.haringeymobile.ukweather.weather.g.b()' on a null object reference
at com.haringeymobile.ukweather.weather.WeatherInfoActivity.a(WeatherInfoActivity.java:101)
at com.haringeymobile.ukweather.weather.WeatherInfoActivity.n(WeatherInfoActivity.java:60)
at com.haringeymobile.ukweather.weather.WeatherInfoActivity.onCreate(WeatherInfoActivity.java:43)
at android.app.Activity.performCreate(Activity.java:6279)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2396)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2503)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1353)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5539)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:635)
Finally:
If you have confirmed or fixed this problem, please give me a reply, this reply is very important to my research,thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions