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

Using UncaughtExceptionHandler in Struts Application

I have a web application based on Struts 2 MVC. I had to configure proper logging in the application which i already did and its working fine. What i now want is, i need all the runtime exceptions and error due to system failure (such as lost…
roger_that
  • 9,493
  • 18
  • 66
  • 102
0
votes
2 answers

java.lang.RuntimeException: Unable to start activity in android app

I have an activity with 3 buttons to start the same activity but with different layouts.Button 2 & 3 are working but button 1 is giving a runtime exception (the app is crashing).This is the source code: public class Choose extends Activity…
0
votes
1 answer

Resource not found exception while launching the application

while launching the app i am facing following error. 07-03 01:47:06.218: E/AndroidRuntime(1171): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.wifidemo/com.example.wifidemo.WifiDemoActivity}:…
user1707035
0
votes
1 answer

android fatal exception: unable to instantiate activity

I have 3 classes in my android project: Launch.java SmsReceiver.java StartActivity.java Launch.java is as follows:- package alertApp; import com.alertapp.R; import android.app.Activity; import android.os.Bundle; public class Launch extends…
newbee
  • 409
  • 2
  • 12
  • 34
0
votes
2 answers

RuntimeException: InvocationTargetException in web browser

My Java Applet works perfectly fine when I run from Netbeans and the jar file created works fine too. However, when I embed the applet into the browser, I have this error "RuntimeException java.lang.reflect.InvocationTargetException" I have surfed…
fila90
  • 11
  • 4
0
votes
1 answer

Google+ Games API java.lang.RuntimeException

Hi I whant to build the Google+ Games API in my Game that I am developing. But I have the problem that I can't send scores directly to the API because the Game dosen't run in an Activity. So I whant to send the score to a function in an external…
0
votes
0 answers

mxGraphComponent in Applet

When i use mxGraphComponent in an applet, this applet run in appletviewer in eclipse but it don't run in any browser because it throws an ExceptionInInitializerError Exception. Searching on the internet I have seen that mxGraphComponent should be…
RedVelvet
  • 1,683
  • 3
  • 15
  • 24
0
votes
1 answer

Generics runtime exception

Can someone please explain to me why this would cause a runtime exception? It seems to me like I'm accessing an arraylist of the type variable B exclusively. class A {} class B extends A {} List bL = new ArrayList(); List aL =…
Chip
  • 5
  • 1
  • 3
0
votes
2 answers

java.lang.RuntimeException: Unable to start activity Error inflating class

I'm doing a simple animated application in Android in which I'm using multiple images to create a layout. The initial part of the application is working fine but after calling some activities I get this error: 06-05 09:14:06.752:…
Ashish Pandey
  • 31
  • 1
  • 6
0
votes
1 answer

java.lang.runtimeexception: unable to start activity componentinfo{}: java.lang.nullpointexception

I created a class and activity to simply have user fill out a form and have it stored in database but i'm getting null pointer exception. i've looked up quite a few similar posts but none seems to solve my problem. please let me know what am i doing…
0
votes
2 answers

Android ExceptionInitializerError Can't Create handler inside thread that has not called Looper.prepare()

I am making an app which parses online xml feed. I have used fragment and tabs. below is the code public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this…
user1740281
  • 383
  • 2
  • 5
  • 16
0
votes
1 answer

RunTimeException error

Pls can someone tell my why am having this error?.. i've checked and rechecked my code and everything seems ok to me. but i don't know why when i run it, it gives me this error java.lang.RuntimeException: Can't create handler inside thread that has…
0
votes
2 answers

Is it bad to wrap a process around with a catch of runtime exception?

In java i have a method and a try catch that catches exceptions and also RuntimeException. Are there issues with catching the general RuntimeException?
jon
  • 253
  • 4
  • 8
  • 16
0
votes
0 answers

What causing this Android RuntimeException?

My android app gives me this error from logcat: 05-23 14:51:56.058: E/AndroidRuntime(1191): FATAL EXCEPTION: main 05-23 14:51:56.058: E/AndroidRuntime(1191): java.lang.RuntimeException: Unable to instantiate activity…
user2413632
  • 31
  • 1
  • 1
  • 3
0
votes
0 answers

Type class java.lang.RuntimeException is neither a @NodeEntity nor a @RelationshipEntity

I am trying to upgrade the 'spring-data-neo4j' dependency on our project from 2-1-0-M1 version (using neo4j 1.6) to 2.2.0.RELEASE (with neo4j 1.8.1) version. However, when I change the version of spring-data-neo4j dependency, even to 2.1.0.RELEASE,…
user1971430
  • 77
  • 1
  • 8