History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-15491
Type: Exception Exception
Status: Open Open
Assignee: Maxim Shafirov
Reporter: Randall R Schulz
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

java.lang.NullPointerException

Created: 05 Oct 07 18:08   Updated: 05 Oct 07 21:04
Component/s: Artwork

Environment:
Idea build #7323
Revision: 11420
Build: 0.1.11420

Build: 7,323


 Description  « Hide
Viewing a Grails ...TagLib.groovy file at start-up.
java.lang.NullPointerException
	at com.intellij.psi.impl.compiled.ClsMethodImpl.getSignatureAttribute(ClsMethodImpl.java:436)
	at com.intellij.psi.impl.compiled.ClsMethodImpl.d(ClsMethodImpl.java:41)
	at com.intellij.psi.impl.compiled.ClsMethodImpl.getTypeParameterList(ClsMethodImpl.java:421)
	at com.intellij.psi.impl.PsiImplUtil.getTypeParameters(PsiImplUtil.java:48)
	at com.intellij.psi.impl.compiled.ClsMethodImpl.getTypeParameters(ClsMethodImpl.java:8)
	at com.intellij.psi.impl.light.LightMethod.getTypeParameters(LightMethod.java:34)
	at org.jetbrains.plugins.groovy.lang.resolve.processors.MethodResolverProcessor.inferMethodTypeParameters(Unknown Source)
	at org.jetbrains.plugins.groovy.lang.resolve.processors.MethodResolverProcessor.execute(Unknown Source)
	at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.processElement(Unknown Source)
	at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.processDefaultMethods(Unknown Source)
	at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.processDefaultMethods(Unknown Source)
	at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.processDefaultMethods(Unknown Source)
	at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.processDefaultMethods(Unknown Source)
	at org.jetbrains.plugins.groovy.lang.resolve.ResolveUtil.processDefaultMethods(Unknown Source)
	at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$OurResolver.processClassQualifierType(Unknown Source)
	at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$OurResolver.processQualifier(Unknown Source)
	at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$OurResolver.resolveImpl(Unknown Source)
	at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$OurResolver.resolve(Unknown Source)
	at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl$OurResolver.resolve(Unknown Source)
	at com.intellij.psi.impl.source.resolve.ResolveCache.a(ResolveCache.java:22)
	at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:24)
	at org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions.GrReferenceExpressionImpl.advancedResolve(Unknown Source)
	at org.jetbrains.plugins.groovy.annotator.GroovyAnnotator.checkReferenceExpression(Unknown Source)
	at org.jetbrains.plugins.groovy.annotator.GroovyAnnotator.annotate(Unknown Source)
	at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visitElement(HighlightVisitorImpl.java:344)
	at com.intellij.extapi.psi.PsiElementBase.accept(PsiElementBase.java:129)
	at com.intellij.codeInsight.daemon.impl.analysis.HighlightVisitorImpl.visit(HighlightVisitorImpl.java:566)
	at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.a(GeneralHighlightingPass.java:185)
	at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.access$600(GeneralHighlightingPass.java:160)
	at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass$1.run(GeneralHighlightingPass.java:13)
	at com.intellij.codeInsight.daemon.impl.RefCountHolder.analyzeAndStoreReferences(RefCountHolder.java:31)
	at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:170)
	at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:22)
	at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:66)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:4)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:158)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:1)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:26)
	at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:13)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)


 All   Comments   Work Log   Change History      Sort Order:
Randall R Schulz - 05 Oct 07 18:16
Hi. I'm the one who "blamed JetGroovy."

It appears this exception is happening whenever I scroll in the ...TagLib.groovy file in question. It does not happen when I scroll in a Controller.

In fact, I'm now seeing it simply occurs periodically, unconnected to scolling.

Note, too, that all my custom tags, those defined in the file that triggers this exception, remain red in the GSP pages that use them.

(Note that this is the new release, 0.1.11420.)

RRS