java.lang.NullPointerException

GitHub | SergioHBG | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 212#276347478

    GitHub | 2 months ago | SergioHBG
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.salesforce.ide.core.internal.utils.PackageManifestDocumentUtils.getPackageNode()
    2. com.salesforce.ide
      PackageManifestTree$ManifestContentProvider.getElements
      1. com.salesforce.ide.core.internal.utils.PackageManifestDocumentUtils.getPackageNode(PackageManifestDocumentUtils.java:157)
      2. com.salesforce.ide.ui.packagemanifest.PackageManifestController.getComponentTypesFromCache(PackageManifestController.java:1002)
      3. com.salesforce.ide.ui.packagemanifest.PackageManifestController.createModel(PackageManifestController.java:827)
      4. com.salesforce.ide.ui.packagemanifest.PackageManifestController.updateManifest(PackageManifestController.java:174)
      5. com.salesforce.ide.ui.packagemanifest.PackageManifestController.getEnabledCompTypeTreeNodes(PackageManifestController.java:439)
      6. com.salesforce.ide.ui.packagemanifest.PackageManifestTree$ManifestContentProvider.getElements(PackageManifestTree.java:690)
      6 frames
    3. JFace
      AbstractTreeViewer$1.run
      1. org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:1000)
      2. org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:700)
      3. org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1349)
      4. org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:353)
      5. org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:906)
      6. org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:617)
      7. org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:815)
      7 frames
    4. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    5. JFace
      CheckboxTreeViewer.preservingSelection
      1. org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:791)
      2. org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:611)
      3. org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:762)
      4. org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1541)
      5. org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:790)
      6. org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1525)
      7. org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1462)
      8. org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:366)
      9. org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1423)
      10. org.eclipse.jface.viewers.CheckboxTreeViewer.preservingSelection(CheckboxTreeViewer.java:409)
      10 frames
    6. com.salesforce.ide
      PackageManifestTree$PackageManifestTreeViewer.preservingSelection
      1. com.salesforce.ide.ui.packagemanifest.PackageManifestTree$PackageManifestTreeViewer.preservingSelection(PackageManifestTree.java:417)
      1 frame
    7. JFace
      StructuredViewer.setInput
      1. org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1517)
      2. org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:292)
      3. org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1701)
      3 frames
    8. com.salesforce.ide
      ProjectCustomComponentsDialog.createDialogArea
      1. com.salesforce.ide.ui.packagemanifest.PackageManifestTree.updateTree(PackageManifestTree.java:1693)
      2. com.salesforce.ide.ui.wizards.project.ProjectCustomComponentsComposite.initialize(ProjectCustomComponentsComposite.java:116)
      3. com.salesforce.ide.ui.wizards.project.ProjectCustomComponentsComposite.<init>(ProjectCustomComponentsComposite.java:72)
      4. com.salesforce.ide.ui.wizards.project.ProjectCustomComponentsDialog.createDialogArea(ProjectCustomComponentsDialog.java:59)
      4 frames
    9. JFace
      Dialog.create
      1. org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:768)
      2. org.eclipse.jface.window.Window.create(Window.java:430)
      3. org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
      3 frames
    10. com.salesforce.ide
      ProjectCustomComponentsDialog.create
      1. com.salesforce.ide.ui.wizards.project.ProjectCustomComponentsDialog.create(ProjectCustomComponentsDialog.java:156)
      1 frame
    11. JFace
      Window.open
      1. org.eclipse.jface.window.Window.open(Window.java:792)
      1 frame
    12. com.salesforce.ide
      ProjectProjectContentComposite$8.widgetSelected
      1. com.salesforce.ide.ui.wizards.project.ProjectProjectContentComposite$8.widgetDefaultSelected(ProjectProjectContentComposite.java:294)
      2. com.salesforce.ide.ui.wizards.project.ProjectProjectContentComposite$8.widgetSelected(ProjectProjectContentComposite.java:309)
      2 frames
    13. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      3. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
      4. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
      5. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
      6. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
      6 frames
    14. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
      2. org.eclipse.jface.window.Window.open(Window.java:803)
      2 frames
    15. Eclipse UI
      PropertyDialogAction.run
      1. org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
      1 frame
    16. JFace
      ActionContributionItem$5.handleEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
      2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
      3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
      4. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
      4 frames
    17. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      2. org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
      5 frames
    18. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      1 frame
    19. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    20. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      1 frame
    21. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      1 frame
    22. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
      1 frame
    23. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    24. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
      1 frame
    25. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    26. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
      1 frame
    27. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    28. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      4 frames
    29. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    30. Equinox
      Main.run
      1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
      2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
      3. org.eclipse.equinox.launcher.Main.run(Main.java:1515)
      3 frames