javax.xml.xpath.XPathExpressionException: java.lang.NullPointerException

Appcelerator JIRA | Joe Falcone | 3 months ago
  1. 0

    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

    Appcelerator JIRA | 3 months ago | Joe Falcone
    javax.xml.xpath.XPathExpressionException: java.lang.NullPointerException
  2. 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.
  3. 0

    JTidy upgrade broke document xpaths

    Stack Overflow | 7 years ago | giroy
    javax.xml.xpath.XPathExpressionException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    xpath concat() function with java

    Stack Overflow | 5 years ago | thogadam
    javax.xml.xpath.XPathExpressionException
  6. 0

    Java XPath - (No such file or directory) error

    experts-exchange.com | 1 year ago
    javax.xml.xpath.XPathExpressionException

  1. Kawada 4 times, last 6 months ago
1 unregistered visitors
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. javax.xml.xpath.XPathExpressionException

    java.lang.NullPointerException

    at com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate()
  2. Java RT
    XPathExpressionImpl.evaluate
    1. com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:196)
    1 frame
  3. com.appcelerator.titanium
    TiAppModel.getProperty
    1. com.appcelerator.titanium.core.tiapp.TiAppModel.getNodes(TiAppModel.java:410)
    2. com.appcelerator.titanium.core.tiapp.TiAppModel.getProperty(TiAppModel.java:552)
    2 frames
  4. com.appcelerator.titanium360
    Titanium360TiappContributor$16$1.run
    1. com.appcelerator.titanium360.core.services.ACS360Service.isPropertySet(ACS360Service.java:169)
    2. com.appcelerator.titanium360.core.services.ACS360Service.getServiceStatus(ACS360Service.java:146)
    3. com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor.updateServiceStatus(Titanium360TiappContributor.java:854)
    4. com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor.updateControlsData(Titanium360TiappContributor.java:437)
    5. com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor$16$1.run(Titanium360TiappContributor.java:1424)
    5 frames
  5. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
    3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3994)
    4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3671)
    4 frames
  6. Eclipse Workbench SWT
    PartRenderingEngine$9.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    1 frame
  7. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    1 frame
  8. Eclipse Workbench SWT
    PartRenderingEngine.run
    1. org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    1 frame
  9. Eclipse Workbench
    E4Workbench.createAndRunUI
    1. org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    1 frame
  10. Eclipse UI
    Workbench$5.run
    1. org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    1 frame
  11. Databinding
    Realm.runWithDefault
    1. org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    1 frame
  12. Eclipse UI
    Workbench.createAndRunWorkbench
    1. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    1 frame
  13. Eclipse UI
    PlatformUI.createAndRunWorkbench
    1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    1 frame
  14. com.appcelerator.titanium
    IDEApplication.start
    1. com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126)
    1 frame
  15. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    1 frame
  16. 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
  17. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  18. Equinox
    Main.run
    1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    3. org.eclipse.equinox.launcher.Main.run(Main.java:1465)
    3 frames