Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException while creating new nested Presenter #79

Open
AlbrechtStriffler opened this issue Nov 17, 2016 · 0 comments
Open

NullPointerException while creating new nested Presenter #79

AlbrechtStriffler opened this issue Nov 17, 2016 · 0 comments

Comments

@AlbrechtStriffler
Copy link

Got the following NPE while trying to create a nested GWTP Presenter with a place using New > Create a GWTP Presenter with View tool...

null java.lang.AssertionError: null at com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:72) at com.intellij.openapi.diagnostic.Logger.error(Logger.java:146) at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:2425) at com.arcbees.plugin.idea.wizards.createpresenter.CreatePresenterAction.addMethodsToNameTokens(CreatePresenterAction.java:684) at com.arcbees.plugin.idea.wizards.createpresenter.CreatePresenterAction.createNameTokensFieldAndMethods(CreatePresenterAction.java:662) at com.arcbees.plugin.idea.wizards.createpresenter.CreatePresenterAction.run(CreatePresenterAction.java:198) at com.arcbees.plugin.idea.wizards.createpresenter.CreatePresenterAction.access$000(CreatePresenterAction.java:91) at com.arcbees.plugin.idea.wizards.createpresenter.CreatePresenterAction$1.run(CreatePresenterAction.java:148) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635) at com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170) at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:494) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155) at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128) at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:307) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:1321) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348) at com.intellij.util.ui.EdtInvocationManager$SwingEdtInvocationManager.invokeAndWait(EdtInvocationManager.java:70) at com.intellij.util.ui.UIUtil.invokeAndWaitIfNeeded(UIUtil.java:2422) ... 18 more Caused by: com.intellij.util.IncorrectOperationException: Incorrect field 'public static final String node-configuration = "node-configuration";' at com.intellij.psi.impl.PsiJavaParserFacadeImpl.createFieldFromText(PsiJavaParserFacadeImpl.java:216) at com.intellij.psi.impl.PsiElementFactoryImpl.createFieldFromText(PsiElementFactoryImpl.java:711) at com.arcbees.plugin.idea.wizards.createpresenter.CreatePresenterAction$15$1.run(CreatePresenterAction.java:693) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:843) at com.arcbees.plugin.idea.wizards.createpresenter.CreatePresenterAction$15.run(CreatePresenterAction.java:687) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:795) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:631) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:387) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant