javax.xml.xpath.XPathExpressionException

Appcelerator JIRA | Shreya Chowbey | 3 years 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

    Steps Followed: 1. Create a Classic Mobile App with or without Cloud Services. Actual Result: NPE found in the log file. Please observe the attached log file for further clarification. {code} !ENTRY com.appcelerator.titanium.core 4 0 2013-11-18 15:09:50.442 !MESSAGE (Build 3.2.0.201311161724) [ERROR] null !STACK 0 java.lang.NullPointerException at com.sun.org.apache.xml.internal.dtm.ref.dom2dtm.DOM2DTM.getLocalName(Unknown Source) at com.sun.org.apache.xpath.internal.patterns.NodeTest.execute(Unknown Source) at com.sun.org.apache.xpath.internal.axes.PredicatedNodeTest.acceptNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.AxesWalker.nextNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.WalkingIterator.nextNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.NodeSequence.nextNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.NodeSequence.runTo(Unknown Source) at com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList.<init>(Unknown Source) at com.sun.org.apache.xpath.internal.objects.XNodeSet.nodelist(Unknown Source) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.getResultAsType(Unknown Source) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(Unknown Source) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(Unknown Source) at com.appcelerator.titanium.core.tiapp.TiAppModel.getNodes(TiAppModel.java:384) at com.appcelerator.titanium.core.tiapp.TiAppModel.getValues(TiAppModel.java:286) at com.appcelerator.titanium.core.tiapp.TiAppModel.getValue(TiAppModel.java:350) at com.appcelerator.titanium.core.tiapp.TiAppModel.getTiAppValue(TiAppModel.java:1306) at com.appcelerator.titanium.core.tiapp.TiAppModel.hasDeployTargetEnabled(TiAppModel.java:1268) at com.appcelerator.titanium.core.TitaniumProject.isDeployTarget(TitaniumProject.java:330) at com.appcelerator.titanium.core.expressions.TitaniumProjectPropertyTester.test(TitaniumProjectPropertyTester.java:115) at org.eclipse.core.internal.expressions.Property.test(Property.java:58) at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:150) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29) at org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29) at org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:53) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalEnablementExpression(LaunchShortcutExtension.java:287) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getLaunchShortcuts(LaunchConfigurationManager.java:717) at com.appcelerator.titanium.ui.LaunchAppToolbarContribution.loadShortcuts(LaunchAppToolbarContribution.java:136) at com.appcelerator.titanium.ui.LaunchAppToolbarContribution.access$4(LaunchAppToolbarContribution.java:130) at com.appcelerator.titanium.ui.LaunchAppToolbarContribution$ProjectExplorerSelectionListener$1.run(LaunchAppToolbarContribution.java:122) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145) at org.eclipse.swt.widgets.Shell.WM_ENTERIDLE(Shell.java:2239) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4627) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4990) at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method) at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:257) at org.eclipse.swt.widgets.Display.runPopups(Display.java:4211) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3753) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450) --------------- linked to ------------------ javax.xml.xpath.XPathExpressionException at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(Unknown Source) at com.appcelerator.titanium.core.tiapp.TiAppModel.getNodes(TiAppModel.java:384) at com.appcelerator.titanium.core.tiapp.TiAppModel.getValues(TiAppModel.java:286) at com.appcelerator.titanium.core.tiapp.TiAppModel.getValue(TiAppModel.java:350) at com.appcelerator.titanium.core.tiapp.TiAppModel.getTiAppValue(TiAppModel.java:1306) at com.appcelerator.titanium.core.tiapp.TiAppModel.hasDeployTargetEnabled(TiAppModel.java:1268) at com.appcelerator.titanium.core.TitaniumProject.isDeployTarget(TitaniumProject.java:330) at com.appcelerator.titanium.core.expressions.TitaniumProjectPropertyTester.test(TitaniumProjectPropertyTester.java:115) at org.eclipse.core.internal.expressions.Property.test(Property.java:58) at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:150) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29) at org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29) at org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:53) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalEnablementExpression(LaunchShortcutExtension.java:287) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getLaunchShortcuts(LaunchConfigurationManager.java:717) at com.appcelerator.titanium.ui.LaunchAppToolbarContribution.loadShortcuts(LaunchAppToolbarContribution.java:136) at com.appcelerator.titanium.ui.LaunchAppToolbarContribution.access$4(LaunchAppToolbarContribution.java:130) at com.appcelerator.titanium.ui.LaunchAppToolbarContribution$ProjectExplorerSelectionListener$1.run(LaunchAppToolbarContribution.java:122) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145) at org.eclipse.swt.widgets.Shell.WM_ENTERIDLE(Shell.java:2239) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4627) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4990) at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method) at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:257) at org.eclipse.swt.widgets.Display.runPopups(Display.java:4211) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3753) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450) Caused by: java.lang.NullPointerException at com.sun.org.apache.xml.internal.dtm.ref.dom2dtm.DOM2DTM.getLocalName(Unknown Source) at com.sun.org.apache.xpath.internal.patterns.NodeTest.execute(Unknown Source) at com.sun.org.apache.xpath.internal.axes.PredicatedNodeTest.acceptNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.AxesWalker.nextNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.WalkingIterator.nextNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.NodeSequence.nextNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.NodeSequence.runTo(Unknown Source) at com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList.<init>(Unknown Source) at com.sun.org.apache.xpath.internal.objects.XNodeSet.nodelist(Unknown Source) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.getResultAsType(Unknown Source) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(Unknown Source) ... 61 more {code}

    Appcelerator JIRA | 3 years ago | Shreya Chowbey
    javax.xml.xpath.XPathExpressionException
  2. 0

    Steps Followed: 1. Create a Classic Mobile App with or without Cloud Services. Actual Result: NPE found in the log file. Please observe the attached log file for further clarification. {code} !ENTRY com.appcelerator.titanium.core 4 0 2013-11-18 15:09:50.442 !MESSAGE (Build 3.2.0.201311161724) [ERROR] null !STACK 0 java.lang.NullPointerException at com.sun.org.apache.xml.internal.dtm.ref.dom2dtm.DOM2DTM.getLocalName(Unknown Source) at com.sun.org.apache.xpath.internal.patterns.NodeTest.execute(Unknown Source) at com.sun.org.apache.xpath.internal.axes.PredicatedNodeTest.acceptNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.AxesWalker.nextNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.WalkingIterator.nextNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.NodeSequence.nextNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.NodeSequence.runTo(Unknown Source) at com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList.<init>(Unknown Source) at com.sun.org.apache.xpath.internal.objects.XNodeSet.nodelist(Unknown Source) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.getResultAsType(Unknown Source) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(Unknown Source) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(Unknown Source) at com.appcelerator.titanium.core.tiapp.TiAppModel.getNodes(TiAppModel.java:384) at com.appcelerator.titanium.core.tiapp.TiAppModel.getValues(TiAppModel.java:286) at com.appcelerator.titanium.core.tiapp.TiAppModel.getValue(TiAppModel.java:350) at com.appcelerator.titanium.core.tiapp.TiAppModel.getTiAppValue(TiAppModel.java:1306) at com.appcelerator.titanium.core.tiapp.TiAppModel.hasDeployTargetEnabled(TiAppModel.java:1268) at com.appcelerator.titanium.core.TitaniumProject.isDeployTarget(TitaniumProject.java:330) at com.appcelerator.titanium.core.expressions.TitaniumProjectPropertyTester.test(TitaniumProjectPropertyTester.java:115) at org.eclipse.core.internal.expressions.Property.test(Property.java:58) at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:150) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29) at org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29) at org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:53) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalEnablementExpression(LaunchShortcutExtension.java:287) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getLaunchShortcuts(LaunchConfigurationManager.java:717) at com.appcelerator.titanium.ui.LaunchAppToolbarContribution.loadShortcuts(LaunchAppToolbarContribution.java:136) at com.appcelerator.titanium.ui.LaunchAppToolbarContribution.access$4(LaunchAppToolbarContribution.java:130) at com.appcelerator.titanium.ui.LaunchAppToolbarContribution$ProjectExplorerSelectionListener$1.run(LaunchAppToolbarContribution.java:122) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145) at org.eclipse.swt.widgets.Shell.WM_ENTERIDLE(Shell.java:2239) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4627) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4990) at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method) at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:257) at org.eclipse.swt.widgets.Display.runPopups(Display.java:4211) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3753) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450) --------------- linked to ------------------ javax.xml.xpath.XPathExpressionException at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(Unknown Source) at com.appcelerator.titanium.core.tiapp.TiAppModel.getNodes(TiAppModel.java:384) at com.appcelerator.titanium.core.tiapp.TiAppModel.getValues(TiAppModel.java:286) at com.appcelerator.titanium.core.tiapp.TiAppModel.getValue(TiAppModel.java:350) at com.appcelerator.titanium.core.tiapp.TiAppModel.getTiAppValue(TiAppModel.java:1306) at com.appcelerator.titanium.core.tiapp.TiAppModel.hasDeployTargetEnabled(TiAppModel.java:1268) at com.appcelerator.titanium.core.TitaniumProject.isDeployTarget(TitaniumProject.java:330) at com.appcelerator.titanium.core.expressions.TitaniumProjectPropertyTester.test(TitaniumProjectPropertyTester.java:115) at org.eclipse.core.internal.expressions.Property.test(Property.java:58) at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:150) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29) at org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29) at org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70) at org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53) at org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:53) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalEnablementExpression(LaunchShortcutExtension.java:287) at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getLaunchShortcuts(LaunchConfigurationManager.java:717) at com.appcelerator.titanium.ui.LaunchAppToolbarContribution.loadShortcuts(LaunchAppToolbarContribution.java:136) at com.appcelerator.titanium.ui.LaunchAppToolbarContribution.access$4(LaunchAppToolbarContribution.java:130) at com.appcelerator.titanium.ui.LaunchAppToolbarContribution$ProjectExplorerSelectionListener$1.run(LaunchAppToolbarContribution.java:122) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145) at org.eclipse.swt.widgets.Shell.WM_ENTERIDLE(Shell.java:2239) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4627) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4990) at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method) at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:257) at org.eclipse.swt.widgets.Display.runPopups(Display.java:4211) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3753) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) at org.eclipse.equinox.launcher.Main.run(Main.java:1450) Caused by: java.lang.NullPointerException at com.sun.org.apache.xml.internal.dtm.ref.dom2dtm.DOM2DTM.getLocalName(Unknown Source) at com.sun.org.apache.xpath.internal.patterns.NodeTest.execute(Unknown Source) at com.sun.org.apache.xpath.internal.axes.PredicatedNodeTest.acceptNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.AxesWalker.nextNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.WalkingIterator.nextNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.NodeSequence.nextNode(Unknown Source) at com.sun.org.apache.xpath.internal.axes.NodeSequence.runTo(Unknown Source) at com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList.<init>(Unknown Source) at com.sun.org.apache.xpath.internal.objects.XNodeSet.nodelist(Unknown Source) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.getResultAsType(Unknown Source) at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(Unknown Source) ... 61 more {code}

    Appcelerator JIRA | 3 years ago | Shreya Chowbey
    javax.xml.xpath.XPathExpressionException
  3. 0

    XPath Java parsing xml document under more conditions

    Stack Overflow | 2 years ago
    javax.xml.xpath.XPathExpressionException: javax.xml.transform.TransformerException: Unknown error in XPath.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hi, Our logs get polluted by this - and get the Jenkins server to hang: {code:xml}INFO | jvm 2 | 2013/11/06 13:48:11 | [Fatal Error] build.xml:1037:741: Character reference "&# INFO | jvm 2 | 2013/11/06 13:48:11 | Nov 06, 2013 1:48:11 PM jenkins.diagnostics.ooom.Problem$Inspector scan INFO | jvm 2 | 2013/11/06 13:48:11 | WARNING: Failed to inspect D:\build\hudson\jobs\ws-kredit-kreditansoegning trunk NB\modules\dk.nykredit.kredit.kreditansoegning$kreditansoegning-service\builds\828 INFO | jvm 2 | 2013/11/06 13:48:11 | org.xml.sax.SAXParseException; systemId: file:/D:/build/hudson/jobs/ws-kredit-kreditansoegning%20trunk%20NB/modules/dk.nykredit.kredit.kreditansoegning$kreditansoegning-service/builds/828/build.xml; lineNumber: 1037; columnNumber: 741; Character reference "&# INFO | jvm 2 | 2013/11/06 13:48:11 | at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) INFO | jvm 2 | 2013/11/06 13:48:11 | at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) INFO | jvm 2 | 2013/11/06 13:48:11 | at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(Unknown Source) INFO | jvm 2 | 2013/11/06 13:48:11 | at jenkins.diagnostics.ooom.Problem$Inspector.loadBuildNumberFromBuildXml(Problem.java:295) INFO | jvm 2 | 2013/11/06 13:48:11 | at jenkins.diagnostics.ooom.Problem$Inspector.scan(Problem.java:222) INFO | jvm 2 | 2013/11/06 13:48:11 | at jenkins.diagnostics.ooom.Problem$Inspector.inspect(Problem.java:139) INFO | jvm 2 | 2013/11/06 13:48:11 | at jenkins.diagnostics.ooom.Problem.<init>(Problem.java:61) INFO | jvm 2 | 2013/11/06 13:48:11 | at jenkins.diagnostics.ooom.Problem.find(Problem.java:54) INFO | jvm 2 | 2013/11/06 13:48:11 | at jenkins.diagnostics.ooom.OutOfOrderBuildDetector.execute(OutOfOrderBuildDetector.java:44) INFO | jvm 2 | 2013/11/06 13:48:11 | at jenkins.diagnostics.ooom.OutOfOrderBuildDetector.execute(OutOfOrderBuildDetector.java:31) INFO | jvm 2 | 2013/11/06 13:48:11 | at hudson.model.AsyncPeriodicWork$1.run(AsyncPeriodicWork.java:53) INFO | jvm 2 | 2013/11/06 13:48:11 | at java.lang.Thread.run(Unknown Source) INFO | jvm 2 | 2013/11/06 13:48:11 | --------------- linked to ------------------ INFO | jvm 2 | 2013/11/06 13:48:11 | javax.xml.xpath.XPathExpressionException INFO | jvm 2 | 2013/11/06 13:48:11 | at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(Unknown Source) INFO | jvm 2 | 2013/11/06 13:48:11 | at jenkins.diagnostics.ooom.Problem$Inspector.loadBuildNumberFromBuildXml(Problem.java:295) INFO | jvm 2 | 2013/11/06 13:48:11 | at jenkins.diagnostics.ooom.Problem$Inspector.scan(Problem.java:222) INFO | jvm 2 | 2013/11/06 13:48:11 | at jenkins.diagnostics.ooom.Problem$Inspector.inspect(Problem.java:139) INFO | jvm 2 | 2013/11/06 13:48:11 | at jenkins.diagnostics.ooom.Problem.<init>(Problem.java:61) INFO | jvm 2 | 2013/11/06 13:48:11 | at jenkins.diagnostics.ooom.Problem.find(Problem.java:54) INFO | jvm 2 | 2013/11/06 13:48:11 | at jenkins.diagnostics.ooom.OutOfOrderBuildDetector.execute(OutOfOrderBuildDetector.java:44) INFO | jvm 2 | 2013/11/06 13:48:11 | at jenkins.diagnostics.ooom.OutOfOrderBuildDetector.execute(OutOfOrderBuildDetector.java:31) INFO | jvm 2 | 2013/11/06 13:48:11 | at hudson.model.AsyncPeriodicWork$1.run(AsyncPeriodicWork.java:53) INFO | jvm 2 | 2013/11/06 13:48:11 | at java.lang.Thread.run(Unknown Source) INFO | jvm 2 | 2013/11/06 13:48:11 | Caused by: org.xml.sax.SAXParseException; systemId: file:/D:/build/hudson/jobs/ws-kredit-kreditansoegning%20trunk%20NB/modules/dk.nykredit.kredit.kreditansoegning$kreditansoegning-service/builds/828/build.xml; lineNumber: 1037; columnNumber: 741; Character reference "&# INFO | jvm 2 | 2013/11/06 13:48:11 | at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source) INFO | jvm 2 | 2013/11/06 13:48:11 | at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source) INFO | jvm 2 | 2013/11/06 13:48:11 | ... 10 more INFO | jvm 2 | 2013/11/06 13:48:11 | {code}

    Jenkins JIRA | 3 years ago | clausfod
    javax.xml.xpath.XPathExpressionException
  6. 0

    JTidy upgrade broke document xpaths

    Stack Overflow | 7 years ago | giroy
    javax.xml.xpath.XPathExpressionException
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.sun.org.apache.xml.internal.dtm.ref.dom2dtm.DOM2DTM.getLocalName()
  2. Java RT
    XPathExpressionImpl.evaluate
    1. com.sun.org.apache.xml.internal.dtm.ref.dom2dtm.DOM2DTM.getLocalName(Unknown Source)
    2. com.sun.org.apache.xpath.internal.patterns.NodeTest.execute(Unknown Source)
    3. com.sun.org.apache.xpath.internal.axes.PredicatedNodeTest.acceptNode(Unknown Source)
    4. com.sun.org.apache.xpath.internal.axes.AxesWalker.nextNode(Unknown Source)
    5. com.sun.org.apache.xpath.internal.axes.WalkingIterator.nextNode(Unknown Source)
    6. com.sun.org.apache.xpath.internal.axes.NodeSequence.nextNode(Unknown Source)
    7. com.sun.org.apache.xpath.internal.axes.NodeSequence.runTo(Unknown Source)
    8. com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList.<init>(Unknown Source)
    9. com.sun.org.apache.xpath.internal.objects.XNodeSet.nodelist(Unknown Source)
    10. com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.getResultAsType(Unknown Source)
    11. com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(Unknown Source)
    12. com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(Unknown Source)
    12 frames
  3. com.appcelerator.titanium
    TitaniumProjectPropertyTester.test
    1. com.appcelerator.titanium.core.tiapp.TiAppModel.getNodes(TiAppModel.java:384)
    2. com.appcelerator.titanium.core.tiapp.TiAppModel.getValues(TiAppModel.java:286)
    3. com.appcelerator.titanium.core.tiapp.TiAppModel.getValue(TiAppModel.java:350)
    4. com.appcelerator.titanium.core.tiapp.TiAppModel.getTiAppValue(TiAppModel.java:1306)
    5. com.appcelerator.titanium.core.tiapp.TiAppModel.hasDeployTargetEnabled(TiAppModel.java:1268)
    6. com.appcelerator.titanium.core.TitaniumProject.isDeployTarget(TitaniumProject.java:330)
    7. com.appcelerator.titanium.core.expressions.TitaniumProjectPropertyTester.test(TitaniumProjectPropertyTester.java:115)
    7 frames
  4. Expression Language
    EnablementExpression.evaluate
    1. org.eclipse.core.internal.expressions.Property.test(Property.java:58)
    2. org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99)
    3. org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
    4. org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:150)
    5. org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
    6. org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:72)
    7. org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
    8. org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29)
    9. org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70)
    10. org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
    11. org.eclipse.core.internal.expressions.AndExpression.evaluate(AndExpression.java:29)
    12. org.eclipse.core.internal.expressions.ReferenceExpression.evaluate(ReferenceExpression.java:70)
    13. org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
    14. org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:53)
    14 frames
  5. org.eclipse.debug
    LaunchConfigurationManager.getLaunchShortcuts
    1. org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalEnablementExpression(LaunchShortcutExtension.java:287)
    2. org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getLaunchShortcuts(LaunchConfigurationManager.java:717)
    2 frames
  6. com.appcelerator.titanium
    LaunchAppToolbarContribution$ProjectExplorerSelectionListener$1.run
    1. com.appcelerator.titanium.ui.LaunchAppToolbarContribution.loadShortcuts(LaunchAppToolbarContribution.java:136)
    2. com.appcelerator.titanium.ui.LaunchAppToolbarContribution.access$4(LaunchAppToolbarContribution.java:130)
    3. com.appcelerator.titanium.ui.LaunchAppToolbarContribution$ProjectExplorerSelectionListener$1.run(LaunchAppToolbarContribution.java:122)
    3 frames
  7. RWT
    Display.windowProc
    1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
    3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4145)
    4. org.eclipse.swt.widgets.Shell.WM_ENTERIDLE(Shell.java:2239)
    5. org.eclipse.swt.widgets.Control.windowProc(Control.java:4627)
    6. org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:340)
    7. org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1627)
    8. org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2075)
    9. org.eclipse.swt.widgets.Display.windowProc(Display.java:4990)
    9 frames
  8. org.eclipse.swt
    OS.TrackPopupMenu
    1. org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
    1 frame
  9. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.Menu._setVisible(Menu.java:257)
    2. org.eclipse.swt.widgets.Display.runPopups(Display.java:4211)
    3. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3753)
    3 frames
  10. Eclipse Workbench SWT
    PartRenderingEngine$9.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
    1 frame
  11. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    1 frame
  12. Eclipse Workbench SWT
    PartRenderingEngine.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
    1 frame
  13. Eclipse Workbench
    E4Workbench.createAndRunUI
    1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
    1 frame
  14. Eclipse UI
    Workbench$5.run
    1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
    1 frame
  15. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    1 frame
  16. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
    1 frame
  17. Eclipse UI
    PlatformUI.createAndRunWorkbench
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    1 frame
  18. com.appcelerator.titanium
    IDEApplication.start
    1. com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)
    1 frame
  19. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    1 frame
  20. Eclipse OSGi
    EclipseStarter.run
    1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
    4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
    4 frames
  21. 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
  22. Equinox
    Main.run
    1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
    2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
    3. org.eclipse.equinox.launcher.Main.run(Main.java:1450)
    3 frames