java.lang.NullPointerException

GitHub | SergioHBG | 2 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.
  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 java.lang.String$CaseInsensitiveComparator.compare()
    2. Java RT
      String$CaseInsensitiveComparator.compare
      1. java.lang.String$CaseInsensitiveComparator.compare(Unknown Source)
      2. java.lang.String$CaseInsensitiveComparator.compare(Unknown Source)
      2 frames
    3. com.salesforce.ide
      FileMetadataExt$1.compare
      1. com.salesforce.ide.core.remote.metadata.FileMetadataExt$1.compare(FileMetadataExt.java:37)
      2. com.salesforce.ide.core.remote.metadata.FileMetadataExt$1.compare(FileMetadataExt.java:1)
      2 frames
    4. Java RT
      Arrays.sort
      1. java.util.TimSort.countRunAndMakeAscending(Unknown Source)
      2. java.util.TimSort.sort(Unknown Source)
      3. java.util.Arrays.sort(Unknown Source)
      3 frames
    5. com.salesforce.ide
      PackageManifestController$1.run
      1. com.salesforce.ide.core.remote.metadata.FileMetadataExt.sort(FileMetadataExt.java:418)
      2. com.salesforce.ide.core.remote.metadata.FileMetadataExt.getFilePropertiesMap(FileMetadataExt.java:322)
      3. com.salesforce.ide.ui.packagemanifest.PackageManifestController$1.run(PackageManifestController.java:298)
      3 frames
    6. JFace
      ProgressMonitorDialog.run
      1. org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:463)
      2. org.eclipse.jface.operation.ModalContext.run(ModalContext.java:371)
      3. org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:500)
      3 frames
    7. Workbench
      ProgressManager.run
      1. org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:284)
      2. org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:1204)
      2 frames
    8. com.salesforce.ide
      PackageManifestTree$ManifestContentProvider.getElements
      1. com.salesforce.ide.ui.packagemanifest.PackageManifestController.updateCache(PackageManifestController.java:295)
      2. com.salesforce.ide.ui.packagemanifest.PackageManifestController.loadAll(PackageManifestController.java:486)
      3. com.salesforce.ide.ui.packagemanifest.PackageManifestController.updateManifest(PackageManifestController.java:173)
      4. com.salesforce.ide.ui.packagemanifest.PackageManifestController.getEnabledCompTypeTreeNodes(PackageManifestController.java:439)
      5. com.salesforce.ide.ui.packagemanifest.PackageManifestTree$ManifestContentProvider.getElements(PackageManifestTree.java:690)
      5 frames
    9. 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
    10. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      1 frame
    11. 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
    12. com.salesforce.ide
      PackageManifestTree$PackageManifestTreeViewer.preservingSelection
      1. com.salesforce.ide.ui.packagemanifest.PackageManifestTree$PackageManifestTreeViewer.preservingSelection(PackageManifestTree.java:417)
      1 frame
    13. 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
    14. 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
    15. 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
    16. com.salesforce.ide
      ProjectCustomComponentsDialog.create
      1. com.salesforce.ide.ui.wizards.project.ProjectCustomComponentsDialog.create(ProjectCustomComponentsDialog.java:156)
      1 frame
    17. JFace
      Window.open
      1. org.eclipse.jface.window.Window.open(Window.java:792)
      1 frame
    18. 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
    19. 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
    20. 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
    21. Eclipse UI
      PropertyDialogAction.run
      1. org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
      1 frame
    22. 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
    23. 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
    24. Eclipse Workbench SWT
      PartRenderingEngine$4.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
      1 frame
    25. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    26. Eclipse Workbench SWT
      PartRenderingEngine.run
      1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
      1 frame
    27. Eclipse Workbench
      E4Workbench.createAndRunUI
      1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
      1 frame
    28. Eclipse UI
      Workbench$5.run
      1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
      1 frame
    29. Databinding
      Realm.runWithDefault
      1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
      1 frame
    30. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
      1 frame
    31. Eclipse UI
      PlatformUI.createAndRunWorkbench
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      1 frame
    32. Eclipse IDE
      IDEApplication.start
      1. org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
      1 frame
    33. Equinox Container
      EclipseAppHandle.run
      1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      1 frame
    34. 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
    35. 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
    36. 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