Questions tagged [runtimeexception]

RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Virtual Machine.

RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Virtual Machine.

1062 questions
0
votes
1 answer

java.lang.ClassNotFoundException on working app?

When i start app in Android 4.1.2 there are no any exception but when i start app in Android 2.3.5 i get this exception: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.russian.apps/com.russian.apps.TabActivity}:…
Musagil
  • 145
  • 1
  • 2
  • 12
0
votes
1 answer

Android TextView append SpannableString forcing java.lang.RuntimeException on Nexus 7

I have a serious problem which crashes my app. I'm loading some text in the app into a TextView. Some parts of this text are clickable and should call another activity - this works fine for most devices. Unfortunatelly it does not work on Nexus 7…
user1494865
  • 37
  • 1
  • 6
0
votes
1 answer

Android: No such column

Here´s my log-file: 05-04 09:29:10.968: E/SQLiteLog(26491): (1) no such column: datum 05-04 09:29:10.968: D/AndroidRuntime(26491): Shutting down VM 05-04 09:29:10.968: W/dalvikvm(26491): threadid=1: thread exiting with uncaught exception…
user896692
  • 2,351
  • 7
  • 36
  • 57
0
votes
1 answer

Android random crashes

Recently I uploaded an app and have received many IllegalStateException and RuntimeException errors. They seem to occur whenever an activity ends/begins but I cant find any explanation. In one of my activities i have a 30 second timer and one user…
0
votes
2 answers

runtime exceptions in android logcat

I want to retrieve data from server (WAMP) database and I want to display in a single listview. I took long time to learn about this finally I implemented but the logcat shows several android runtime errors. I fixed some errors and I posted some…
0
votes
2 answers

Runtime Exception while with 2d array

I wrote a class that has a 2d array that grows based on user input and allows user to enter numbers in array. The user would enter 2 2 for the size and 2 4 5 4 for the numbers It would print out like this 2 2 2 2 It works until I enter an array…
0
votes
1 answer

Rollback with catched RuntimeException

I clearly need some help about transaction roll back. I'm working on a Spring/JPA/Hibernate application. For me, RuntimeException even if they are catched, are rolling back the transaction. I deduce this with some tests (that I can't put here…
DessDess
  • 787
  • 1
  • 6
  • 20
0
votes
2 answers

Transfer data between EditText and Text View

I'm trying to make an activity that take the value of the EditText and put it in the TextView in another activity. This is the code for the first activity which contains a Textview and option menu to edit it public class Saturday extends Activity…
0
votes
0 answers

RuntimeException when trying to getParcelableArray in target activity

I'm trying to pass an array of custom objects to an activity. I've implemented parcelable as such: public class WidgetState { static class Light implements Parcelable { int id; String text; int offColor,onColor; …
JayK
  • 31
  • 5
0
votes
1 answer

RunTimeException in ButtonFragment class

I'm getting a runtime exception from my buttonfragment.class. I doing a fragmented button bar, each button with it's own layout and activity. I've been changing things around and can't figure out where in the fragment class is the error is.…
0
votes
1 answer

Android taking photo when user fails password

I have a DeviceAdminReceiver, and I want to take a picture with the front camera when the user fails the password - but I got an error... The code: @Override public void onPasswordFailed(Context context, Intent intent) { try { …
0
votes
2 answers

java.lang.NullPointerException in android emulator

I am making a application in which i create a list view with two text fields and one check box ....and when i click or check on check box then the both text are added to database. but my emulator force stopped my application. please help ...thanx in…
dev
  • 61
  • 1
  • 8
0
votes
4 answers

IndexOutOfBoundsException showing while running my android program

I am doing an Android map oriented project. I wrote some code to display the direction between two places, but it only works in lower android versions such as 2.0, 2.2, etc. It is not working on Android 4.0 and higher. When I run this code in…
0
votes
2 answers

IndexOutofBoundException showing while my map class is running

Now i am working with a map class to show the direction between two places in map.But when i run this activity it shows a run time exception in logcat.And it specifies index outof bound exception somebody please help me to fix this. My activity…
0
votes
0 answers

Connector.open(String s) causes a RuntimeException

I have a little program here where I try to create a server socket on the port 1234. public class SocketTest { public static void main(String[] args) { try { ServerSocketConnection scn; scn = (ServerSocketConnection)…
Limbo Exile
  • 1,321
  • 2
  • 21
  • 41