Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4439] Can't enable Hyperloop in new or existing projects in Studio

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2016-10-13T16:17:25.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio
Labelshyperloop, studio
ReporterJoe Falcone
AssigneeShak Hossain
Created2016-09-09T06:30:21.000+0000
Updated2016-10-13T16:17:25.000+0000

Description

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

Comments

  1. Sharif AbuDarda 2016-09-09

    Make sure you are following everything accordingly to this guide: http://docs.appcelerator.com/platform/latest/#!/guide/Enabling_Hyperloop. Thanks.
  2. Joe Falcone 2016-09-09

    First, according to the guide, you don't have to do anything special if you have Studio 4.7 installed. So I went into tiapp and clicked Enable Hyperloop and I get the stack trace. But I also tried manually enabling Hyperloop following the instructions and that also failed. I don't get any visible pop-up error messages that anything failed. And Hyperloop remains disabled. Have done this with both an existing project and I created a new project. One question I have is whether there is a "hidden" prerequisite with respect to Cocoapods and having a particular version of Ruby installed.
  3. Joe Falcone 2016-09-09

    Been using Titanium for almost 5 years now so not surprised with teething problems on rollout of new features...
  4. Joe Falcone 2016-09-09

    Did an uninstall and reinstall of Studio... the new project I had created previously using the old installation of Studio then showed that Hyperloop was enabled but then under Modules it listed the Hyperloop module as not supported under SDK 5.4.0GA.
  5. Joe Falcone 2016-09-09

    Deleted that project. Created a new project with all services enabled and back to where I was. Hyperloop not enabled. Another member of my Pro team has no problem creating Hyperloop projects on his system. Is this potentially a validation problem with respect to my Pro Subscription credentials?
  6. Joe Falcone 2016-09-09

    Wouldn't ordinarily mind these sort of problems but in this case I am paying to use the Hyperloop capability.
  7. Joe Falcone 2016-09-09

    So here's an interesting nugget... it happens when I login to my jrf@acm.org account on either my iMac or my MacBook. My colleague who has the other pro account in our organization, doesn't have this problem. So is there a problem with Pro credentials authorization for my jrf@acm.org login?

JSON Source