Live Templates never work in EAP

Howcome live template never work in EAP releases ?
It didn't work in the 5.x EAP and now for the 6.x EAP. Is this an intended behaviour ?

5 comments
Comment actions Permalink

Hello Hugo,

HP> Howcome live template never work in EAP releases ? It didn't work in
HP> the 5.x EAP and now for the 6.x EAP. Is this an intended behaviour ?

Any details? Live templates work just fine for me.

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

And for me. All just fine.

0
Comment actions Permalink

Well, it never worked for me :o)

The exception i get is:

java.lang.NullPointerException
at com.intellij.codeInsight.lookup.impl.LookupCellRenderer.(LookupCellRenderer.java:34) at com.intellij.codeInsight.lookup.impl.LookupImpl.]]>(LookupImpl.java:84)
at com.intellij.codeInsight.lookup.impl.LookupManagerImpl.showLookup(LookupManagerImpl.java:1)
at com.intellij.codeInsight.template.impl.ListTemplatesHandler.invoke(ListTemplatesHandler.java:27)
at com.intellij.codeInsight.actions.BaseCodeInsightAction$1$1.run(BaseCodeInsightAction.java:2)
at com.intellij.openapi.application.impl.ApplicationImpl$9.compute(ApplicationImpl.java)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:15)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:200)
at com.intellij.codeInsight.actions.BaseCodeInsightAction$1.run(BaseCodeInsightAction.java:7)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:32)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:116)
at com.intellij.codeInsight.actions.BaseCodeInsightAction.actionPerformedImpl(BaseCodeInsightAction.java:35)
at com.intellij.codeInsight.actions.BaseCodeInsightAction.actionPerformed(BaseCodeInsightAction.java:30)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:83)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:85)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:110)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:113)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:77)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

0
Comment actions Permalink

Hello Hugo,

HP> Well, it never worked for me :o)
HP>
HP> The exception i get is:
HP>
HP> java.lang.NullPointerException
HP> at
HP> com.intellij.codeInsight.lookup.impl.LookupCellRenderer.(Looku HP>]]> pCellRenderer.java:34)

Fixed. As a workaround, please make sure that you have a non-empty description
for each of your live templates.

--
Dmitry Jemerov
Software Developer
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Cool, thanks.

0

Please sign in to leave a comment.