PDA

View Full Version : Error using Sencha Ext plugin (JS 6.0.8.477) on Webstorm 11.0.3



Nikhil.Pant@heatsoftware.
3 Mar 2016, 9:20 AM
I am trying to use the Sencha Ext plugin (JS 6.0.8.477 ) on Webstorm 11.0.3 and getting the following error in the WebStorm Event Log.


"No such property: namespace for class: groovy.json.internal.CharSequenceValue"


I think the error is happening when Sencha plugin is attempting to open the intellisense drop down. To reproduce the problem create a new View and add a new item to the items collection. Every time I type a character for the word button I see a new error entry in the WebStorm event log.


Ext.define('LicenseGenerator.view.page.bundles.MyView', {
extend: 'Ext.Container',
items: [
{
xtype:button
}
]
});



Here is the error complete stack

No such property: namespace for class: groovy.json.internal.CharSequenceValue
groovy.lang.MissingPropertyException: No such property: namespace for class: groovy.json.internal.CharSequenceValue
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:51)
at com.sencha.idea.index.ClassCache$withCaching.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at com.sencha.idea.index.ClassCache$withCaching.call(Unknown Source)
at com.sencha.idea.index.ScopeUtil.withScope(ScopeUtil.groovy:27)
at com.sencha.idea.reference.SenchaReferenceBase.getVariants(SenchaReferenceBase.groovy:50)
at com.sencha.idea.completion.SenchaCompletionContributor.completeWithVariants(SenchaCompletionContributor.groovy:153)
at com.sencha.idea.completion.SenchaCompletionContributor.access$2(SenchaCompletionContributor.groovy)
at com.sencha.idea.completion.SenchaCompletionContributor$_fillCompletionVariants_closure1.doCall(SenchaCompletionContributor.groovy:90)
at com.sencha.idea.completion.SenchaCompletionContributor$_fillCompletionVariants_closure1.call(SenchaCompletionContributor.groovy)
at com.sencha.idea.index.ClassCache.withCaching(ClassCache.groovy:24)
at com.sencha.idea.index.ClassCache$withCaching.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
at com.sencha.idea.index.ClassCache$withCaching.call(Unknown Source)
at com.sencha.idea.index.ScopeUtil.withScope(ScopeUtil.groovy:27)
at com.sencha.idea.completion.SenchaCompletionContributor.fillCompletionVariants(SenchaCompletionContributor.groovy:82)
at com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributors(CompletionService.java:81)
at com.intellij.codeInsight.completion.CompletionResultSet.runRemainingContributors(CompletionResultSet.java:135)
at com.intellij.codeInsight.completion.CompletionResultSet.runRemainingContributors(CompletionResultSet.java:128)
at com.intellij.codeInsight.template.impl.LiveTemplateCompletionContributor$2.addCompletions(LiveTemplateCompletionContributor.java:90)
at com.intellij.codeInsight.completion.CompletionProvider.addCompletionVariants(CompletionProvider.java:36)
at com.intellij.codeInsight.completion.CompletionContributor.fillCompletionVariants(CompletionContributor.java:155)
at com.intellij.codeInsight.completion.CompletionService.getVariantsFromContributors(CompletionService.java:81)
at com.intellij.codeInsight.completion.CompletionService.performCompletion(CompletionService.java:110)
at com.intellij.codeInsight.completion.CompletionProgressIndicator.a(CompletionProgressIndicator.java:843)
at com.intellij.codeInsight.completion.CompletionProgressIndicator.access$1000(CompletionProgressIndicator.java:93)
at com.intellij.codeInsight.completion.CompletionProgressIndicator$1CalculateItems.run(CompletionProgressIndicator.java:825)
at com.intellij.codeInsight.completion.AsyncCompletion$1$1$1.run(CompletionThreading.java:94)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:943)
at com.intellij.codeInsight.completion.AsyncCompletion$1$1.run(CompletionThreading.java:89)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
at com.intellij.codeInsight.completion.AsyncCompletion$1.run(CompletionThreading.java:85)
at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:365)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:55)

Mark.Brocato
3 Mar 2016, 4:22 PM
Hmm... that's strange. I've been using 6.0.8 on WebStorm 11.0.3 every day for at least a month now and haven't run into anything like that. Would you mind reporting the error to sencha from within the IDE? It might give me some more insight. Is code completion working elsewhere? For example, when completing configs?