Форум программистов, компьютерный форум CyberForum.ru
Наши страницы

Программирование Android

Войти
Регистрация
Восстановить пароль
 
 
Рейтинг: Рейтинг темы: голосов - 22, средняя оценка - 4.68
SERGEY199100
20 / 20 / 0
Регистрация: 29.10.2009
Сообщений: 430
#1

Не запускается форма с WebView пример - Программирование Android

10.08.2013, 18:09. Просмотров 2960. Ответов 33
Метки нет (Все метки)

Всем привет !

Ребят, помогите, ткните носом в мою ошибку... Делаю по примеру http://habrahabr.ru/post/113731/ две формы, в которой, в первой отображается список, а во второй - сам контент.

Сделал все по примеру, запускаю в эмуляторе - сразу же вылетает с ошибкой. В чем причина ?

Ниже архив с моей косячной программой.
0
Вложения
Тип файла: 7z websterProject.7z (1.25 Мб, 7 просмотров)
Надоела реклама? Зарегистрируйтесь и она исчезнет полностью.
Similar
Эксперт
41792 / 34177 / 6122
Регистрация: 12.04.2006
Сообщений: 57,940
10.08.2013, 18:09
Здравствуйте! Я подобрал для вас темы с ответами на вопрос Не запускается форма с WebView пример (Программирование Android):

Пример AdMob компилируется, но не запускается - Программирование Android
1. Взял пример с офиц сайта. (https://github.com/googleads/googleads-mobile-android-examples/tree/master/admob/BannerExample) Запустил. На...

Qt creator. Есть файл aboutDialog.cpp/h с webview, как получить доступ к webview из mainWindow ? - C++ Qt
aboutDialog.h #ifndef ABOUTDIALOG_H_ #define ABOUTDIALOG_H_ #include <QtGui/QDialog> #include <QtCore/QUrl> class...

Не запускается простой пример - Java EE
Недавно начал изучать Java, но пока ничего не получается)) Писал на разные форумы, но ответа так и не услышал.. Может здесь найдутся...

Не запускается пример из книги М. Шлее - C++ Qt
Пример из книги М. Шлее "Qt4.5: Профессиональное программирование на С++", упрощенный до минимума с целью локализовать ошибку: ...

Не запускается пример из книги Шлее по QT 4.8 - C++ Qt
Hi all! Вот такая проблема.:( Создал пустой проект, в него добавил hello.cpp, вот код: #include <QtGui> int main(int argc,...

Не запускается готовый проект (пример) - C#
Добрый вечер! Был скачан типовой проект - готовая программа. Ошибок при компиляции не было найдено, но при запуске программы возникает...

33
SERGEY199100
20 / 20 / 0
Регистрация: 29.10.2009
Сообщений: 430
10.08.2013, 22:08  [ТС] #16
Вот я олень, спасибо ! Я не там искал (

Добавлено через 1 час 1 минуту
Вот беда... Потаюсь интегрировать WebView в приложение которое имеет уже готовые формы, но не получается =(
0
SERGEY199100
20 / 20 / 0
Регистрация: 29.10.2009
Сообщений: 430
10.08.2013, 22:24  [ТС] #17
Можете проверить ?

В архиве ниже программка, в ней есть ActivityThree.java - класс для формы three.xml. В этой форме я пытаюсь вывести lister со списком категорий, и далее при выборе одной из категории открывать форму VIewThree.xml(И одноименный класс .jva) с информацией выводимой из текстового файла в WebView. Что я не так сделал ? У меня не прописывается в OnCreate(ViewThree.java) форма "threeView": setContentView(R.layout.threeView);

Помогите пожалуйста, опять что-то проворонил... (
0
Вложения
Тип файла: 7z Geolocator.7z (4.02 Мб, 3 просмотров)
SERGEY199100
20 / 20 / 0
Регистрация: 29.10.2009
Сообщений: 430
10.08.2013, 23:05  [ТС] #18
При попытке открыть -вылетает, а в логах пишет

Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
08-10 18:58:58.671: D/AndroidRuntime(8121): Shutting down VM
08-10 18:58:58.671: W/dalvikvm(8121): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
08-10 18:58:58.851: E/AndroidRuntime(8121): FATAL EXCEPTION: main
08-10 18:58:58.851: E/AndroidRuntime(8121): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.coomap/com.example.coomap.ActivityThree}: java.lang.NullPointerException
08-10 18:58:58.851: E/AndroidRuntime(8121):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
08-10 18:58:58.851: E/AndroidRuntime(8121):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
08-10 18:58:58.851: E/AndroidRuntime(8121):     at android.app.ActivityThread.access$600(ActivityThread.java:141)
08-10 18:58:58.851: E/AndroidRuntime(8121):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
08-10 18:58:58.851: E/AndroidRuntime(8121):     at android.os.Handler.dispatchMessage(Handler.java:99)
08-10 18:58:58.851: E/AndroidRuntime(8121):     at android.os.Looper.loop(Looper.java:137)
08-10 18:58:58.851: E/AndroidRuntime(8121):     at android.app.ActivityThread.main(ActivityThread.java:5041)
08-10 18:58:58.851: E/AndroidRuntime(8121):     at java.lang.reflect.Method.invokeNative(Native Method)
08-10 18:58:58.851: E/AndroidRuntime(8121):     at java.lang.reflect.Method.invoke(Method.java:511)
08-10 18:58:58.851: E/AndroidRuntime(8121):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
08-10 18:58:58.851: E/AndroidRuntime(8121):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
08-10 18:58:58.851: E/AndroidRuntime(8121):     at dalvik.system.NativeStart.main(Native Method)
08-10 18:58:58.851: E/AndroidRuntime(8121): Caused by: java.lang.NullPointerException
08-10 18:58:58.851: E/AndroidRuntime(8121):     at com.example.coomap.ActivityThree.onCreate(ActivityThree.java:53)
08-10 18:58:58.851: E/AndroidRuntime(8121):     at android.app.Activity.performCreate(Activity.java:5104)
08-10 18:58:58.851: E/AndroidRuntime(8121):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
08-10 18:58:58.851: E/AndroidRuntime(8121):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
08-10 18:58:58.851: E/AndroidRuntime(8121):     ... 11 more
08-10 18:59:02.831: I/Process(8121): Sending signal. PID: 8121 SIG: 9
08-10 18:59:05.633: D/dalvikvm(8136): GC_FOR_ALLOC freed 43K, 7% free 2504K/2668K, paused 62ms, total 69ms
08-10 18:59:05.692: I/dalvikvm-heap(8136): Grow heap (frag case) to 4.905MB for 2458816-byte allocation
08-10 18:59:05.861: D/dalvikvm(8136): GC_FOR_ALLOC freed 2K, 4% free 4903K/5072K, paused 160ms, total 161ms
08-10 18:59:06.062: D/dalvikvm(8136): GC_CONCURRENT freed <1K, 4% free 4903K/5072K, paused 13ms+47ms, total 199ms
Добавлено через 2 минуты
То самое происходит при нажатии на кнопку где должна появится форма three.xml со сплэш картинкой и списком категорий, но при нажатии и переходе на эту форму - вылетает... А в логи пишет:

Java
1
Unable to start activity ComponentInfo{com.example.coomap/com.example.coomap.ActivityThree}: java.lang.NullPointerException
Добавлено через 4 минуты
JAVA-понял...

Мне кажется проблема в манифесте... ?
0
V0v1k
1159 / 983 / 1
Регистрация: 28.06.2012
Сообщений: 3,462
10.08.2013, 23:07 #19
проблема в неинициализированной перемене в классе ActivityThree в строке 53.
0
SERGEY199100
20 / 20 / 0
Регистрация: 29.10.2009
Сообщений: 430
10.08.2013, 23:13  [ТС] #20
Я немного там уже наиправлял, строки изменились,
Вы про эти строки :
Java
1
2
3
lv1=(ListView)findViewById(R.id.lister); //получаем идентификатор ListView
lv1.setAdapter(new ArrayAdapter<String>(this,android.R.layout.simple_list_item_1 , lv_arr)); //устанавливаем массив в ListView
lv1.setTextFilterEnabled(true);
? Вроде lister объявлен в three.xml
0
V0v1k
1159 / 983 / 1
Регистрация: 28.06.2012
Сообщений: 3,462
11.08.2013, 00:18 #21
Цитата Сообщение от SERGEY199100 Посмотреть сообщение
Я немного там уже наиправлял, строки изменились,
Вы про эти строки :
я то откуда знаю что вы там изменяли, смотрите свежие логи.
0
SERGEY199100
20 / 20 / 0
Регистрация: 29.10.2009
Сообщений: 430
11.08.2013, 11:54  [ТС] #22
V0v1k, я просто думал вы проект загрузили (
0
V0v1k
1159 / 983 / 1
Регистрация: 28.06.2012
Сообщений: 3,462
11.08.2013, 12:41 #23
я просто логи посмотрел, там все написано.
0
SERGEY199100
20 / 20 / 0
Регистрация: 29.10.2009
Сообщений: 430
11.08.2013, 19:51  [ТС] #24
Поправил, теперь вот такая ситуация =\

Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
08-11 15:04:12.631: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:04:12.772: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:04:12.781: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:04:12.781: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:04:12.781: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:04:12.801: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:05:02.965: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:05:03.092: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:05:03.092: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:05:03.092: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:05:03.092: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:05:03.092: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:05:53.161: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:05:53.281: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:05:53.291: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:05:53.291: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:05:53.291: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:05:53.291: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:06:43.923: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:06:43.923: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:06:43.923: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:06:43.931: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:06:43.931: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:06:43.942: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:07:34.142: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:07:34.142: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:07:34.153: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:07:34.153: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:07:34.153: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:07:34.153: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:08:24.351: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:08:24.361: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:08:24.361: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:08:24.361: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:08:24.361: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:08:24.361: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:09:14.481: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:09:14.591: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:09:14.601: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:09:14.601: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:09:14.601: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:09:14.601: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:10:04.671: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:10:04.801: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:10:04.801: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:10:04.801: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:10:04.801: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:10:04.811: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:10:55.112: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:10:55.112: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:10:55.122: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:10:55.122: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:10:55.122: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:10:55.122: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:11:45.211: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:11:45.321: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:11:45.321: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:11:45.331: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:11:45.331: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:11:45.331: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:12:35.724: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:12:35.752: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:12:35.752: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:12:35.752: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:12:35.772: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:12:35.772: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:13:26.492: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:13:26.642: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:13:26.652: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:13:26.652: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:13:26.662: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:13:26.662: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:14:16.743: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:14:16.862: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:14:16.862: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:14:16.873: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:14:16.873: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:14:16.873: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:15:07.022: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:15:07.142: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:15:07.142: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:15:07.142: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:15:07.152: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:15:07.152: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:15:57.191: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:15:57.311: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:15:57.311: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:15:57.311: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:15:57.311: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:15:57.311: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:16:47.412: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:16:47.531: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:16:47.531: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:16:47.531: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:16:47.531: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:16:47.541: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:17:37.702: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:17:37.822: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:17:37.822: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:17:37.833: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:17:37.833: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:17:37.833: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:18:28.061: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:18:28.071: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:18:28.071: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:18:28.084: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:18:28.084: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:18:28.091: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:19:18.191: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:19:18.322: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:19:18.322: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:19:18.322: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:19:18.332: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:19:18.332: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:20:08.421: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:20:08.552: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:20:08.562: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:20:08.562: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:20:08.562: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:20:08.562: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:20:58.751: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:20:58.751: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:20:58.751: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:20:58.751: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:20:58.751: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:20:58.751: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:21:48.911: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:21:48.971: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:21:48.971: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:21:48.971: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:21:48.971: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:21:48.981: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:22:39.211: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:22:39.447: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:22:39.447: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:22:39.461: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:22:39.531: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:22:39.531: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:23:29.861: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:23:29.983: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:23:29.983: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:23:29.991: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:23:29.991: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:23:29.991: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:24:20.102: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:24:20.221: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:24:20.221: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:24:20.231: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:24:20.231: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:24:20.231: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:25:10.351: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:25:10.461: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:25:10.461: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:25:10.471: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:25:10.471: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:25:10.471: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:26:00.652: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:26:00.782: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:26:00.782: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:26:00.782: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:26:00.792: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:26:00.792: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:26:51.051: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:26:51.061: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:26:51.061: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:26:51.061: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:26:51.061: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:26:51.071: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:27:41.323: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:27:41.323: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:27:41.323: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:27:41.331: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:27:41.331: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:27:41.331: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:28:31.432: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:28:31.542: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:28:31.552: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:28:31.552: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:28:31.552: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:28:31.552: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:29:21.691: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:29:21.791: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:29:21.801: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:29:21.801: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:29:21.811: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:29:21.811: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:30:11.902: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:30:12.032: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:30:12.032: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:30:12.042: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:30:12.042: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:30:12.042: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:31:02.092: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:31:02.212: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:31:02.221: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:31:02.221: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:31:02.221: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:31:02.231: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:31:52.291: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:31:52.521: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:31:52.521: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:31:52.521: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:31:52.521: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:31:52.531: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:32:42.651: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:32:42.771: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:32:42.771: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:32:42.781: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:32:42.781: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:32:42.781: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:33:32.942: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:33:33.062: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:33:33.062: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:33:33.074: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:33:33.074: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:33:33.074: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:34:23.193: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:34:23.321: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:34:23.321: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:34:23.321: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:34:23.321: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:34:23.321: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:35:13.481: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:35:13.651: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:35:13.651: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:35:13.651: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:35:13.651: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:35:13.661: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:36:03.751: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:36:03.921: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:36:03.921: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:36:03.921: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:36:03.921: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:36:03.931: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:36:54.062: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:36:54.171: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:36:54.171: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:36:54.182: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:36:54.182: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:36:54.182: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:37:44.501: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:37:44.511: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:37:44.521: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:37:44.521: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:37:44.521: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:37:44.533: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:38:34.722: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:38:34.962: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:38:34.972: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:38:34.982: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:38:34.992: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:38:35.003: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:39:25.142: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:39:25.142: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:39:25.151: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:39:25.151: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:39:25.151: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:39:25.151: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:40:15.381: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:40:15.391: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:40:15.391: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:40:15.391: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:40:15.401: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:40:15.401: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:41:05.611: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:41:05.611: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:41:05.611: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:41:05.611: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:41:05.621: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:41:05.621: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:41:55.801: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:41:55.801: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:41:55.813: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:41:55.813: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:41:55.813: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:41:55.813: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:42:45.933: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:42:46.052: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:42:46.052: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:42:46.052: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:42:46.052: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:42:46.062: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:43:36.181: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:43:36.301: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:43:36.301: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:43:36.301: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:43:36.301: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:43:36.313: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:44:26.372: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:44:26.482: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:44:26.492: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:44:26.492: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:44:26.492: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:44:26.492: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:45:16.741: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:45:16.741: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:45:16.741: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:45:16.741: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:45:16.753: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:45:16.771: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:46:07.012: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:46:07.012: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:46:07.022: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:46:07.022: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:46:07.022: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:46:07.032: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:46:57.171: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:46:57.345: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:46:57.345: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:46:57.345: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:46:57.411: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:46:57.435: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:47:47.632: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:47:48.462: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:47:48.462: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:47:48.462: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:47:48.462: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:47:48.462: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:48:38.982: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:48:39.032: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:48:39.032: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:48:39.032: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:48:39.032: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:48:39.042: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:49:29.341: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:49:29.481: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:49:29.481: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:49:29.481: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:49:29.481: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:49:29.492: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:50:19.661: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:50:19.762: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:50:19.771: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:50:19.771: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:50:19.781: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:50:19.781: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:51:10.072: D/webviewglue(7615): OnTrimMemory with EGL Context 0x0
08-11 15:51:10.091: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:51:10.091: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:51:10.122: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:51:10.133: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
08-11 15:51:10.133: E/libEGL(7615): call to OpenGL ES API with no current context (logged once per thread)
0
V0v1k
1159 / 983 / 1
Регистрация: 28.06.2012
Сообщений: 3,462
11.08.2013, 20:19 #25
не вижу никаких екзепшенов в логах.
0
SERGEY199100
20 / 20 / 0
Регистрация: 29.10.2009
Сообщений: 430
11.08.2013, 20:22  [ТС] #26
Вот еще раз, делаю так: запускаю приложение, чищу логи после его запуска, так как запускается правильно. А вот при нажатии на кнопку, которая перенгсит на другую форму с lister(списком категорий) и splah(картинкой) приложение вылетает с ошибкой.

В логах к этому моменту следующее:
Java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
08-11 16:20:58.471: D/AndroidRuntime(12295): Shutting down VM
08-11 16:20:58.491: W/dalvikvm(12295): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
08-11 16:20:58.854: E/AndroidRuntime(12295): FATAL EXCEPTION: main
08-11 16:20:58.854: E/AndroidRuntime(12295): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.coomap/com.example.coomap.ActivityThree}: java.lang.NullPointerException
08-11 16:20:58.854: E/AndroidRuntime(12295):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
08-11 16:20:58.854: E/AndroidRuntime(12295):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
08-11 16:20:58.854: E/AndroidRuntime(12295):    at android.app.ActivityThread.access$600(ActivityThread.java:141)
08-11 16:20:58.854: E/AndroidRuntime(12295):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
08-11 16:20:58.854: E/AndroidRuntime(12295):    at android.os.Handler.dispatchMessage(Handler.java:99)
08-11 16:20:58.854: E/AndroidRuntime(12295):    at android.os.Looper.loop(Looper.java:137)
08-11 16:20:58.854: E/AndroidRuntime(12295):    at android.app.ActivityThread.main(ActivityThread.java:5041)
08-11 16:20:58.854: E/AndroidRuntime(12295):    at java.lang.reflect.Method.invokeNative(Native Method)
08-11 16:20:58.854: E/AndroidRuntime(12295):    at java.lang.reflect.Method.invoke(Method.java:511)
08-11 16:20:58.854: E/AndroidRuntime(12295):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
08-11 16:20:58.854: E/AndroidRuntime(12295):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
08-11 16:20:58.854: E/AndroidRuntime(12295):    at dalvik.system.NativeStart.main(Native Method)
08-11 16:20:58.854: E/AndroidRuntime(12295): Caused by: java.lang.NullPointerException
08-11 16:20:58.854: E/AndroidRuntime(12295):    at com.example.coomap.ActivityThree.onCreate(ActivityThree.java:54)
08-11 16:20:58.854: E/AndroidRuntime(12295):    at android.app.Activity.performCreate(Activity.java:5104)
08-11 16:20:58.854: E/AndroidRuntime(12295):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
08-11 16:20:58.854: E/AndroidRuntime(12295):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
08-11 16:20:58.854: E/AndroidRuntime(12295):    ... 11 more
08-11 16:21:03.702: I/Process(12295): Sending signal. PID: 12295 SIG: 9
0
V0v1k
1159 / 983 / 1
Регистрация: 28.06.2012
Сообщений: 3,462
11.08.2013, 20:41 #27
все тот же NullPointerException только теперь в строке 54.
1
SERGEY199100
20 / 20 / 0
Регистрация: 29.10.2009
Сообщений: 430
11.08.2013, 22:48  [ТС] #28
На этой строке в файле ActivityThree

Java
1
lv1.setAdapter(new ArrayAdapter<String>(this,android.R.layout.simple_list_item_1 , lv_arr)); //устанавливаем массив в ListView
Что тут ему не нравится ?
0
V0v1k
1159 / 983 / 1
Регистрация: 28.06.2012
Сообщений: 3,462
11.08.2013, 23:35 #29
вероятно, lv1 = null

Добавлено через 14 секунд
или lv_arr
0
SERGEY199100
20 / 20 / 0
Регистрация: 29.10.2009
Сообщений: 430
12.08.2013, 00:23  [ТС] #30
Java
1
private String lv_arr[]={"00. Формулы.","01. Электрический заряд.","02. Взаимодействие зарядов. Закон Кулона.","03. Электрическое поле.","04. Диполь.", "05. Поляризация диэлектриков","06. Условие равновесия зарядов на проводнике.","07. Проводник во внешнем электрическом поле.","08. Электроемкость, конденсатор."};
Добавлено через 13 минут
Java
1
private ListView lv1; //даем название listview - lv1
0
12.08.2013, 00:23
MoreAnswers
Эксперт
37091 / 29110 / 5898
Регистрация: 17.06.2006
Сообщений: 43,301
12.08.2013, 00:23
Привет! Вот еще темы с ответами:

Не запускается пример связки Wicket+Hibernate. - Java EE
Всем доброго времени суток. Возникла такая проблема. При попытке запуска тестового приложения выдает: Connected to server INFO -...

Не запускается пример из книги Шлее qt5.3 - C++ Qt
У меня стоит 5.8 Как я понял, виджет потомок должен отображаться, когда родитель имеет метод show() может, просто версия старая,...

Запускается не та форма - C#
Здравствуйте! Проблемы с Windows Form . Вы исходник на WF , поменяла форму ,когда запускаю , запускается не та Windows Form(исходная) .

Не запускается форма - Delphi
пишет debugger kernel or BORDK140N.DLL is missing or could not be loaded. Кто знает что и как это исправить?


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
30
Ответ Создать тему
Опции темы

КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Рейтинг@Mail.ru