java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\Terry\.AndroidStudio2.2\system\android-palette\v1\layout_palette.xml (Access is denied)

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

Samebug tips

,

try new webdriver if you have this error with firefox while uploading files

Solutions on the web

via Stack Overflow by Terry Neckar
, 11 months ago
java.io.FileNotFoundException: C:\Users\Terry\.AndroidStudio2.2\system\android-palette\v1\layout_palette.xml (Access is denied)
java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\Terry\.AndroidStudio2.2\system\android-palette\v1\layout_palette.xml (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at java.io.FileOutputStream.(FileOutputStream.java:162)
at com.android.tools.idea.uibuilder.palette.NlPaletteModel.copyPredefinedPalette(NlPaletteModel.java:99)
at com.android.tools.idea.uibuilder.palette.NlPaletteModel.loadPalette(NlPaletteModel.java:74)
at com.android.tools.idea.uibuilder.palette.NlPaletteModel.getPalette(NlPaletteModel.java:60)
at com.android.tools.idea.uibuilder.palette.NlPalettePanel.checkForNewMissingDependencies(NlPalettePanel.java:542)
at com.android.tools.idea.uibuilder.palette.NlPalettePanel.setDesignSurface(NlPalettePanel.java:195)
at com.android.tools.idea.uibuilder.palette.NlPalettePanel.(NlPalettePanel.java:140)
at com.android.tools.idea.uibuilder.editor.NlPaletteManager.createContent(NlPaletteManager.java:88)
at com.intellij.designer.LightToolWindowManager$4.run(LightToolWindowManager.java:261)
at com.intellij.designer.LightToolWindowManager$4.run(LightToolWindowManager.java:258)
at com.intellij.designer.LightToolWindowManager.bind(LightToolWindowManager.java:208)
at com.android.tools.idea.uibuilder.editor.NlPreviewForm.lambda$attachPalette$178(NlPreviewForm.java:336)
at com.android.tools.idea.uibuilder.editor.NlPreviewForm.attachPalette(NlPreviewForm.java:332)
at com.android.tools.idea.uibuilder.editor.NlPreviewForm.setActiveModel(NlPreviewForm.java:326)
at com.android.tools.idea.uibuilder.editor.NlPreviewForm$Pending.run(NlPreviewForm.java:264)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:345)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
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:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:857)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:658)
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)

Users with the same issue

12 times, 1 day ago
10 times, 5 days ago
6 times, 1 week ago
28 times, 1 week ago
6 times, 1 month ago

Write tip

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