开发者社区> 问答> 正文

OSchina的android客户端出错? 400 报错

OSchina的android客户端出错? 400 报错

@红薯 ,打开客户端,不断提示网络连接错误,提示检查网络配置。出错信息如下,看起来应该是内置的地址失效了?用浏览器可以访问!


05-16 11:09:17.933: I/ActivityManager(135): Start proc net.oschina.app for activity net.oschina.app/.ui.Main: pid=2554 uid=10186 gids={3003, 1015}
05-16 11:09:17.949: I/dalvikvm(2554): Turning on JNI app bug workarounds for target SDK version 4...
05-16 11:09:17.972: D/OpenGLRenderer(357): Flushing caches (mode 1)
05-16 11:09:18.050: D/OpenGLRenderer(357): Flushing caches (mode 0)
05-16 11:09:18.234: I/ActivityThread(2541): Pub contacts;com.android.contacts: com.android.providers.contacts.ContactsProvider2
05-16 11:09:18.480: D/dalvikvm(2554): GC_CONCURRENT freed 83K, 2% free 9487K/9671K, paused 26ms+2ms
05-16 11:09:18.816: D/dalvikvm(2554): GC_CONCURRENT freed 45K, 2% free 9920K/10055K, paused 2ms+9ms
05-16 11:09:18.929: W/System.err(2554): net.oschina.app.AppException: java.lang.NullPointerException
05-16 11:09:18.929: W/System.err(2554): net.oschina.app.AppException: java.lang.NullPointerException
05-16 11:09:18.929: W/System.err(2554): net.oschina.app.AppException: java.lang.NullPointerException
05-16 11:09:18.933: W/System.err(2554): net.oschina.app.AppException: java.lang.NullPointerException
05-16 11:09:18.933: W/System.err(2554): at net.oschina.app.api.ApiClient.getPostList(ApiClient.java:356)
05-16 11:09:18.933: W/System.err(2554): at net.oschina.app.AppContext.getPostList(AppContext.java:211)
05-16 11:09:18.933: W/System.err(2554): at net.oschina.app.ui.Main$31.run(Main.java:1395)
05-16 11:09:18.933: W/System.err(2554): Caused by: java.lang.NullPointerException
05-16 11:09:18.933: W/System.err(2554): at net.oschina.app.api.ApiClient.getHttpClient(ApiClient.java:112)
05-16 11:09:18.933: W/System.err(2554): at net.oschina.app.api.ApiClient.http_get(ApiClient.java:773)
05-16 11:09:18.933: W/System.err(2554): at net.oschina.app.api.ApiClient.getPostList(ApiClient.java:352)
05-16 11:09:18.933: W/System.err(2554): ... 2 more
05-16 11:09:18.933: W/System.err(2554): at net.oschina.app.api.ApiClient.getNewsList(ApiClient.java:271)
05-16 11:09:18.933: W/System.err(2554): at net.oschina.app.AppContext.getNewsList(AppContext.java:129)
05-16 11:09:18.933: W/System.err(2554): at net.oschina.app.ui.Main$30.run(Main.java:1368)
05-16 11:09:18.933: W/System.err(2554): Caused by: java.lang.NullPointerException
05-16 11:09:18.949: W/System.err(2554): at net.oschina.app.api.ApiClient.getTweetList(ApiClient.java:423)
05-16 11:09:18.949: W/System.err(2554): at net.oschina.app.AppContext.getTweetList(AppContext.java:253)
05-16 11:09:18.949: W/System.err(2554): at net.oschina.app.ui.Main$32.run(Main.java:1422)
05-16 11:09:18.949: W/System.err(2554): Caused by: java.lang.NullPointerException
05-16 11:09:18.949: W/System.err(2554): at net.oschina.app.api.ApiClient.getHttpClient(ApiClient.java:112)
05-16 11:09:18.949: W/System.err(2554): at net.oschina.app.api.ApiClient.http_get(ApiClient.java:773)
05-16 11:09:18.949: W/System.err(2554): at net.oschina.app.api.ApiClient.getTweetList(ApiClient.java:419)
05-16 11:09:18.949: W/System.err(2554): ... 2 more
05-16 11:09:18.949: W/System.err(2554): at net.oschina.app.api.ApiClient.getHttpClient(ApiClient.java:112)
05-16 11:09:18.949: W/System.err(2554): at net.oschina.app.api.ApiClient.http_get(ApiClient.java:773)
05-16 11:09:18.949: W/System.err(2554): at net.oschina.app.api.ApiClient.getNewsList(ApiClient.java:267)
05-16 11:09:18.949: W/System.err(2554): ... 2 more
05-16 11:09:18.957: W/System.err(2554): at net.oschina.app.api.ApiClient.getActiveList(ApiClient.java:507)
05-16 11:09:18.957: W/System.err(2554): at net.oschina.app.AppContext.getActiveList(AppContext.java:296)
05-16 11:09:18.957: W/System.err(2554): at net.oschina.app.ui.Main$33.run(Main.java:1449)
05-16 11:09:18.957: W/System.err(2554): Caused by: java.lang.NullPointerException
05-16 11:09:18.957: W/System.err(2554): at net.oschina.app.api.ApiClient.getHttpClient(ApiClient.java:112)
05-16 11:09:18.957: W/System.err(2554): at net.oschina.app.api.ApiClient.http_get(ApiClient.java:773)
05-16 11:09:18.957: W/System.err(2554): at net.oschina.app.api.ApiClient.getActiveList(ApiClient.java:503)
05-16 11:09:18.957: W/System.err(2554): ... 2 more

展开
收起
爱吃鱼的程序员 2020-06-03 16:37:24 452 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    好的,我们会尽快修复。如果再遇到这种情况,请先退出app,再启动app。

    ######ios的下面20个按不到######退出程序再打开就好了 @junwong
    2020-06-03 20:51:44
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
58同城Android客户端Walle框架演进与实践之路 立即下载
Android组件化实现 立即下载
蚂蚁聚宝Android秒级编译——Freeline 立即下载