加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

File.documentsDirectory抛出异常Error #2014问题解决方案

发布时间:2020-12-15 04:28:58 所属栏目:百科 来源:网络整理
导读:最近发现GNotes在某些机器上安装出现空白界面问题,经过多次调试后来检查发现File.documentsDirectory此方法抛出Error #2014异常,提示功能不可用。也不明白为什么会抛出这异常,于是网上搜索了一下资料,发现有一位外国朋友跟我的情况一下( good luck!)

最近发现GNotes在某些机器上安装出现空白界面问题,经过多次调试后来检查发现File.documentsDirectory此方法抛出Error #2014异常,提示功能不可用。也不明白为什么会抛出这异常,于是网上搜索了一下资料,发现有一位外国朋友跟我的情况一下(

good luck!)。下面是描述内容:

Error #2014: Feature is not available at this time. at flash.filesystem::File$/initDocumentsDir()

2011-10-18 上午7:07

We have a customer that is occasionally getting this error on the startup of our AIR app:

Error: Error #2014: Feature is not available at this time.

at flash.filesystem::File$/initDocumentsDir()

at flash.filesystem::File$/get documentsDirectoryPath()

at flash.filesystem::File$/get documentsDirectory()

at licensing::LicensingManager()

at licensing::LicensingManager$/getInstance()

at Function/http://adobe.com/AS3/2006/builtin::apply()

at MethodInfo-13695()

at Function/http://adobe.com/AS3/2006/builtin::apply()

at mx.binding::Watcher/wrapUpdate()

at mx.binding::FunctionReturnWatcher/updateFunctionReturn()

at mx.binding::FunctionReturnWatcher/updateParent()

at _YNABWatcherSetupUtil/setup()

at YNAB/initialize()

at mx.managers::SystemManager/

http://www.adobe.com/2006/flex/mx/internal::childAdded()

at mx.managers::SystemManager/initializeTopLevelWindow()

at mx.managers::SystemManager/

http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()

at mx.managers::SystemManager/docFrameListener()

I have never heard of this error before,and what makes it worse is that it is only occasional! Do any Adobe developers have any ideas?

Best regards,

Taylor

然后回复问题的内容是:

This issue should be due to that the user has his documents folder pointing (right click "my documents" -> properties -> location tab) to a folder on a remote drive that's not alway accessible. For example,pointing the folder to X: (orc-fstemp) and then right-clicking on X to disconnect the drive. The applicaiton developers had better catch this error and show meaningful error message to th

原文请看: http://forums.adobe.com/message/3978972

回复内容的大概意思是,"我的文档"的位置指向了一个不可访问路径导致Air中获取失败。可以通过右键"我的文档",选择"属性" --> "位置"查看指向是否正确。我按照步骤查看了一下,果然是指向有问题,更改了一下指向后问题解决了。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读