java.lang.NoSuchMethodError: com.intellij.openapi.fileEditor.impl.NonProjectFileWritingAccessProvider.allowAccess(Lcom/intellij/openapi/project/Project;Lcom/intellij/openapi/vfs/VirtualFile;)V

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Koc
, 10 months ago
com.intellij.openapi.fileEditor.impl.NonProjectFileWritingAccessProvider.allowAccess(Lcom/intellij/openapi/project/Project;Lcom/intellij/openapi/vfs/VirtualFile;)V
java.lang.NoSuchMethodError: com.intellij.openapi.fileEditor.impl.NonProjectFileWritingAccessProvider.allowAccess(Lcom/intellij/openapi/project/Project;Lcom/intellij/openapi/vfs/VirtualFile;)V
at scratch.ide.Ide$OpenEditorTracker$1$1.selectionChanged(Ide.java:269)
at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:114)
at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:314)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:301)
at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:293)
at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:286)
at com.intellij.util.messages.impl.MessageBusImpl.access$200(MessageBusImpl.java:42)
at com.sun.proxy.$Proxy84.selectionChanged(Unknown Source)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$16.run(FileEditorManagerImpl.java:1516)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$13$1.run(FileEditorManagerImpl.java:950)
at com.intellij.openapi.wm.impl.FocusManagerImpl.a(FocusManagerImpl.java:648)
at com.intellij.openapi.wm.impl.FocusManagerImpl.g(FocusManagerImpl.java:632)
at com.intellij.openapi.wm.impl.FocusManagerImpl.e(FocusManagerImpl.java:602)
at com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:60)
at com.intellij.openapi.wm.impl.FocusManagerImpl$7.run(FocusManagerImpl.java:498)
at com.intellij.util.ui.UIUtil.invokeLaterIfNeeded(UIUtil.java:2070)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:476)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.a(ActionToolbarImpl.java:974)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.access$300(ActionToolbarImpl.java:64)
at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$4.run(ActionToolbarImpl.java:1000)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:722)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:549)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.