3281 error with JSP tag?

I found build 3281 always throw the following exception when i'm working with JSP file with taglib.
For example , when you create a new JSP file, and enter the following:

]]>

wait a second , when ERROR INSPECTOR come to check your taglib uri, the exception is thrown. Also, if you type

and Complete Code, a similar exception is thrown.

And i found that ctrl+click the uri can't get you to the TLD file anymore.

I use the same project of IDEA4.5. Everything is fine there.

1 comment
Comment actions Permalink

Fixed.

warbaby wrote:

I found build 3281 always throw the following exception when i'm working with JSP file with taglib.
For example , when you create a new JSP file, and enter the following:

]]>

wait a second , when ERROR INSPECTOR come to check your taglib uri, the exception is thrown. Also, if you type


and Complete Code, a similar exception is thrown.

And i found that ctrl+click the uri can't get you to the TLD file anymore.

I use the same project of IDEA4.5. Everything is fine there.

 java.lang.NullPointerException
> 	at com.intellij.psi.impl.source.jsp.tagLibrary.TldUtil.a(TldUtil.java:203)
> 	at com.intellij.psi.impl.source.jsp.tagLibrary.TldUtil.a(TldUtil.java:97)
> 	at com.intellij.psi.impl.source.jsp.tagLibrary.TldUtil.a(TldUtil.java:103)
> 	at com.intellij.psi.impl.source.jsp.tagLibrary.TldUtil.getTldFileByUri(TldUtil.java:58)
> 	at com.intellij.psi.impl.source.jsp.tagLibrary.TldUtil.getTagLibrary(TldUtil.java:130)
> 	at com.intellij.psi.impl.source.jsp.JspDirectiveImpl$2.compute(JspDirectiveImpl.java:4)
> 	at com.intellij.psi.impl.CachedValueImpl.getValue(CachedValueImpl.java:67)
> 	at com.intellij.psi.impl.source.jsp.JspDirectiveImpl.getMetaData(JspDirectiveImpl.java:15)
> 	at com.intellij.psi.util.PsiUtil.checkName(PsiUtil.java:863)
> 	at com.intellij.psi.scope.processor.ConflictFilterProcessor.execute(ConflictFilterProcessor.java:19)
> 	at com.intellij.psi.impl.source.resolve.reference.impl.providers.JSPActionReferenceProvider.handleEmptyContext(JSPActionReferenceProvider.java:8)
> 	at com.intellij.psi.impl.source.resolve.reference.impl.GenericReference.processVariants(GenericReference.java:6)
> 	at com.intellij.psi.impl.source.resolve.reference.impl.GenericReference.resolveInner(GenericReference.java:9)
> 	at com.intellij.psi.impl.source.resolve.reference.impl.providers.JSPActionReferenceProvider$ReferenceSet$PrefixReference.resolveInner(JSPActionReferenceProvider.java:22)
> 	at com.intellij.psi.impl.source.resolve.reference.impl.GenericReference$1.resolve(GenericReference.java:1)
> 	at com.intellij.psi.impl.source.resolve.ResolveCache.resolveWithCaching(ResolveCache.java:4)
> 	at com.intellij.psi.impl.source.resolve.reference.impl.GenericReference.resolve(GenericReference.java:1)
> 	at com.intellij.psi.impl.source.resolve.reference.impl.providers.JSPActionReferenceProvider$ReferenceSet$ActionReference.getContext(JSPActionReferenceProvider.java:5)
> 	at com.intellij.psi.impl.source.resolve.reference.impl.providers.JSPActionReferenceProvider$ReferenceSet$ActionReference.processVariants(JSPActionReferenceProvider.java:6)
> 	at com.intellij.psi.impl.source.resolve.reference.impl.GenericReference.getVariants(GenericReference.java:33)
> 	at com.intellij.codeInsight.completion.CompletionVariant.addReferenceCompletions(CompletionVariant.java:204)
> 	at com.intellij.codeInsight.completion.CompletionVariant.addReferenceCompletions(CompletionVariant.java:3)
> 	at com.intellij.codeInsight.completion.CompletionData.completeReference(CompletionData.java:122)
> 	at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.a(CodeCompletionHandlerBase.java:50)
> 	at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.getLookupData(CodeCompletionHandlerBase.java:66)
> 	at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.invoke(CodeCompletionHandlerBase.java:64)
> 	at com.intellij.codeInsight.actions.BaseCodeInsightAction$2.run(BaseCodeInsightAction.java:2)
> 	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:237)
> 	at com.intellij.codeInsight.actions.BaseCodeInsightAction$1.run(BaseCodeInsightAction.java:1)
> 	at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:116)
> 	at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:90)
> 	at com.intellij.codeInsight.actions.BaseCodeInsightAction.actionPerformedImpl(BaseCodeInsightAction.java:21)
> 	at com.intellij.codeInsight.completion.actions.CodeCompletionAction.actionPerformedImpl(CodeCompletionAction.java:8)
> 	at com.intellij.codeInsight.actions.BaseCodeInsightAction.actionPerformed(BaseCodeInsightAction.java:16)
> 	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:142)
> 	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:56)
> 	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:84)
> 	at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:99)
> 	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:115)
> 	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
> 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
> 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
> 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)]]>



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.