1. Jon S Akhtar
  2. Lua For IDEA
  3. Issues

Issues

Issue #4 resolved

Exception 3

Anonymous created an issue

I got this just by inserting / deleting some lua code:

notnull method com/sylvanaar/idea/Lua/psi/impl/LuaParameterImpl.getType must not return null: notnull method com/sylvanaar/idea/Lua/psi/impl/LuaParameterImpl.getType must not return null java.lang.IllegalStateException: notnull method com/sylvanaar/idea/Lua/psi/impl/LuaParameterImpl.getType must not return null at com.sylvanaar.idea.Lua.psi.impl.LuaParameterImpl.getType(LuaParameterImpl.java:60) at com.intellij.codeInsight.intention.impl.CreateFieldFromParameterAction.getType(CreateFieldFromParameterAction.java:56) at com.intellij.codeInsight.intention.impl.CreateFieldFromParameterAction.isAvailable(CreateFieldFromParameterAction.java:70) at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.isAvailable(IntentionActionWrapper.java:52) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.isAvailableHere(ShowIntentionActionsHandler.java:191) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.availableFor(ShowIntentionActionsHandler.java:175) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:194) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getIntentionActionsToShow(ShowIntentionsPass.java:145) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:116) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:54) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:328) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:691) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:320) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:222) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:317) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

java.lang.IllegalStateException: notnull method com/sylvanaar/idea/Lua/psi/impl/LuaParameterImpl.getType must not return null at com.sylvanaar.idea.Lua.psi.impl.LuaParameterImpl.getType(LuaParameterImpl.java:60) at com.intellij.codeInsight.intention.impl.CreateFieldFromParameterAction.getType(CreateFieldFromParameterAction.java:56) at com.intellij.codeInsight.intention.impl.CreateFieldFromParameterAction.isAvailable(CreateFieldFromParameterAction.java:70) at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.isAvailable(IntentionActionWrapper.java:52) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.isAvailableHere(ShowIntentionActionsHandler.java:191) at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.availableFor(ShowIntentionActionsHandler.java:175) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:194) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getIntentionActionsToShow(ShowIntentionsPass.java:145) at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:116) at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:54) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:328) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:691) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:320) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:222) at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:317) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)