forlove0723
2021-07-30 09:24
采纳率: 100%
浏览 709
已结题

请问idea运行提示:Error:Internal error等等要如何解决?

Error:Internal error: (java.lang.IllegalAccessError) class com.intellij.util.io.FileChannelUtil (in unnamed module @0x71c8becc) cannot access class sun.nio.ch.FileChannelImpl (in module java.base) because module java.base does not export sun.nio.ch to unnamed module @0x71c8becc
java.lang.IllegalAccessError: class com.intellij.util.io.FileChannelUtil (in unnamed module @0x71c8becc) cannot access class sun.nio.ch.FileChannelImpl (in module java.base) because module java.base does not export sun.nio.ch to unnamed module @0x71c8becc
at com.intellij.util.io.FileChannelUtil.setupUnInterruptibleHandle(FileChannelUtil.java:26)
at com.intellij.util.io.FileChannelUtil.(FileChannelUtil.java:18)
at com.intellij.util.io.ReadWriteDirectBufferWrapper$FileContext$1.execute(ReadWriteDirectBufferWrapper.java:50)
at com.intellij.util.io.ReadWriteDirectBufferWrapper$FileContext$1.execute(ReadWriteDirectBufferWrapper.java:42)
at com.intellij.openapi.util.io.FileUtilRt.doIOOperation(FileUtilRt.java:945)
at com.intellij.util.io.ReadWriteDirectBufferWrapper$FileContext.(ReadWriteDirectBufferWrapper.java:42)
at com.intellij.util.io.ReadWriteDirectBufferWrapper.create(ReadWriteDirectBufferWrapper.java:27)
at com.intellij.util.io.DirectBufferWrapper.getBuffer(DirectBufferWrapper.java:24)
at com.intellij.util.io.ReadWriteDirectBufferWrapper.getBuffer(ReadWriteDirectBufferWrapper.java:16)
at com.intellij.util.io.PagedFileStorage$StorageLock.createValue(PagedFileStorage.java:631)
at com.intellij.util.io.PagedFileStorage$StorageLock.get(PagedFileStorage.java:558)
at com.intellij.util.io.PagedFileStorage$StorageLock.access$500(PagedFileStorage.java:466)
at com.intellij.util.io.PagedFileStorage.getBufferWrapper(PagedFileStorage.java:407)
at com.intellij.util.io.PagedFileStorage.getBuffer(PagedFileStorage.java:371)
at com.intellij.util.io.PagedFileStorage.put(PagedFileStorage.java:278)
at com.intellij.util.io.PagedFileStorage.fillWithZeros(PagedFileStorage.java:356)
at com.intellij.util.io.PagedFileStorage.resize(PagedFileStorage.java:330)
at com.intellij.util.io.ResizeableMappedFile.expand(ResizeableMappedFile.java:108)
at com.intellij.util.io.ResizeableMappedFile.ensureSize(ResizeableMappedFile.java:77)
at com.intellij.util.io.ResizeableMappedFile.putInt(ResizeableMappedFile.java:221)
at com.intellij.util.io.PersistentEnumeratorBase.markDirty(PersistentEnumeratorBase.java:597)
at com.intellij.util.io.PersistentEnumeratorBase.(PersistentEnumeratorBase.java:185)
at com.intellij.util.io.PersistentBTreeEnumerator.(PersistentBTreeEnumerator.java:73)
at com.intellij.util.io.PersistentEnumeratorDelegate.(PersistentEnumeratorDelegate.java:47)
at com.intellij.util.io.PersistentHashMap.(PersistentHashMap.java:149)
at com.intellij.util.io.PersistentHashMap.(PersistentHashMap.java:138)
at com.intellij.util.io.PersistentHashMap.(PersistentHashMap.java:129)
at com.intellij.util.io.PersistentHashMap.(PersistentHashMap.java:121)
at com.intellij.util.io.PersistentHashMap.(PersistentHashMap.java:114)
at org.jetbrains.jps.incremental.storage.AbstractStateStorage.createMap(AbstractStateStorage.java:124)
at org.jetbrains.jps.incremental.storage.AbstractStateStorage.(AbstractStateStorage.java:27)
at org.jetbrains.jps.incremental.storage.FileTimestampStorage.(FileTimestampStorage.java:27)
at org.jetbrains.jps.incremental.storage.ProjectStamps.(ProjectStamps.java:39)
at org.jetbrains.jps.incremental.storage.ProjectTimestamps.(ProjectTimestamps.java:19)
at org.jetbrains.jps.cmdline.BuildRunner.load(BuildRunner.java:92)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:274)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:130)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:232)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:831)

img

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

相关推荐 更多相似问题