File.documentsDirectory抛出异常Error #2014问题解决方案
2019独角兽企业重金招聘Python工程师标准>>>
最近发现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:07We 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-fs\temp) 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中获取失败。可以通过右键"我的文档",选择"属性" --> "位置"查看指向是否正确。我按照步骤查看了一下,果然是指向有问题,更改了一下指向后问题解决了。
转载于:https://my.oschina.net/vimfung/blog/109292
File.documentsDirectory抛出异常Error #2014问题解决方案相关推荐
- 关于 error: LNK1123: failure during conversion to COFF: file invalid or corrupt 错误的解决方案【Qt】【 VS2010】
关于 error: LNK1123: failure during conversion to COFF: file invalid or corrupt 错误的解决方案[Qt][ VS2010] 参 ...
- Caused by: android.view.InflateException: Binary XML file line #12: Error inflating class lzl.edu.c
在自定义view中常常会出现这么一个错误 Caused by: android.view.InflateException: Binary XML file line #12: Error infla ...
- Binary XML file line 2: Error inflating class
文章目录 问题 解决方案 在开发中遇到一个神奇的坑,先做记录. 问题 功能很简单,给某个点击区域设置按压态,正常颜色是 @color/colorPrimaryDark,被点击时是 @color/col ...
- Binary XML file line #8: Error inflating class android.support.v7.widget.RecyclerView
今天创建了一个 demo ,然后就是复制RecyclerView 过去, 到最后完成运行的时候发现 系统奔溃了, 然后 提示 Binary XML file line #8: Error inflat ...
- android Binary XML file line #1: Binary XML file line #1: Error inflating class x 问题详解
话不多少,上错误堆栈: Process: com.mci.smagazine, PID: 25065java.lang.RuntimeException: Unable to start activi ...
- jquery ajax返回Internal server error 500错误解决方案
jquery ajax返回Internal server error 500错误解决方案 参考文章: (1)jquery ajax返回Internal server error 500错误解决方案 ( ...
- Android --- Binary XML file line2 Binary XML file line 2 Error inflating class unknown
报错信息如下: 05/21 10:18:21: Launching app $ adb push D:\android install files\jishi\app\build\outputs\ap ...
- 运行launch文件报错Roslaunch got a ‘No such file or directory‘ error while attempting to run:
说明:复制了一个launch和py文件,一运行突然出现这问题,可谓是有点懵. Roslaunch got a 'No such file or directory' error while attem ...
- Nginx出现500 Internal Server Error 错误的解决方案
Nginx出现500 Internal Server Error 错误的解决方案 Nginx 500错误(Internal Server Error 内部服务器错误):500错误指的是服务器内部错误 ...
最新文章
- 【英语学习】【English L06】U08 News L3 Was it drunk driving again?
- php大量数据库抽象,数据库的数据抽象有几个级别
- !DOCTYPE html
- 《C语言及程序设计》实践参考——间隔选职工
- Qt 小项目 -- 颜色拾取器
- 自定义validator
- yum search htppd 的意思
- java基础编程学习-1
- HackTheBox——Beep
- 腾讯马化腾:未来是全真互联网
- OPPO Find7 system分区教程
- 解决Nmap扫描出现的延时
- python计算量比指标
- 谷歌问答上线 悲凉下的涌动
- 华为开发者大会2021鸿蒙系统,鸿蒙2.0来了!华为开发者大会HDC 2020宣布
- 怎样使html兼容各个浏览器,怎样使CSS兼容浏览器?
- Json字段编辑器 ( json-editor-vue3 详细闭坑指南)
- oracle表分区设计_Oracle数据库分区技术
- ifconfig eth Rx error
- python键盘怎么输入双引号_如何在Python中使用字符串变量打印双引号?