Title: Crash when connecting to new URL · Issue #32 · ServicePattern/MobileAPI_Android · GitHub
Open Graph Title: Crash when connecting to new URL · Issue #32 · ServicePattern/MobileAPI_Android
X Title: Crash when connecting to new URL · Issue #32 · ServicePattern/MobileAPI_Android
Description: After changing to the new endpoints provided last week, the library now crashes with the following trace: 2021-05-09 22:19:10.422 11260-11260/au.com.xxx E/resultProcessing > Failure: >>> java.lang.Error: checkAvailability error 2021-05-0...
Open Graph Description: After changing to the new endpoints provided last week, the library now crashes with the following trace: 2021-05-09 22:19:10.422 11260-11260/au.com.xxx E/resultProcessing > Failure: >>> java.lang....
X Description: After changing to the new endpoints provided last week, the library now crashes with the following trace: 2021-05-09 22:19:10.422 11260-11260/au.com.xxx E/resultProcessing > Failure: >>>...
Opengraph URL: https://github.com/ServicePattern/MobileAPI_Android/issues/32
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Crash when connecting to new URL","articleBody":"After changing to the new endpoints provided last week, the library now crashes with the following trace:\r\n```\r\n2021-05-09 22:19:10.422 11260-11260/au.com.xxx E/resultProcessing \u003e Failure: \u003e\u003e\u003e java.lang.Error: checkAvailability error\r\n2021-05-09 22:19:10.482 11260-11260/au.com.xxx D/AndroidRuntime: Shutting down VM\r\n \r\n \r\n --------- beginning of crash\r\n2021-05-09 22:19:10.486 11260-11260/au.com.xxx E/AndroidRuntime: FATAL EXCEPTION: main\r\n Process: au.com.xxx, PID: 11260\r\n java.lang.NullPointerException: Attempt to read from field 'int com.android.volley.NetworkResponse.statusCode' on a null object reference\r\n at com.brightpattern.bpcontactcenter.ContactCenterCommunicator.parseVolleyError(ContactCenterCommunicator.kt:409)\r\n at com.brightpattern.bpcontactcenter.ContactCenterCommunicator.access$parseVolleyError(ContactCenterCommunicator.kt:39)\r\n at com.brightpattern.bpcontactcenter.ContactCenterCommunicator$requestChat$2.onErrorResponse(ContactCenterCommunicator.kt:204)\r\n at com.android.volley.Request.deliverError(Request.java:617)\r\n at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:104)\r\n at android.os.Handler.handleCallback(Handler.java:938)\r\n at android.os.Handler.dispatchMessage(Handler.java:99)\r\n at android.os.Looper.loop(Looper.java:223)\r\n at android.app.ActivityThread.main(ActivityThread.java:7656)\r\n at java.lang.reflect.Method.invoke(Native Method)\r\n at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)\r\n at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)\r\n```\r\nDebugging and inspecting the `volleyError` object showed it is of type `TimeoutError`, so it seems like the order of the `when` statement needs to change.","author":{"url":"https://github.com/bramley-stride","@type":"Person","name":"bramley-stride"},"datePublished":"2021-05-09T12:47:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/32/MobileAPI_Android/issues/32"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9028406a-a8cf-e040-7944-fedacccd0e10 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD7C:236EAA:1B3BB39:22DFCE9:6992729C |
| html-safe-nonce | 570e622e8a9ef41d93957793a1b109800c0b80c863825f54a215827c21bcf6ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDdDOjIzNkVBQToxQjNCQjM5OjIyREZDRTk6Njk5MjcyOUMiLCJ2aXNpdG9yX2lkIjoiNDU4NjEyNTI1MTI0MTg2NzgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b3fd4d9b7beea7a23e257ce5817f35e52c3d93c858c0235ccc109fd30bd36271 |
| hovercard-subject-tag | issue:882274175 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ServicePattern/MobileAPI_Android/32/issue_layout |
| twitter:image | https://opengraph.githubassets.com/623010a9813f2cf61f2066a65a14df8c943292c35dc7e22f44aca92719800c1f/ServicePattern/MobileAPI_Android/issues/32 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/623010a9813f2cf61f2066a65a14df8c943292c35dc7e22f44aca92719800c1f/ServicePattern/MobileAPI_Android/issues/32 |
| og:image:alt | After changing to the new endpoints provided last week, the library now crashes with the following trace: 2021-05-09 22:19:10.422 11260-11260/au.com.xxx E/resultProcessing > Failure: >>> java.lang.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bramley-stride |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/ServicePattern/MobileAPI_Android git https://github.com/ServicePattern/MobileAPI_Android.git |
| octolytics-dimension-user_id | 10256297 |
| octolytics-dimension-user_login | ServicePattern |
| octolytics-dimension-repository_id | 335368082 |
| octolytics-dimension-repository_nwo | ServicePattern/MobileAPI_Android |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 335368082 |
| octolytics-dimension-repository_network_root_nwo | ServicePattern/MobileAPI_Android |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width