java.lang.NullPointerException

GitHub | EgyptianM | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at im.delight.android.webview.AdvancedWebView.init()
  2. im.delight.android
    AdvancedWebView.<init>
    1. im.delight.android.webview.AdvancedWebView.init(AdvancedWebView.java:389)
    2. im.delight.android.webview.AdvancedWebView.<init>(AdvancedWebView.java:112)
    2 frames
  3. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    4 frames
  4. JetBrains android
    ViewLoader.loadView
    1. org.jetbrains.android.uipreview.ViewLoader.createNewInstance(ViewLoader.java:465)
    2. org.jetbrains.android.uipreview.ViewLoader.loadClass(ViewLoader.java:172)
    3. org.jetbrains.android.uipreview.ViewLoader.loadView(ViewLoader.java:105)
    3 frames
  5. com.android.tools
    LayoutlibCallbackImpl.loadView
    1. com.android.tools.idea.rendering.LayoutlibCallbackImpl.loadView(LayoutlibCallbackImpl.java:178)
    1 frame
  6. Android Platform
    LayoutInflater.inflate
    1. android.view.BridgeInflater.loadCustomView(BridgeInflater.java:247)
    2. android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:171)
    3. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)
    4. android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:858)
    5. android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)
    6. android.view.LayoutInflater.rInflate(LayoutInflater.java:834)
    7. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
    8. android.view.LayoutInflater_Delegate.parseInclude(LayoutInflater_Delegate.java:197)
    9. android.view.LayoutInflater.parseInclude(LayoutInflater.java:902)
    10. android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:854)
    11. android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)
    12. android.view.LayoutInflater.rInflate(LayoutInflater.java:834)
    13. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
    14. android.view.LayoutInflater.inflate(LayoutInflater.java:518)
    15. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    15 frames
  7. com.android.layoutlib
    Bridge.createSession
    1. com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:317)
    2. com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:429)
    2 frames
  8. com.android.tools.sdk-common
    LayoutLibrary.createSession
    1. com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:389)
    1 frame
  9. com.android.tools
    RenderTask$2.compute
    1. com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:548)
    2. com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:533)
    2 frames
  10. IDEA
    ApplicationImpl.runReadAction
    1. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:962)
    1 frame
  11. com.android.tools
    NlPreviewManager$3.run
    1. com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:533)
    2. com.android.tools.idea.rendering.RenderTask.lambda$inflate$58(RenderTask.java:659)
    3. com.android.tools.idea.rendering.RenderService.runRenderAction(RenderService.java:380)
    4. com.android.tools.idea.rendering.RenderTask.inflate(RenderTask.java:659)
    5. com.android.tools.idea.uibuilder.model.NlModel.inflate(NlModel.java:327)
    6. com.android.tools.idea.uibuilder.model.NlModel.render(NlModel.java:384)
    7. com.android.tools.idea.uibuilder.editor.NlPreviewForm$Pending.<init>(NlPreviewForm.java:234)
    8. com.android.tools.idea.uibuilder.editor.NlPreviewForm.setFile(NlPreviewForm.java:293)
    9. com.android.tools.idea.uibuilder.editor.NlPreviewManager$3.run(NlPreviewManager.java:290)
    9 frames
  12. Openapi
    MergingUpdateQueue$3.run
    1. com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:333)
    2. com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:323)
    3. com.intellij.util.ui.update.MergingUpdateQueue$3.run(MergingUpdateQueue.java:267)
    3 frames
  13. IDEA
    UIUtil.invokeLaterIfNeeded
    1. com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2440)
    1 frame
  14. Openapi
    QueueProcessor.runSafely
    1. com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:279)
    2. com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:234)
    3. com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
    3 frames
  15. IDEA
    Alarm$Request.run
    1. com.intellij.util.Alarm$Request$1.run(Alarm.java:378)
    2. com.intellij.util.Alarm$Request.run(Alarm.java:398)
    2 frames
  16. Java RT
    FutureTask.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2 frames
  17. Openapi
    SchedulingWrapper$MyScheduledFutureTask.run
    1. com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:227)
    1 frame
  18. Java RT
    EventQueue.dispatchEvent
    1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    3. java.awt.EventQueue.access$500(EventQueue.java:97)
    4. java.awt.EventQueue$3.run(EventQueue.java:709)
    5. java.awt.EventQueue$3.run(EventQueue.java:703)
    6. java.security.AccessController.doPrivileged(Native Method)
    7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    8 frames
  19. IDEA
    IdeEventQueue.dispatchEvent
    1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:857)
    2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:658)
    3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
    3 frames
  20. Java RT
    EventDispatchThread.run
    1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    6 frames