javax.xml.xpath.XPathExpressionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I have tried to Enable Hyperloop for both existing projects and new projects and I get a Null Pointer Exception from Studio. I have an active, valid Pro subscription. Here is the stack trace from Studio when I try to Enable Hyperloop in tiapp : !ENTRY com.appcelerator.titanium.core 4 0 2016-09-08 23:26:46.962 !MESSAGE (Build 4.7.0.201607250649) [ERROR] java.lang.NullPointerException !STACK 0 java.lang.NullPointerException --------------- linked to ------------------ javax.xml.xpath.XPathExpressionException: java.lang.NullPointerException at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:196) at com.appcelerator.titanium.core.tiapp.TiAppModel.getNodes(TiAppModel.java:410) at com.appcelerator.titanium.core.tiapp.TiAppModel.getProperty(TiAppModel.java:552) at com.appcelerator.titanium360.core.services.ACS360Service.isPropertySet(ACS360Service.java:169) at com.appcelerator.titanium360.core.services.ACS360Service.getServiceStatus(ACS360Service.java:146) at com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor.updateServiceStatus(Titanium360TiappContributor.java:854) at com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor.updateControlsData(Titanium360TiappContributor.java:437) at com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor$16$1.run(Titanium360TiappContributor.java:1424) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3994) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3671) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) Caused by: java.lang.NullPointerException
    via by Joe Falcone,
  • 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}
    via by clausfod,
    • javax.xml.xpath.XPathExpressionException: java.lang.NullPointerException at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:196) at com.appcelerator.titanium.core.tiapp.TiAppModel.getNodes(TiAppModel.java:410) at com.appcelerator.titanium.core.tiapp.TiAppModel.getProperty(TiAppModel.java:552) at com.appcelerator.titanium360.core.services.ACS360Service.isPropertySet(ACS360Service.java:169) at com.appcelerator.titanium360.core.services.ACS360Service.getServiceStatus(ACS360Service.java:146) at com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor.updateServiceStatus(Titanium360TiappContributor.java:854) at com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor.updateControlsData(Titanium360TiappContributor.java:437) at com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor$16$1.run(Titanium360TiappContributor.java:1424) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3994) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3671) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603) at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

    Users with the same issue

    Kawada
    4 times, last one,