diff --git a/android/sdk/src/main/java/com/tencent/mtt/hippy/bridge/HippyBridgeManagerImpl.java b/android/sdk/src/main/java/com/tencent/mtt/hippy/bridge/HippyBridgeManagerImpl.java index 8205b391d41..a50678f49db 100644 --- a/android/sdk/src/main/java/com/tencent/mtt/hippy/bridge/HippyBridgeManagerImpl.java +++ b/android/sdk/src/main/java/com/tencent/mtt/hippy/bridge/HippyBridgeManagerImpl.java @@ -499,7 +499,9 @@ public void run() { private void notifyModuleLoaded(final ModuleLoadStatus statusCode, final String msg, final HippyRootView hippyRootView) { - mLoadModuleListener.onLoadCompletedInCurrentThread(statusCode, msg, hippyRootView); + if (mLoadModuleListener != null) { + mLoadModuleListener.onLoadCompletedInCurrentThread(statusCode, msg, hippyRootView); + } Runnable action = new Runnable() { @Override public void run() {