Root cause
A root cause is an underlying condition or factor that produces or substantially contributes to an observed problem, failure, or outcome.
The Art of Code
A root cause is the underlying condition or defect that initiates or substantially contributes to an observed failure.
- How it is used
- Guides diagnosis from visible failures to validated underlying conditions before implementing a fix.
- How deep it goes
- Explains hot and cold evidence gathering, hypothesis evaluation, and a production heap-dump investigation; it defers detailed diagnostic-tool operation.
- Examples
- Uses a broken web form with an HTTP 500 response and a concurrent Java Excel export that exhausts JVM heap memory.
- What you can do after
- Diagnose/debug with it by tracing reproducible failures or reconstructing intermittent ones, testing explanations, and validating safe fixes.
Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform
The underlying condition or defect that produces an observed software problem.
- How it is used
- Guides debugging toward the underlying source of a microservices problem rather than a change that merely hides its symptoms.
- How deep it goes
- Explains a search using observations, hypotheses, and experiments, then connects the identified cause to fixing, testing, and reflection.
- Examples
- Uses a problem-space isolation figure and a failing automated test that reproduces a bug.
- What you can do after
- Diagnose/debug with it by isolating a defect, checking a fix against a reproducing test, and considering prevention.
Think Like a Software Engineering Manager
A root cause is an underlying factor responsible for an observed outcome, problem, or change.
- How it is used
- Uses root-cause analysis to respond to morale problems, employee departures, and opportunities for process improvement.
- How deep it goes
- Defines the idea and gives diagnostic categories and responses, but stops short of a formal analytical method or causal model.
- Examples
- Uses stressed employees, David’s resignation, family relocation, project dissatisfaction, and postdeparture feedback as practical examples.
- What you can do after
- Diagnose whether a problem is controllable, select a cause-matched response, and turn departures into retention or process improvements.
Read how Think Like a Software Engineering Manager explains root cause →
Troubleshooting Java, Second Edition
The underlying reason a software behavior or failure occurs.
- How it is used
- Guides investigation from an observable failure toward the earlier condition that produced it.
- How deep it goes
- Distinguishes symptoms from causes and outlines a multi-tool investigation, but does not provide a complete diagnostic procedure.
- Examples
- Uses NullPointerException stack traces and deadlock thread dumps as diagnostic examples.
- What you can do after
- Diagnose/debug with it by tracing failures beyond their visible exceptions and selecting further investigation techniques.
Read how Troubleshooting Java, Second Edition explains root cause →
Writing for Developers: Blogs that get read
The underlying defect or condition that produces an observed software failure.
- How it is used
- Guides bug hunts from observed symptoms toward the specific defect or condition producing them.
- How deep it goes
- Traces failures through investigation steps and analysis tools, stopping at identifying the responsible mechanism rather than prescribing universal fixes.
- Examples
- Uses ZFS CPU analysis, Java memory leaks, garbage collection, and Zig translation problems involving legacy C macros.
- What you can do after
- Diagnose/debug with analysis and observability tools by narrowing symptoms to a responsible function, mechanism, or defect.
Read how Writing for Developers: Blogs that get read explains root cause →
Related concepts
- Five Whysaddressed by · The Five Whys is a root-cause analysis technique that repeatedly asks why a problem occurred to trace it toward underlying causes.
- exceptioncontrasts with · An exception is a runtime signal or object representing an abnormal condition that interrupts ordinary program flow and may be handled or propagated.
- cause analysisproduced by · Cause analysis is a systematic investigation of the underlying factors that produced a problem, failure, incident, or other outcome.
- countermeasureaddressed by · A countermeasure is an action or control intended to address a problem or threat by reducing its causes, effects, or likelihood.
- postincident analysisproduced by · Postincident analysis is a structured examination of an incident and its response to understand what occurred, identify causes, and determine improvements or corrective actions.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.




