Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-7621

Studio hangs when generating Alloy autocomplete list

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 4.1.0
    • Component/s: Editor
    • Environment:

      Mac OSX 10.10.3 / Windows 7 x64

      Appcelerator Studio, build: 4.0.1.201506021908
      Build: jenkins-appcelerator-rcp-master-312 (origin/master)
      Date: 02 June 2015, 19:10:05

    • Story Points:
      5
    • Sprint:
      2015 Sprint 13 Studio

      Description

      Studio hangs whenever generating an autocomplete list when editing an Alloy XML file (not when editing js...)

      Here's a relevant excerpt from my studio log....

      !ENTRY com.aptana.index.core 4 0 2015-06-26 12:42:16.623
      !MESSAGE (Build 4.0.1.201506021908) [ERROR]  An error occurred while processing the following JSON string
      {"name":"focus","description":"<p>Fired when the view element gains focus.</p>","since":[],"deprecated":false,"userAgents":null,"owningType":"Titanium.UI.ImageView","properties":[]}
      !STACK 0
      java.lang.NullPointerException
      	at com.aptana.js.core.model.EventElement.fromJSON(EventElement.java:73)
      	at com.aptana.index.core.IndexReader.populateElement(IndexReader.java:207)
      	at com.aptana.index.core.IndexReader.populateElement(IndexReader.java:181)
      	at com.aptana.js.internal.core.index.JSIndexReader.createEvent(JSIndexReader.java:78)
      	at com.aptana.js.internal.core.index.JSIndexReader$1.map(JSIndexReader.java:219)
      	at com.aptana.js.internal.core.index.JSIndexReader$1.map(JSIndexReader.java:1)
      	at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:432)
      	at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:466)
      	at com.aptana.js.internal.core.index.JSIndexReader.getEvents(JSIndexReader.java:215)
      	at com.aptana.js.core.index.JSIndexQueryHelper.getEvents(JSIndexQueryHelper.java:388)
      	at com.appcelerator.titanium.alloy.core.index.AlloyQueryHelper.getElement(AlloyQueryHelper.java:313)
      	at com.appcelerator.titanium.alloy.core.index.AlloyQueryHelper$2.map(AlloyQueryHelper.java:186)
      	at com.appcelerator.titanium.alloy.core.index.AlloyQueryHelper$2.map(AlloyQueryHelper.java:1)
      	at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:432)
      	at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:466)
      	at com.appcelerator.titanium.alloy.core.index.AlloyQueryHelper.getElements(AlloyQueryHelper.java:175)
      	at com.appcelerator.titanium.alloy.internal.ui.contentassist.AlloyViewContentAssistProcessor.getElements(AlloyViewContentAssistProcessor.java:130)
      	at com.aptana.editor.xml.contentassist.XMLContentAssistProcessor.addElementProposals(XMLContentAssistProcessor.java:309)
      	at com.aptana.editor.xml.contentassist.XMLContentAssistProcessor.doComputeCompletionProposals(XMLContentAssistProcessor.java:625)
      	at com.aptana.editor.common.CommonContentAssistProcessor.computeCompletionProposals(CommonContentAssistProcessor.java:417)
      	at com.aptana.editor.common.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:2221)
      	at com.aptana.editor.common.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:394)
      	at com.aptana.editor.common.contentassist.CompletionProposalPopup.access$7(CompletionProposalPopup.java:388)
      	at com.aptana.editor.common.contentassist.CompletionProposalPopup$1.run(CompletionProposalPopup.java:331)
      	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      	at com.aptana.editor.common.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:325)
      	at com.aptana.editor.common.contentassist.ContentAssistant$AutoAssistListener$1.run(ContentAssistant.java:468)
      	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:3983)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
      	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:382)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
      	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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                AndrewNatoli42 Andrew Natoli
              • Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: