Android :: Crashes With No Usefull Stacktrace?
Aug 12, 2009
My app has been pretty stable so forth, and suddenly I keep getting these crashes that kill the entire process. What do they mean and how should I deal with them? Since I dont get any usefull stacktrace I really dont know how to debug this. Below is the dump from my error log.
CODE:...................
View 7 Replies
Aug 18, 2009
Getting a bunch of these errors logged on one of our apps... Not sure exactly whats causing it (doesn't show our app anywhere in the stacktrace)
CODE:......................
Anyone know where to start looking?
View 5 Replies
View Related
Jun 27, 2010
I have an Incredible. I use basic IMAP mail hosted on a server I pay for. I tried K9, and it fails with SSL. See here. I tried redownloading the certificate by reentering the information. This is a temporary fix at best, as it will sporadically on one of my email accounts stop receiving or sending mail, which I verify by checking the k9 errors folder. Then there's HTC mail. You have to jump through hoops to get SSL on SMTP servers, and there's no sending mail over wifi. I have yet to get SSL certificates on outgoing mail to work with HTC mail, which is a requirement. I don't use gmail for business, but I tried the gmail app and noticed: no select, or copy, on the HTC Incredible gmail app. So if I have something like, say, a tracking number, I am screwed. I actually use the web browser to check gmail.com rather than use the app on this phone. At least in K-9, if I hit reply, I can scroll down to body text and select what I need to. Even if the selection isn't done as elegantly as it is in the browser, or in the HTC mail app, it works. I want an email app that just works. Push/IMAP idle would be nice, but I'd settle for something that doesn't have a pile of SSL bugs and wi-fi issues.
View 20 Replies
View Related
Aug 24, 2010
We have written an Android application which sends stack traces to our server, if any occur. Sometimes we get weird stack traces that seem not to be an exception from our application.
For example:
CODE:........
There is no mention of our own classes, only Android's standard classes. It's obvious that this exception takes place when scrolling of item list (ListView) occurs, but I can't even uderstand how I can fix this bug. I can't reproduce this bug.
View 1 Replies
View Related
Nov 14, 2010
Im new to the to the whole android scene. I would like to know the best most usefull/addicting/whatever applications whether it be tools or games or whatever
View 1 Replies
View Related
Dec 5, 2009
I'm trying to display a remote video (mp4 format). When I launch prepare (or prepareSync), Android is crashing (see log view after my piece of code).
I tried with emulator, ADP1 and Hero...
CODE:.........
View 11 Replies
View Related
Jan 10, 2010
Apps, Apps, Apps lets face it this is what really drives the appeal of any smart phone. So now that I'm a new convert to the android world. I'm app hungry and since there are so many apps available I would like some input on what is the best apps to download.
View 5 Replies
View Related
Jul 16, 2010
I'm trying to understand remote services at the moment and everything works fine, i can start the service and know how to communicate with it through the AIDL-interface. My problem is that the service seems to still run in the same process like the activity it was started from, because the activity crashes too, if there is an error thrown in the Service.
I set the service process to remote ( android:process=":remote" ) so what am i doing wrong? Or what do i have to do to unbind the service-process completely from the activity-process?
View 1 Replies
View Related
Feb 9, 2009
I've been using:
Notification.DEFAULT_SOUND
for quite some time with great success. When I replace that with:
Notification.DEFAULT_ALL
the program crashes when the notification is called.
View 4 Replies
View Related
Apr 22, 2010
So i have a app that runs fine on the emulator but crashes (force close message as soon as i open the app) on every device i have tested it on. How can i see whats going on? what could be going on?
View 4 Replies
View Related
Oct 26, 2009
I'm trying to create an application that has 3 tabs. Under the middle tab should be a ListView. It starts up fine (on the left tab) but when I click the middle tab it crashes.
The other two tabs are static data specified in the main.xml file. But the middle tab, I try to create dynamically. Here's the code from the main onCreate function:
CODE:...............
Instead I appear to get an exception:
CODE:...............
ContactListActivity is defined this way:
public class ContactListActivity extends ListActivity { ...
I get the feeling that I'm supposed to create the Intent with something like Intent.ACTION_VIEW but this is where I get lost. If this is the problem, I could try stuff until it works, but I'd prefer to understand why.
Or is ContactListActivity supposed to override something ?
View 2 Replies
View Related
Sep 20, 2009
I'm getting fairly regular crashes using WebView's in the underlying C code (sigsegv's). There isn't a _whole_ lot of rhyme or reason to it, but one thing that is somewhat suspicious is that I have more than one webview active (only one is one the screen at any one time, but if this has anything to do with my problem it may not matter since it appears that webkit widgets run asynchronously from the main UI thread).
Here's the stack dump. I've looked through the archives and it appears that there are other dumps, but it's really hard to tell from my vantagepoint whether they have anything to do with one another.
This is pretty easily reproducible (especially with one particular url of mine) so it should be relatively easy to track down.
CODE:.................
View 3 Replies
View Related
Apr 30, 2009
I am finally testing my application on a G1 and even though it works fine on the emulator, it crashes on the G1
It crashes when it does:
CODE:.........
And the view is defined like this:
CODE:..............
View 3 Replies
View Related
Jan 15, 2010
I use to love Home ++ but lately its been crashing like crazy. I was gonna try GDE but I read some of the comments and that seems to have crashing issues also. Im tired of all the force closes. I have one widget and Im only using five home screens. Why is it closing so much
View 9 Replies
View Related
Nov 16, 2010
intentTest.java:
package intentTest.xyz.com;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button
public class intentTest extends Activity {
Button b;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
b = (Button) findViewById(R.id.b);
b.setOnClickListener( new View.OnClickListener() {
public void onClick(View view) {
Intent intent = new Intent(intentTest.this,seond.class );
startActivity(intent);
}});
}}
main.xml:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="First screen"
/>
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="click"
android:name="@+id/b"
/>
</LinearLayout>
seond.java:
package intentTest.xyz.com;
import android.app.Activity;
import android.os.Bundle;
public class seond extends Activity{
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.second);
} }
second.xml:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="second screen"
/>
manifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="intentTest.xyz.com"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".intentTest"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".seond"></activity>
</application>
</manifest>
I get the following error code:
11-16 01:26:07.156: ERROR/AndroidRuntime(779): Uncaught handler: thread main exiting due to uncaught exception
11-16 01:26:07.166: ERROR/AndroidRuntime(779): java.lang.RuntimeException: Unable to start activity ComponentInfo{intentTest.xyz.com/intentTest.xyz.com.intentTest}: java.lang.NullPointerException
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2401)
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417)
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
at android.app.ActivityThread.access$2100(ActivityThread.java:116)
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
at android.os.Handler.dispatchMessage(Handler.java:99)
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
at android.os.Looper.loop(Looper.java:123)
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
at android.app.ActivityThread.main(ActivityThread.java:4203)
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
at java.lang.reflect.Method.invokeNative(Native Method)
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
at java.lang.reflect.Method.invoke(Method.java:521)
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
at dalvik.system.NativeStart.main(Native Method)
11-16 01:26:07.166: ERROR/AndroidRuntime(779): Caused by: java.lang.NullPointerException
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
at intentTest.xyz.com.intentTest.onCreate(intentTest.java:18)
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364)
11-16 01:26:07.166: ERROR/AndroidRuntime(779):
... 11 more
View 5 Replies
View Related
Jun 3, 2010
Anyone else having problems with their Incredible crashing and rebooting? Happened to me first a week ago, I thought it was a fluke while sending a txt message it randomly rebooted. Today it happened again while listening to the mp3 player with the screen locked and in my pocket.
View 1 Replies
View Related
Mar 23, 2010
I have an activity in my app, when i call the line
EditText username = (EditText)findViewById(R.id.usernameText); the app crashes, why is this?
View 3 Replies
View Related
Sep 27, 2010
I have separated java code from Android code and have two projects. Android dependent on Java project. Now i want to get the memory trace of the Java project on Android. For that I have created Androd Junit Project implementing Android Instrumentation, and a dummy android project dependent on my actual java project.(as I only want to get memory trace of java project on android).Problem is when I execute Android Junit project, and give a reference of dummy project removing java project dependency, all tests(dummy) run fine.But when I run junit project, with dummy android proj keeping dependency on java project, my application crashes.I get an error message like : "Process crash" not getting any error message in logcat. No clue whats wrong with code.Any help is highly needed.
View 1 Replies
View Related
Dec 7, 2009
I want to use a map in my application but I can't get it to run.
It always crashes with the following error:
CODE:.....
My XML file:
CODE:...................
My layout:
CODE:...............
In my code I add the map like this:
CODE:.............
View 5 Replies
View Related
Jun 17, 2010
Can someone explain to me why this AlertDialog crashes? code...
View 1 Replies
View Related
Nov 19, 2010
In my application I've implemented such that pressing the hardware volume keys displays a Toast with the current volume. Things go well most of the times. However long presses of the volume keys do succeed in crashing my application. The Log generated on crash is the following...
The approach I follow:
I have a toast Object and for every key press event detected I inflate a view ,set the view elements within, set it to the toast and then show the toast.
Any idea what is going wrong ? code...
View 1 Replies
View Related
May 26, 2010
My app crashes when the device orientation changes..Tried debugging on real device, but I have no clue where the crash exactly happens.. I would appreciate if someone could throw some light on this:
Below is the error log...
View 2 Replies
View Related
Nov 25, 2009
I'm experiencing crashes that don't produce a "force close" message. Instead, the app exits immediately without an error message. In the log, it seems the problem is inside the framework's libraries but I don't really know how to interpret it.
Here it is:
CODE:.............................
View 3 Replies
View Related
Oct 3, 2010
I've been writing a simple drawing App as homework for university. Drawing works fine, but the canvas should also be cleared when the App is coming back from the background. When switching back i get the following code...
View 2 Replies
View Related
Mar 11, 2009
I should post this as a follow-up to my previous thread.
But I think this problem (may be) somewhat big so I create a new thread:
1. If a user install an alternative to 'Home'. (I'll call it 2nd Home)
2. He set this 2nd Home to launch by default for 'Home' action.
3. Whenever this 2nd Home crashes, their only choice is to reboot the system... ?
Because, after setting 2nd Home as default, the 'chooser' will not come out any more even if you press the 'Home' button.
In some case if this 2nd Home crashes in its initialization state, user can go no where, can't even go to Settings -> Manage App -> Clear Defaults
Am I missing something?
View 3 Replies
View Related
Mar 14, 2009
When i add Internet permissions to my manifest file my application refuses to even start and i get this in my console code...
fix this? code....
View 2 Replies
View Related
Oct 16, 2010
I'm having a bit of trouble with an Android app that I'm working on (mostly for practice and learning purposes) that uses the AudioManager object.
When defining the AudioManager as follows, however, the app crashes when I run it:
CODE:................
When I simply comment out the AudioManager declaration, the app does not crash. Any ideas as far as what I'm doing wrong? I'm a bit of a beginner to Android development, so I have a feeling that I'm missing something obvious.
I've also tried adding the android.permission.MODIFY_AUDIO_SETTINGS and android.permission.MODIFY_PHONE_STATE permissions to the AndroidManifest.xml file, but that has made no difference.
View 1 Replies
View Related
Jan 18, 2010
I am trying to run an application on an android emulator, but it crashes. i am following a howto
i don't know what to do, it just crashes. other applications are running fine, can anyone tell me what i am doing wrong.here is the code...
View 4 Replies
View Related
Apr 16, 2010
Is there any way to catch crashes in my own android app? Something like a global uncaught exception handler? Just wondering if I could install something like that, then if an uncaught exception is thrown, I could pop up a dialog for the user and ask if they want to mail a dump of the exception to me.
View 2 Replies
View Related
Nov 17, 2010
I have an app that is setting the contentView when images are clicked.This one from my main.xml loads the options.xml fine.code...
But when I add a listener to an image that is inside the options.xml the app crashes upon launch.I am referencing the image via the code below and showing the clickListener I am adding.code...
Trying to see if there was an error thrown but LogCat does not seem to show anything.
View 1 Replies
View Related