senyor / generate-tostring

Automatically exported from code.google.com/p/generate-tostring
0 stars 0 forks source link

Support IntelliJ 8 #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install IntelliJ 8 beta 1
2. Try to use the toString() (with the commons-lang template)
3. I get the following exception from idea and nothing is generated:

Error during dispatching of
java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.intellij.ui.popup
.PopupFactoryImpl$ActionPopupStep$1@1248d56,notifier=null,catchExceptions=false,
when=1219062721904]
on sun.awt.X11.XToolkit@3184d8:
com.intellij.psi.PsiManager.getElementFactory()Lcom/intellij/psi/PsiElementFacto
ry;
java.lang.NoSuchMethodError:
com.intellij.psi.PsiManager.getElementFactory()Lcom/intellij/psi/PsiElementFacto
ry;
    at generate.tostring.psi.PsiAdapter.getPsiElemetFactory(PsiAdapter.java:71)
    at
generate.tostring.GenerateToStringActionHandlerImpl.doExecuteAction(GenerateToSt
ringActionHandlerImpl.java:117)
    at
generate.tostring.GenerateToStringActionHandlerImpl.executeWriteAction(GenerateT
oStringActionHandlerImpl.java:78)
    at
com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler$1.run(EditorWr
iteActionHandler.java:51)
    at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(Application
Impl.java:222)
    at
com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler.execute(Editor
WriteActionHandler.java:35)
    at
com.intellij.openapi.editor.actionSystem.EditorAction$1.run(EditorAction.java:60
)
    at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandPro
cessorImpl.java:143)
    at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorActi
on.java:67)
    at
com.intellij.openapi.editor.actionSystem.EditorAction.actionPerformed(EditorActi
on.java:46)
    at
com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep$1.run(PopupFactoryImpl.ja
va:3)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:44)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:42)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:224)
    at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273
)
    at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173
)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

What version of the product are you using? On what operating system?

IntelliJ 8 beta 1
plugin version 4.0.7
Ubuntu Linux 8.04

Original issue reported on code.google.com by wim.debl...@gmail.com on 18 Aug 2008 at 12:37

GoogleCodeExporter commented 8 years ago
Hi

JetBrains now officially bundle the plugin in their distribution of IDEA. So 
what you
need to do is to uninstall the plugin and do a clean install of IDEA 8.0M1 and 
during
the installation wizard, select ([x]) the toString() plugin.

The bundled version is v4.0.6.

You should *not* download the plugin from the plugin manager.

Original comment by claus.ib...@gmail.com on 20 Aug 2008 at 4:33