HarmonyOS 鸿蒙Next deveco 打开文件一直显示加载中

发布于 1周前 作者 itying888 来自 鸿蒙OS

HarmonyOS 鸿蒙Next deveco 打开文件一直显示加载中

1734948410817.jpg

java.lang.IllegalArgumentException: recordId(186375) is not yet allocated: allocated ids are all < 181776

    at com.intellij.openapi.vfs.newvfs.persistent.dev.blobstorage.StreamlinedBlobStorageHelper.checkRecordIdExists(StreamlinedBlobStorageHelper.java:398)

    at com.intellij.openapi.vfs.newvfs.persistent.dev.blobstorage.StreamlinedBlobStorageOverMMappedFile.readRecord(StreamlinedBlobStorageOverMMappedFile.java:200)

    at com.intellij.openapi.vfs.newvfs.persistent.dev.blobstorage.StreamlinedBlobStorageHelper.readRecord(StreamlinedBlobStorageHelper.java:216)

    at com.intellij.openapi.vfs.newvfs.persistent.AttributesStorageOverBlobStorage.readAttributeValue(AttributesStorageOverBlobStorage.java:1026)

    at com.intellij.openapi.vfs.newvfs.persistent.AttributesStorageOverBlobStorage.readAttributeRaw(AttributesStorageOverBlobStorage.java:134)

    at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSAttributeAccessor.readAttributeRaw(PersistentFSAttributeAccessor.java:72)

    at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSTreeRawAccessor.mayHaveChildren(PersistentFSTreeRawAccessor.java:118)

    at com.intellij.openapi.vfs.newvfs.persistent.FSRecordsImpl.mayHaveChildren(FSRecordsImpl.java:662)

    at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.mayHaveChildren(PersistentFSImpl.java:2322)

    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.loadAllChildren(VirtualDirectoryImpl.java:456)

    at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.getChildren(VirtualDirectoryImpl.java:404)

    at com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode.isAlwaysShowPlus(PsiDirectoryNode.java:392)

    at com.intellij.ide.util.treeView.AbstractTreeNode.getLeafState(AbstractTreeNode.java:115)

    at com.intellij.ui.tree.LeafState.get(LeafState.java:51)

    at com.intellij.ide.util.treeView.AbstractTreeStructure.getLeafState(AbstractTreeStructure.java:58)

    at com.intellij.ui.tree.StructureTreeModel$Node.<init>(StructureTreeModel.java:460)

    at com.intellij.ui.tree.StructureTreeModel.getValidChildren(StructureTreeModel.java:418)

    at com.intellij.ui.tree.StructureTreeModel.validateChildren(StructureTreeModel.java:329)

    at com.intellij.ui.tree.StructureTreeModel.getNode(StructureTreeModel.java:323)

    at com.intellij.ui.tree.StructureTreeModel.getChildren(StructureTreeModel.java:343)

    at com.intellij.ui.tree.AsyncTreeModel$CmdGetChildren.computeNode(AsyncTreeModel.java:613)

    at com.intellij.ui.tree.AsyncTreeModel$Command.computeNode(AsyncTreeModel.java:489)

    at com.intellij.util.concurrency.Invoker$Task.run(Invoker.java:381)

    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1077)

    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runInReadActionWithWriteActionPriority$0(ProgressIndicatorUtils.java:73)

    at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.runActionAndCancelBeforeWrite(ProgressIndicatorUtilService.java:73)

    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:128)

    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runWithWriteActionPriority$1(ProgressIndicatorUtils.java:111)

    at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:73)

    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:192)

    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:610)

    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:685)

    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:641)

    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:609)

    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:78)

    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:179)

    at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:73)

    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:108)

    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:73)

    at com.intellij.util.concurrency.Invoker.startTask(Invoker.java:238)

    at com.intellij.util.concurrency.Invoker.invokeSafely(Invoker.java:194)

    at com.intellij.util.concurrency.Invoker.lambda$offerSafely$0(Invoker.java:177)

    at com.intellij.util.concurrency.Invoker$Background.lambda$offer$0(Invoker.java:508)

    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)

    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

    at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:272)

    at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:244)

    at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:30)

    at com.intellij.util.concurrency.BoundedTaskExecutor$1.executeFirstTaskAndHelpQueue(BoundedTaskExecutor.java:222)

    at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:218)

    at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:210)

    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)

    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)

    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)

    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)

    at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)

    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)

    at java.base/java.lang.Thread.run(Thread.java:840)


更多关于HarmonyOS 鸿蒙Next deveco 打开文件一直显示加载中的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html

2 回复
卸载重新安装下呢。

更多关于HarmonyOS 鸿蒙Next deveco 打开文件一直显示加载中的实战系列教程也可以访问 https://www.itying.com/category-93-b0.html


在HarmonyOS鸿蒙Next deveco环境中,若遇到打开文件持续显示“加载中”的问题,可能涉及以下几个方面的排查:

  1. 文件路径与权限:确认文件路径是否正确无误,且应用拥有访问该路径的权限。检查文件是否存在于指定位置,以及是否有足够的权限进行读取操作。

  2. 文件格式支持:验证文件格式是否被当前应用或系统支持。某些特定格式的文件可能需要特定的解码器或插件才能正常打开。

  3. 系统资源占用:检查系统资源使用情况,如CPU、内存及存储是否处于高负载状态。资源紧张可能导致文件加载缓慢或停滞。

  4. 应用缓存与数据:尝试清除应用缓存和数据,有时缓存损坏或数据异常也会导致文件加载问题。

  5. 软件版本与兼容性:确保使用的deveco开发环境及HarmonyOS系统版本为最新,或至少为官方推荐的稳定版本,以避免已知的兼容性问题。

  6. 日志分析:查看系统日志或应用日志,寻找可能的错误信息或异常提示,这有助于定位问题的具体原因。

如果问题依旧没法解决请联系官网客服,官网地址是:https://www.itying.com/category-93-b0.html

回到顶部