diff --git a/packages/core/src/utils/getReactParentNameStack.js b/packages/core/src/utils/getReactParentNameStack.js
index <HASH>..<HASH> 100644
--- a/packages/core/src/utils/getReactParentNameStack.js
+++ b/packages/core/src/utils/getReactParentNameStack.js
@@ -3,6 +3,9 @@ function getReactParentNameStack(componentInstance) {
   const fiber = componentInstance._reactInternalFiber;
   const parentStack = [];
   let owner = fiber;
+  if (!owner) {
+    return parentStack;
+  }
   while ((owner = owner._debugOwner)) {
     if (owner.type.name) {
       parentStack.push(owner.type.name);
Don't error out if can't collect react component callstack.