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
5
votes
6 answers

Composer install: error on temporary file

I have a problem with windows 10 and composer (last version). When I want to execute command "composer install" in my project, a symphony error is thrown: [Symfony\Component\Process\Exception\RuntimeException] A temporary file could not be opened to…
5
votes
2 answers

Custom RuntimeException not caught

I have my own ApplicationException witch extends RuntimeException: package com.haslerrail.aura.common.exception; public class ApplicationException extends RuntimeException { private static final long serialVersionUID = 1L; private final…
Gatschet
  • 1,337
  • 24
  • 38
5
votes
1 answer

java.lang.NoClassDefFoundError: org/apache/poi/ss/usermodel/Workbook

I use maven to manage my web project dependency. I add apache poi dependency into my pom file. it does not show error when complied. but when it runs, it will throw RuntimeException at my MainApplication() class. while it gives that…
user3120272
  • 53
  • 1
  • 1
  • 3
5
votes
4 answers

Android - FATAL EXCEPTION: main - Unable to start activity ComponentInfo

My problem is that when I run my app on the android emulator the app starts up but quickly crashes and displays the popup: "Unfortunately, TipCalculator has stopped." I have looked through the code and have searched the internet thoroughly for an…
5
votes
6 answers

android uiautomator runtest error didn't find class

recent i tryied getting started with android uiautomation testing. The tutorial from the developer site I've worked through a few times and after having some problems and solving them now I have got a bigger issue. I created a project, imported the…
5
votes
1 answer

Groovy ConfigSlurper gives Class file too large RuntimeException

I am using the Groovy ConfigSlurper to load a large groovy file (741KB) from a Groovy script and consistently receive a RuntimeException when it tries to do the compilation. Groovy 2.1.1, Java 1.6 (Apple/MacOSX) I call it like so: conf = new…
craig.schneider
  • 145
  • 1
  • 4
5
votes
1 answer

RuntimeException using Camera.open()

This is likely an advanced question since I have a a fair bit of experience with developing camera apps for Android and have the basics right. On some phones, when calling Camera.open(0); I get a RuntimeException. My camera app works on most phones…
user2421790
  • 81
  • 1
  • 6
5
votes
3 answers

Error Loading Runtime library in Android Studio

In my android project I am using an external jar library which utilizes a runtime library libiconv.so. I have the library included in my project's lib directory. The library is included for all three architectures in the following directory…
Tariq
  • 2,489
  • 11
  • 36
  • 61
5
votes
1 answer

java.lang.RuntimeException Cannot find FacesContext

I don't know how to continue, but I always get the "java.lang.RuntimeException: Cannot find FacesContext" for my new JSF 1.2 web application. I'm sure it's just some configuration I can't find. The exception occurs with the first f: or h: tag.…
Philipp
  • 4,645
  • 3
  • 47
  • 80
5
votes
4 answers

What causes "RuntimeException: Binary XML file line #20: You must supply a layout_height attribute." (ActionBarScherlock is suspected)?

I have app with ActionBarScherlock and I use ACRA. I receive crash reports from some users with following error: "java.lang.RuntimeException: Binary XML file line #20: You must supply a layout_height attribute. at…
janot
  • 13,578
  • 1
  • 27
  • 57
5
votes
1 answer

Difference between RuntimeException and Exception with @ApplicationException(rollback=true) in EJB container

I call account EJB method in JSF bean like that : try{ account.someFunction(...); }catch(SimRuntimeException e){ logger.log(Level.FATAL, "SimRuntimeException catched !"); }catch(SimNotRuntimeException e){ logger.log(Level.FATAL,…
Olivier J.
  • 3,115
  • 11
  • 48
  • 71
5
votes
2 answers

java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=intent} to activity

In my app I hit a button called Pick Photo and it loads the gallery. When I click an image in the gallery, the app force closes and in my logcat I receive the following: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null,…
Jack
  • 95
  • 1
  • 2
  • 6
4
votes
2 answers

Show/hide item in Action Bar Android (3.0+)

I'm using the built in action bar. I want to display in the action bar an animated loader while fetching data, and display a "refresh" icon when not. The simple way I found is to use 2 menu items and show one / hide the other and then the opposite.…
Quanturium
  • 5,698
  • 2
  • 30
  • 36
4
votes
0 answers

RuntimeException at android.app.ActivityThread.performLaunchActivity

I have this crash that gets reported quite often on Play Console, but I can't reproduce it on my devices, and I'm not really sure what the cause is because the stack trace doesn't seem to be complete java.lang.RuntimeException: at…
I.T.
  • 41
  • 4
4
votes
0 answers

Accessing named sharedpreference from a service

I'm trying to access SharedPreference from a service and getting an error which I cannot find anywhere on the net. Any help is appreciated. Thank you. code sharedPref =…