{ "id": "163087", "key": "AC-4439", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-10-13T16:17:25.000+0000", "created": "2016-09-09T06:30:21.000+0000", "labels": [ "hyperloop", "studio" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-10-13T16:17:25.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "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.\r\n\r\nHere is the stack trace from Studio when I try to Enable Hyperloop in tiapp : \r\n\r\n!ENTRY com.appcelerator.titanium.core 4 0 2016-09-08 23:26:46.962\r\n!MESSAGE (Build 4.7.0.201607250649) [ERROR] java.lang.NullPointerException\r\n!STACK 0\r\njava.lang.NullPointerException\r\n--------------- linked to ------------------\r\njavax.xml.xpath.XPathExpressionException: java.lang.NullPointerException\r\n\tat com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:196)\r\n\tat com.appcelerator.titanium.core.tiapp.TiAppModel.getNodes(TiAppModel.java:410)\r\n\tat com.appcelerator.titanium.core.tiapp.TiAppModel.getProperty(TiAppModel.java:552)\r\n\tat com.appcelerator.titanium360.core.services.ACS360Service.isPropertySet(ACS360Service.java:169)\r\n\tat com.appcelerator.titanium360.core.services.ACS360Service.getServiceStatus(ACS360Service.java:146)\r\n\tat com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor.updateServiceStatus(Titanium360TiappContributor.java:854)\r\n\tat com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor.updateControlsData(Titanium360TiappContributor.java:437)\r\n\tat com.appcelerator.titanium360.ui.tiapp.Titanium360TiappContributor$16$1.run(Titanium360TiappContributor.java:1424)\r\n\tat org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)\r\n\tat org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)\r\n\tat org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3994)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3671)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)\r\n\tat org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)\r\n\tat org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)\r\n\tat org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)\r\n\tat org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)\r\n\tat com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:126)\r\n\tat org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)\r\n\tat org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)\r\n\tat org.eclipse.equinox.launcher.Main.run(Main.java:1465)\r\nCaused by: java.lang.NullPointerException", "attachment": [], "flagged": false, "summary": "Can't enable Hyperloop in new or existing projects in Studio", "creator": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "MacOSx 10.11.6 using 5.4.0GA SDK Appcelerator Studio, build: 4.7.0.201607250649", "comment": { "comments": [ { "id": "395738", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Make sure you are following everything accordingly to this guide: http://docs.appcelerator.com/platform/latest/#!/guide/Enabling_Hyperloop. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-09-09T19:27:58.000+0000", "updated": "2016-09-09T19:27:58.000+0000" }, { "id": "395742", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "First, according to the guide, you don't have to do anything special if you have Studio 4.7 installed. \r\nSo I went into tiapp and clicked Enable Hyperloop and I get the stack trace.\r\n\r\nBut I also tried manually enabling Hyperloop following the instructions and that also failed.\r\n\r\nI don't get any visible pop-up error messages that anything failed. And Hyperloop remains disabled.\r\n\r\nHave done this with both an existing project and I created a new project.\r\n\r\nOne question I have is whether there is a \"hidden\" prerequisite with respect to Cocoapods and having a particular version of Ruby installed. \r\n\r\n", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-09T19:35:27.000+0000", "updated": "2016-09-09T19:35:27.000+0000" }, { "id": "395743", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Been using Titanium for almost 5 years now so not surprised with teething problems on rollout of new features...", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-09T19:36:09.000+0000", "updated": "2016-09-09T19:36:09.000+0000" }, { "id": "395752", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "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.", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-09T20:36:58.000+0000", "updated": "2016-09-09T20:43:33.000+0000" }, { "id": "395753", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Deleted that project. Created a new project with all services enabled and back to where I was. Hyperloop not enabled.\r\n\r\nAnother member of my Pro team has no problem creating Hyperloop projects on his system. \r\n\r\nIs this potentially a validation problem with respect to my Pro Subscription credentials? \r\n", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-09T20:43:02.000+0000", "updated": "2016-09-09T20:43:02.000+0000" }, { "id": "395754", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Wouldn't ordinarily mind these sort of problems but in this case I am paying to use the Hyperloop capability.", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-09T20:44:29.000+0000", "updated": "2016-09-09T20:44:29.000+0000" }, { "id": "395755", "author": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "body": "So here's an interesting nugget... it happens when I login to my jrf@acm.org account on either my iMac or my MacBook. \r\nMy colleague who has the other pro account in our organization, doesn't have this problem.\r\nSo is there a problem with Pro credentials authorization for my jrf@acm.org login?", "updateAuthor": { "name": "jfalcone", "key": "jfalcone", "displayName": "Joe Falcone", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-09T20:50:18.000+0000", "updated": "2016-09-09T20:50:18.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }