Questions tagged [runtime-error]

Use this tag to indicate that when an application is run, it reports a runtime error or runtime exception after or during the execution of the application. Use this tag with other tags that indicate programming language being used ([java], [c++], etc.) or for standard utilities or development environments include a tag indicating the application being run ([maven], [visual-studio], [gcc], etc.).

An error that occurs during the execution of a program. In contrast, compile-time errors occur while a program is being compiled. Runtime errors indicate bugs in the program or problems that the designers had anticipated but could do nothing about. For example, running out of memory will often cause a runtime error.

Note that runtime errors differ from bombs or crashes in that you can often recover gracefully from a runtime error.

runtime errors typically provide information about the error such as a stack trace.

When posting a request for help with a runtime error, include a description of what was being done, what behavior was observed, and any stack trace, exception, or other error information. In the case of utilities such as [maven], [ant], or other utilities used with software development, provide a copy of the script being executed as well.

Source: Webopedia

9625 questions
642
votes
11 answers

PHP expects T_PAAMAYIM_NEKUDOTAYIM?

Does anyone have a T_PAAMAYIM_NEKUDOTAYIM?
Peter Turner
  • 11,199
  • 10
  • 68
  • 109
287
votes
14 answers

Android Studio error: "Manifest merger failed: Apps targeting Android 12"

I have updated my emulator version and Android SDK version to Android S (Android 12). After the update, I cannot run the project. I cannot run a Hello, World! project (empty project), but I can build Gradle as well as, but I can not run the project.…
DSF.Inc
  • 3,021
  • 2
  • 6
  • 9
261
votes
21 answers

What causes java.lang.IncompatibleClassChangeError?

I'm packaging a Java library as a JAR, and it's throwing many java.lang.IncompatibleClassChangeErrors when I try to invoke methods from it. These errors seem to appear at random. What kinds of problems could be causing this error?
Zombies
  • 25,039
  • 43
  • 140
  • 225
181
votes
25 answers

How to get users to read error messages?

If you program for a nontechnical audience, you find yourself at a high risk that users will not read your carefully worded and enlightening error messages, but just click on the first button available with a shrug of frustration. So, I'm wondering…
F'x
  • 12,105
  • 7
  • 71
  • 123
136
votes
12 answers

ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'undefined'

I know there are a lot of same questions already posted in stack-overflow and tried different solutions to avoid the run-time error but None of them are working for me. Component and Html Code export class TestComponent implements OnInit,…
Jameel Moideen
  • 7,542
  • 12
  • 51
  • 79
135
votes
5 answers

Why does math.log result in ValueError: math domain error?

I was just testing an example from Numerical Methods in Engineering with Python. from numpy import zeros, array from math import sin, log from newtonRaphson2 import * def f(x): f = zeros(len(x)) f[0] = sin(x[0]) + x[1]**2 + log(x[2]) - 7.0 …
ramanunni.pm
  • 1,619
  • 2
  • 11
  • 9
125
votes
18 answers

Application Crashes With "Internal Error In The .NET Runtime"

We have an application written against .NET 4.0 which over the weekend crashed, putting the following message into the event log: Application: PnrRetrieverService.exe Framework Version: v4.0.30319 Description: The process was terminated due to…
ALEXintlsos
  • 1,809
  • 4
  • 17
  • 17
123
votes
12 answers

"query function not defined for Select2 undefined error"

Trying to use Select2 and getting this error on multiple item input/text field: "query function not defined for Select2 undefined error"
Daniel Morris
  • 6,852
  • 8
  • 25
  • 30
92
votes
20 answers

Unable to boot device in current state: Booted

Any guess on "Unable to boot device in current state: Booted" error in Xcode6 beta while running (build+run) project in Simulator. I am just running my existing project in Xcode 6 I found above message. I tried cleaning, deleting of the derived…
ajay
  • 3,245
  • 4
  • 31
  • 59
91
votes
16 answers

javac: invalid target release: 1.8

I recently downloaded JDK 1.8.0.0_06 that comes bundled with NetBeans. I then got to find out that my JavaFx project, that I have been developing in Java 1.7 won't compile in Java 1.8, and so I stepped down my JDK to 1.7. Still I can't get it to…
Program-Me-Rev
  • 6,184
  • 18
  • 58
  • 142
78
votes
4 answers

Can't create handler inside thread that has not called Looper.prepare() inside AsyncTask for ProgressDialog

I don't understand why I'm getting this error. I'm using AsyncTask to run some processes in the background. I have: protected void onPreExecute() { connectionProgressDialog = new ProgressDialog(SetPreference.this); …
mlevit
  • 2,676
  • 10
  • 42
  • 50
77
votes
2 answers

Null check in VB

All I want to do is check if an object is null, but no matter what I do, if it compiles, it throws a NullReferenceException just trying to check! Here's what I've done: If ((Not (comp.Container Is Nothing)) And (Not (comp.Container.Components Is…
Ky -
  • 30,724
  • 51
  • 192
  • 308
77
votes
10 answers

Matplotlib-Animation "No MovieWriters Available"

Under Linux, I've been checking out matplotlib's animation class, and it seems to work except that I cant initialise the movie writer to write out the movie. Using either of the…
Paradise
  • 1,408
  • 1
  • 14
  • 25
75
votes
1 answer

Definitive List of Common Reasons for Segmentation Faults

NOTE: We have a lot of segfault questions, with largely the same answers, so I'm trying to collapse them into a canonical question like we have for undefined reference. Although we have a question covering what a segmentation fault is, it…
CodeMouse92
  • 6,840
  • 14
  • 73
  • 130
70
votes
14 answers

what does Error "Thread 1:EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)" mean?

I got this error: Thread 1:EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) How can I solve this? The code works normally, but in the calculator when I click the only equal button, it gives that error. @IBAction func equals(sender:…
legolas
  • 725
  • 1
  • 5
  • 7
1
2 3
99 100