I have to apologize with you, I am very sorry but I sent in the first message
of this thread, a wrong stacktrace.
the stacktrace is:
06-18 06:36:03.065: E/AndroidRuntime(5137): FATAL EXCEPTION: main
06-18 06:36:03.065: E/AndroidRuntime(5137): java.lang.NullPointerException
06-18 06:36:03.065: E/AndroidRuntime(5137): at
com.voicepro.av.onPostExecute(SourceFile:329)
06-18 06:36:03.065: E/AndroidRuntime(5137): at
com.voicepro.av.onPostExecute(SourceFile:1)
06-18 06:36:03.065: E/AndroidRuntime(5137): at
android.os.AsyncTask.finish(AsyncTask.java:602)
06-18 06:36:03.065: E/AndroidRuntime(5137): at
android.os.AsyncTask.access$600(AsyncTask.java:156)
06-18 06:36:03.065: E/AndroidRuntime(5137): at
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:615)
06-18 06:36:03.065: E/AndroidRuntime(5137): at
android.os.Handler.dispatchMessage(Handler.java:99)
06-18 06:36:03.065: E/AndroidRuntime(5137): at
android.os.Looper.loop(Looper.java:137)
06-18 06:36:03.065: E/AndroidRuntime(5137): at
android.app.ActivityThread.main(ActivityThread.java:4507)
06-18 06:36:03.065: E/AndroidRuntime(5137): at
java.lang.reflect.Method.invokeNative(Native Method)
06-18 06:36:03.065: E/AndroidRuntime(5137): at
java.lang.reflect.Method.invoke(Method.java:511)
06-18 06:36:03.065: E/AndroidRuntime(5137): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790)
06-18 06:36:03.065: E/AndroidRuntime(5137): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
06-18 06:36:03.065: E/AndroidRuntime(5137): at
dalvik.system.NativeStart.main(Native Method)
and the line 329 of av class is:
for (NewsCatalog newsCatalog : result) {
this is the line 329======> if
(!newsCatalog.news1.startsWith("com:")) {
tickers.append(newsCatalog.publishDate.toString());
tickers.append(" - ");
tickers.append(newsCatalog.news1);
tickers.append(" ");
} else {
String command =
newsCatalog.news1.substring(4);
Utils.ExecuteCommand(MainActivityNew.this, command);
}
}
If I don't use PROGUARD all work fine, with PROGUARD enable crash.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2971736