{"id":649,"date":"2014-06-12T09:57:26","date_gmt":"2014-06-12T00:57:26","guid":{"rendered":"http:\/\/androiphone.uvs.jp\/?p=649"},"modified":"2015-11-09T13:54:08","modified_gmt":"2015-11-09T04:54:08","slug":"androidandengine-basegameactivity-onresumegame%e3%81%a7%e3%81%aenullpointerexception","status":"publish","type":"post","link":"https:\/\/androiphone.uvs.jp\/?p=649","title":{"rendered":"[Android][AndEngine] BaseGameActivity.onResumeGame\u3067\u306eNullPointerException"},"content":{"rendered":"<p>\u3060\u3044\u3076\u3001\u65e5\u304c\u958b\u3044\u3066\u307e\u3059\u3002<\/p>\n<p>\u6c7a\u3057\u3066\u3001\u4f55\u3082\u3057\u3066\u306a\u304b\u3063\u305f\u3068\u3044\u3046\u308f\u3051\u3067\u306f\u306a\u3044\u3066\u3059\u304c\u30012D\u95a2\u4fc2\u306f\u307b\u3068\u3093\u3069\u89e6\u3063\u3066\u306a\u304b\u3063\u305f\u3067\u3059\u3002<\/p>\n<p>\u3067\u3001GoolePlay\u306e\u30af\u30e9\u30c3\u30b7\u30e5\u30ec\u30dd\u30fc\u30c8\u3092\u773a\u3081\u3066\u3044\u308b\u3068AndEngine\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u30a2\u30d7\u30ea\u3067<\/p>\n<p>java.lang.NullPointerException at org.andengine.ui.activity.BaseGameActivity.onResumeGame(BaseGameActivity.java:222) at org.andengine.ui.activity.BaseGameActivity$4.run(BaseGameActivity.java:373) at android.os.Handler.handleCallback(Handler.java:800) at android.os.Handler.dispatchMessage(Handler.java:100) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5410) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600) at dalvik.system.NativeStart.main(Native Method)<\/p>\n<p>\u304c\u591a\u767a\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u3041\u3001\u5c11\u3057\u524d\u304b\u3089\u306f\u6c17\u3065\u3044\u3066\u305f\u3093\u3067\u3059\u304c\u3001\u3069\u3046\u3082\u30e1\u30e2\u30ea\u95a2\u4fc2\u3067\u306f\u306a\u3044\u306e\u3067 \u653e\u7f6e\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u6700\u8fd1\u6c17\u306b\u306a\u308a\u59cb\u3081\u305f\u306e\u3067\u3001\u8abf\u3079\u308b\u3068\u30fb\u30fb\u30fb<\/p>\n<p><a title=\"https:\/\/github.com\/nicolasgramlich\/AndEngine\/issues\/7\" href=\"https:\/\/github.com\/nicolasgramlich\/AndEngine\/issues\/7\">https:\/\/github.com\/nicolasgramlich\/AndEngine\/issues\/7<\/a><\/p>\n<p>\u65e2\u77e5\u306eAndEngine\u306e\u30d0\u30b0\u3063\u307d\u3044\u3067\u3059\u306d\u3002\u30de\u30cb\u30d5\u30a7\u30b9\u30c8\u3092\u4e0b\u8a18\u306b\u4fee\u6b63\u3059\u308c\u3070OK\u3089\u3057\u3044\u3067\u3059\u3002 android:configChanges=&#8221;orientation|screenSize&#8221; \u66f8\u304d\u7559\u3081\u3066\u304a\u304b\u306a\u3044\u3068\u5fd8\u308c\u305d\u3046\u30fb\u30fb\u30fb<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3060\u3044\u3076\u3001\u65e5\u304c\u958b\u3044\u3066\u307e\u3059\u3002 \u6c7a\u3057\u3066\u3001\u4f55\u3082\u3057\u3066\u306a\u304b\u3063\u305f\u3068\u3044\u3046\u308f\u3051\u3067\u306f\u306a\u3044\u3066\u3059\u304c\u30012D\u95a2\u4fc2\u306f\u307b\u3068\u3093\u3069\u89e6\u3063\u3066\u306a\u304b\u3063\u305f\u3067\u3059\u3002 \u3067\u3001GoolePlay\u306e\u30af\u30e9\u30c3\u30b7\u30e5\u30ec\u30dd\u30fc\u30c8\u3092\u773a\u3081\u3066\u3044\u308b\u3068AndEngine\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u30a2\u30d7\u30ea\u3067 jav [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"","_original_post":"","footnotes":""},"categories":[13,5,6],"tags":[],"class_list":["post-649","post","type-post","status-publish","format-standard","hentry","category-andengine","category-android","category-6","ja"],"_links":{"self":[{"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=\/wp\/v2\/posts\/649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=649"}],"version-history":[{"count":4,"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=\/wp\/v2\/posts\/649\/revisions"}],"predecessor-version":[{"id":912,"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=\/wp\/v2\/posts\/649\/revisions\/912"}],"wp:attachment":[{"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}