Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-23301

NullPointerException in XPathQuery.setEffectiveBaseDir

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.2.2.Final
    • None
    • server
    • None

      The following problem was reported via the automated error reporting:

      Message: Problems occurred when invoking code from plug-in: "org.eclipse.ui.navigator".

      java.lang.NullPointerException: null
          at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathQuery.setEffectiveBaseDir(XPathQuery.java:118)
          at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathQuery.setCategory(XPathQuery.java:268)
          at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathCategory.<init>(XPathCategory.java:50)
          at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel.loadXML(XPathModel.java:251)
          at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel.load(XPathModel.java:238)
          at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel.getCategoryCollection(XPathModel.java:136)
          at org.jboss.ide.eclipse.as.core.extensions.descriptors.XPathModel.getCategories(XPathModel.java:143)
          at org.jboss.ide.eclipse.as.ui.views.server.extensions.XPathTreeContentProvider.getChildren(XPathTreeContentProvider.java:79)
          at org.jboss.ide.eclipse.as.ui.views.server.extensions.XPathTreeContentProvider.hasChildren(XPathTreeContentProvider.java:145)
          at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.hasChildren(SafeDelegateTreeContentProvider.java:112)
          at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.callNormalHasChildren(NavigatorContentServiceContentProvider.java:444)
          at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.access$4(NavigatorContentServiceContentProvider.java:439)
          at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider$3.run(NavigatorContentServiceContentProvider.java:407)
          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
          at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:392)
          at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.hasChildren(NavigatorContentServiceContentProvider.java:436)
          at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2128)
          at org.eclipse.jface.viewers.TreeViewer.isExpandable(TreeViewer.java:538)
          at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2166)
          at org.eclipse.jface.viewers.AbstractTreeViewer.updatePlus(AbstractTreeViewer.java:2849)
          at org.eclipse.jface.viewers.TreeViewer.updatePlus(TreeViewer.java:786)
          at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:844)
          at org.eclipse.jface.viewers.AbstractTreeViewer.lambda$0(AbstractTreeViewer.java:820)
          at org.eclipse.jface.viewers.AbstractTreeViewer$$Lambda$.run(null:-1)
          at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
          at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:795)
          at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:596)
          at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:766)
          at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1493)
          at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:882)
          at org.eclipse.jface.viewers.AbstractTreeViewer$3.treeExpanded(AbstractTreeViewer.java:1505)
          at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:132)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      

      Bundles:

      org.eclipse.core.runtime 3.11.0.v20150405-1723 3.12.0.v20160606-1342
      org.eclipse.jface 3.11.0.v20150602-1400 3.12.0.v20160518-1929
      org.eclipse.swt 3.104.0.v20150528-0211 3.105.1.v20160907-0248
      org.eclipse.ui.navigator 3.6.0.v20150422-0725 3.6.100.v20160518-1929
      org.eclipse.wst.server.ui 1.5.202.v201602111638 1.5.306.v201609011808
      org.jboss.ide.eclipse.as.core 3.1.1.Final-v20160409-0826-B118 3.2.1.v20160901-2242
      org.jboss.ide.eclipse.as.ui 3.1.1.Final-v20160409-0826-B118 3.2.1.v20160901-2242
      org.jboss.tools.jmx.ui 1.7.1.Final-v20160409-0826-B118 1.8.0.Final-v20160614-2020-B9

      Operating Systems:

      Linux 3.10.0.28 4.4.0
      MacOSX 10.11.5 10.11.5
      Windows 6.1.0 10.0.0

      The above information is a snapshot of the collected data. Visit this page for the latest data.

      Thank you for your assistance.
      Your friendly error-reports-inbox.

              rob.stryker Rob Stryker (Inactive)
              aer-bot Automated Error Reporting Bot (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: