Questions tagged [fault]

A fault is the immediate cause of a failure. It might be e.g. an incorrect statement in a method. The execution of the faulty method might result in a failure at execution time.

A fault is distinct from a failure and an error.

A fault is the immediate cause of a failure. It might be e.g. an incorrect statement in a method. The execution of the faulty method might result in a failure of a program at execution time.

A definition can be found in IEEE Standard 610.12-1990 IEEE Standard Glossary of Software Engineering Terminology

492 questions
56
votes
2 answers

WCF ExceptionShielding Error ID does not match up with handlingInstanceId passed to Handler

I have the following decorated on my service when a fault exception is thrown, my policy picks up the error and logs in just fine. It takes the handlingInstance Id and logs it along with the error for…
wakurth
  • 1,644
  • 1
  • 23
  • 39
40
votes
5 answers

Core Data -existingObjectWithID:error: causes error 133000

My app uses Core Data (with some help of Magical Record) and is rather heavily multithreaded using NSOperation. Of course I am very careful to only pass around NSManagedObjectID between threads/operations. Now, to get back to the corresponding…
Jean-Denis Muys
  • 6,772
  • 7
  • 45
  • 71
32
votes
4 answers

Coredata - "NSObjectInaccessibleException - CoreData could not fulfill a fault"

I am new to Core data and still figuring out the nuts and bolts and this error has been bugging me for hours and I cant seem to find a solution. Any help is greatly appreciated. The problem is like this I have two views which fetch data from the…
Naz Mir
  • 1,028
  • 1
  • 9
  • 19
26
votes
3 answers

What is difference between fault tolerance and fault resilience?

I am reading Spring Cloud and NetFlix APIs. Many places, I read Fault Tolerance and Fault Resilience keyword. Please explain the difference.
Ashish Patel
  • 507
  • 1
  • 7
  • 14
21
votes
1 answer

WCF IncludeExceptionDetailInFaults programmatically?

I have the following in a config file, and I am trying to find the equivalent bits in C#, as I have a service that is configured fully programmatically. What class/property/method should I look for? Thanks.
Snowy
  • 5,942
  • 19
  • 65
  • 119
17
votes
6 answers

Gulp: Segmentation Fault 11 after Node 4.0 update

I just updated to Node 4. When I run Gulp, I see: Segmentation fault: 11 My includes: var gulp = require('gulp'); var jscs = require('gulp-jscs'); var concat = require('gulp-concat'); var uglify = require('gulp-uglify'); var rename =…
Union find
  • 7,759
  • 13
  • 60
  • 111
15
votes
4 answers

Fault injection for .NET apps?

I am wondering if anyone knows of tools or techniques to automatically inject common faults into a running .NET program. Stuff like... Randomly inject an OutOfMemoryException upon allocation Randomly inject FileNotFoundException upon trying to…
noctonura
  • 12,763
  • 10
  • 52
  • 85
15
votes
0 answers

Using the Linux Fault Injection framework

I'm trying to use the Linux fault injection framework to inject page allocation faults. I'm trying to use the failcmd.sh script provided with the Linux kernel in tools/testing/fault-injection/. After setting variable FAILCMD_TYPE to fail_page_alloc,…
user1509318
  • 159
  • 3
14
votes
3 answers

Core Data - break retain cycle of the parent context

Let's say we have two entities in a Core Data model: Departments and Employees. The Department has a one-to-many relationship to Employees. I have the following ManagedObjectContexts: - Root: connected to the Persistent Store Coordinator - Main:…
Yvo
  • 18,681
  • 11
  • 71
  • 90
12
votes
5 answers

Swift: segmentation fault when compiling for Archive from iOS 7

I've always had this issue so I started creating a new single-view application, in Swift, for both iPhone and iPad. When the target is iOS 8.1 everything works fine, but if I set iOS 7.1 (or 7), i get a Segmentation fault. This happens when i go to…
FrCr
  • 263
  • 7
  • 19
10
votes
5 answers

FaultException.Detail coming back empty

I am trying to catch a given FaultException on a WCF client. I basically need to extract a inner description from the fault class so that I can then package it in another exception for the upper layers to do whatever. I've done this successfully a…
JohnIdol
  • 48,899
  • 61
  • 158
  • 242
9
votes
6 answers

Why do my WCF service returning a FaultException, time out after 10 calls?

I have a WCF service that sometimes has to return a Fault. For some reason, the calls to my service begins to time out with the following error: "The request channel timed out while waiting for a reply after 00:00:59.8906201. Increase the timeout…
Jesper Kihlberg
  • 546
  • 1
  • 4
  • 16
9
votes
3 answers

Determine whether memory location is in CPU cache

It is possible for an operating system to determine whether a page of memory is in DRAM or in swap; for example, simply try to access it and if a page fault occurs, it wasn't. However, is the same thing possible with CPU cache? Is there any…
Mike A
  • 1,273
  • 12
  • 13
9
votes
3 answers

How to Handle WCF Fault Exception

I am trying to add more information regarding a SOAP fault in a open source client application. The client is setup to call "HandleFault" whenever it encounters any SOAP fault. The Handle Fault method is shown below: public static void…
8
votes
1 answer

NSFetchRequest setReturnsObjectsAsFaults: doesn't work

I'm working on an application based on Core Data. I'm doing a fetch on Item. I don't want the fetched objects to be fault when returned because I'm sure they will be accessed immediately. Thus, I set the returnsObjectsAsFaults to be NO. However,…
Mindy
  • 429
  • 4
  • 6
1
2 3
32 33