com.intellij.openapi.vfs.InvalidVirtualFileAccessException: Accessing invalid virtual file: file:///Users/zhanghuagang/AndroidCode/BloodPresure/patient/app/build/generated/source/r/debug/com/homehealth/patient/R.java; original:515343; found:-

tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    Launching Android Studio find the exception that com.intellij.openapi.vfs.InvalidVirtualFileAccessException: Accessing invalid virtual file:

    Stack Overflow | 2 weeks ago | FourSister.Zhang
    com.intellij.openapi.vfs.InvalidVirtualFileAccessException: Accessing invalid virtual file: file:///Users/zhanghuagang/AndroidCode/BloodPresure/patient/app/build/generated/source/r/debug/com/homehealth/patient/R.java; original:515343; found:-
  2. 0
    samebug tip
    Update to version 1.2 or further of gitignore to fix the problem.
    via GitHub by mdufresne
  3. 0

    SOE at startup of 12.0 rc

    YouTrack | 4 years ago
    java.util.concurrent.ExecutionException: java.lang.StackOverflowError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [idea] InvalidVirtualFileAccessException

    Eclipse Bugzilla | 2 years ago | dennis.huebner
    com.intellij.openapi.vfs.InvalidVirtualFileAccessException: Accessing invalid virtual file: file:///Users/dhuebner/Entwicklung/xtext-master/ws/untitled2/untitled2.parent/untitled2/target/xtend/stubs170703256708668; original:105923; found:-

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.intellij.openapi.vfs.InvalidVirtualFileAccessException

      Accessing invalid virtual file: file:///Users/zhanghuagang/AndroidCode/BloodPresure/patient/app/build/generated/source/r/debug/com/homehealth/patient/R.java; original:515343; found:-

      at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.getFileId()
    2. IDEA
      FileDocumentManagerImpl.contentsChanged
      1. com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.getFileId(PersistentFSImpl.java:319)
      2. com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.mustReloadContent(PersistentFSImpl.java:596)
      3. com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.getLength(PersistentFSImpl.java:387)
      4. com.intellij.openapi.vfs.newvfs.impl.VirtualFileSystemEntry.getLength(VirtualFileSystemEntry.java:244)
      5. com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.reloadFromDisk(FileDocumentManagerImpl.java:624)
      6. com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.contentsChanged(FileDocumentManagerImpl.java:609)
      6 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    4. IDEA
      EventDispatcher$2.invoke
      1. com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:99)
      2. com.intellij.util.EventDispatcher.access$200(EventDispatcher.java:35)
      3. com.intellij.util.EventDispatcher$2.invoke(EventDispatcher.java:79)
      3 frames
    5. com.sun.proxy
      $Proxy15.contentsChanged
      1. com.sun.proxy.$Proxy15.contentsChanged(Unknown Source)
      1 frame
    6. IDEA
      BulkVirtualFileListenerAdapter.after
      1. com.intellij.openapi.vfs.impl.BulkVirtualFileListenerAdapter.fireAfter(BulkVirtualFileListenerAdapter.java:65)
      2. com.intellij.openapi.vfs.impl.BulkVirtualFileListenerAdapter.after(BulkVirtualFileListenerAdapter.java:56)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    8. Openapi
      MessageBusImpl$2.invoke
      1. com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:117)
      2. com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:377)
      3. com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:364)
      4. com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:343)
      5. com.intellij.util.messages.impl.MessageBusImpl.access$200(MessageBusImpl.java:42)
      6. com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:226)
      6 frames
    9. com.sun.proxy
      $Proxy17.after
      1. com.sun.proxy.$Proxy17.after(Unknown Source)
      1 frame
    10. IDEA
      LaterInvocator$FlushQueue.run
      1. com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.processEvents(PersistentFSImpl.java:774)
      2. com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.fireEventsInWriteAction(RefreshSessionImpl.java:203)
      3. com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.fireEvents(RefreshSessionImpl.java:189)
      4. com.intellij.openapi.application.TransactionGuardImpl$6.run(TransactionGuardImpl.java:291)
      5. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:326)
      6. com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:310)
      6 frames
    11. Java RT
      EventQueue.dispatchEvent
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      3. java.awt.EventQueue.access$500(EventQueue.java:97)
      4. java.awt.EventQueue$3.run(EventQueue.java:709)
      5. java.awt.EventQueue$3.run(EventQueue.java:703)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      8 frames
    12. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:795)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:631)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:387)
      3 frames
    13. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
      6 frames