質問編集履歴
1
文法の修正、タグの追加、コードの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
### 不明点
|
10
10
|
|
11
|
-
logcatでどこのアクティビティの何行目でヌルポが吐かれている
|
11
|
+
logcatで青文字でどこのアクティビティの何行目でヌルポが吐かれているか書かれておらず、わからないです。
|
12
12
|
|
13
13
|
### 知りたいこと
|
14
14
|
|
@@ -186,4 +186,102 @@
|
|
186
186
|
|
187
187
|
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
|
188
188
|
|
189
|
+
at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:409)
|
190
|
+
|
191
|
+
at android.widget.ArrayAdapter.getView(ArrayAdapter.java:371)
|
192
|
+
|
193
|
+
at android.widget.AbsListView.obtainView(AbsListView.java:2362)
|
194
|
+
|
195
|
+
at android.widget.ListView.makeAndAddView(ListView.java:1970)
|
196
|
+
|
197
|
+
at android.widget.ListView.fillDown(ListView.java:704)
|
198
|
+
|
199
|
+
at android.widget.ListView.fillFromTop(ListView.java:765)
|
200
|
+
|
201
|
+
at android.widget.ListView.layoutChildren(ListView.java:1744)
|
202
|
+
|
203
|
+
at android.widget.AbsListView.onLayout(AbsListView.java:2161)
|
204
|
+
|
205
|
+
at android.view.View.layout(View.java:17523)
|
206
|
+
|
207
|
+
at android.view.ViewGroup.layout(ViewGroup.java:5612)
|
208
|
+
|
209
|
+
at android.support.constraint.ConstraintLayout.onLayout(ConstraintLayout.java:1915)
|
210
|
+
|
211
|
+
at android.view.View.layout(View.java:17523)
|
212
|
+
|
213
|
+
at android.view.ViewGroup.layout(ViewGroup.java:5612)
|
214
|
+
|
215
|
+
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
|
216
|
+
|
217
|
+
at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
|
218
|
+
|
219
|
+
at android.view.View.layout(View.java:17523)
|
220
|
+
|
221
|
+
at android.view.ViewGroup.layout(ViewGroup.java:5612)
|
222
|
+
|
223
|
+
at android.support.v7.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:444)
|
224
|
+
|
225
|
+
at android.view.View.layout(View.java:17523)
|
226
|
+
|
227
|
+
at android.view.ViewGroup.layout(ViewGroup.java:5612)
|
228
|
+
|
229
|
+
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
|
230
|
+
|
231
|
+
at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
|
232
|
+
|
233
|
+
at android.view.View.layout(View.java:17523)
|
234
|
+
|
235
|
+
at android.view.ViewGroup.layout(ViewGroup.java:5612)
|
236
|
+
|
237
|
+
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1741)
|
238
|
+
|
239
|
+
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
|
240
|
+
|
241
|
+
at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
|
242
|
+
|
243
|
+
at android.view.View.layout(View.java:17523)
|
244
|
+
|
245
|
+
at android.view.ViewGroup.layout(ViewGroup.java:5612)
|
246
|
+
|
247
|
+
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
|
248
|
+
|
249
|
+
at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
|
250
|
+
|
251
|
+
at com.android.internal.policy.DecorView.onLayout(DecorView.java:724)
|
252
|
+
|
253
|
+
at android.view.View.layout(View.java:17523)
|
254
|
+
|
255
|
+
at android.view.ViewGroup.layout(ViewGroup.java:5612)
|
256
|
+
|
257
|
+
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2342)
|
258
|
+
|
259
|
+
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2069)
|
260
|
+
|
261
|
+
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1246)
|
262
|
+
|
263
|
+
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6301)
|
264
|
+
|
265
|
+
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:871)
|
266
|
+
|
267
|
+
at android.view.Choreographer.doCallbacks(Choreographer.java:683)
|
268
|
+
|
269
|
+
at android.view.Choreographer.doFrame(Choreographer.java:619)
|
270
|
+
|
271
|
+
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:857)
|
272
|
+
|
273
|
+
at android.os.Handler.handleCallback(Handler.java:751)
|
274
|
+
|
275
|
+
at android.os.Handler.dispatchMessage(Handler.java:95)
|
276
|
+
|
277
|
+
at android.os.Looper.loop(Looper.java:154)
|
278
|
+
|
279
|
+
at android.app.ActivityThread.main(ActivityThread.java:6077)
|
280
|
+
|
281
|
+
at java.lang.reflect.Method.invoke(Native Method)
|
282
|
+
|
283
|
+
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:866)
|
284
|
+
|
285
|
+
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:756)
|
286
|
+
|
189
287
|
```
|