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: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-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问题解决方案相关推荐

  1. 关于 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] 参 ...

  2. 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 ...

  3. Binary XML file line 2: Error inflating class

    文章目录 问题 解决方案 在开发中遇到一个神奇的坑,先做记录. 问题 功能很简单,给某个点击区域设置按压态,正常颜色是 @color/colorPrimaryDark,被点击时是 @color/col ...

  4. Binary XML file line #8: Error inflating class android.support.v7.widget.RecyclerView

    今天创建了一个 demo ,然后就是复制RecyclerView 过去, 到最后完成运行的时候发现 系统奔溃了, 然后 提示 Binary XML file line #8: Error inflat ...

  5. 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 ...

  6. jquery ajax返回Internal server error 500错误解决方案

    jquery ajax返回Internal server error 500错误解决方案 参考文章: (1)jquery ajax返回Internal server error 500错误解决方案 ( ...

  7. 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 ...

  8. 运行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 ...

  9. Nginx出现500 Internal Server Error 错误的解决方案

    Nginx出现500 Internal Server Error 错误的解决方案 Nginx 500错误(Internal Server Error  内部服务器错误):500错误指的是服务器内部错误 ...

最新文章

  1. 【英语学习】【English L06】U08 News L3 Was it drunk driving again?
  2. php大量数据库抽象,数据库的数据抽象有几个级别
  3. !DOCTYPE html
  4. 《C语言及程序设计》实践参考——间隔选职工
  5. Qt 小项目 -- 颜色拾取器
  6. 自定义validator
  7. yum search htppd 的意思
  8. java基础编程学习-1
  9. HackTheBox——Beep
  10. 腾讯马化腾:未来是全真互联网
  11. OPPO Find7 system分区教程
  12. 解决Nmap扫描出现的延时
  13. python计算量比指标
  14. 谷歌问答上线 悲凉下的涌动
  15. 华为开发者大会2021鸿蒙系统,鸿蒙2.0来了!华为开发者大会HDC 2020宣布
  16. 怎样使html兼容各个浏览器,怎样使CSS兼容浏览器?
  17. Json字段编辑器 ( json-editor-vue3 详细闭坑指南)
  18. oracle表分区设计_Oracle数据库分区技术
  19. ifconfig eth Rx error
  20. python键盘怎么输入双引号_如何在Python中使用字符串变量打印双引号?

热门文章

  1. SAP MM 销售订单库存与普通库存之间相互转换过账后对于EBEWH以及MBEWH表的更新
  2. 机器学习笔试题精选(二)
  3. 人工智能vs人类智能小传
  4. 大脑进化追不上社会文化:化石和脱氧核糖核酸证明人类大脑进化比社会慢
  5. 自保护、人机互动柔性织物传感器研究取得进展
  6. MIT:机器学习预测2018世界杯冠军
  7. Hey!你的 CSDN 年度报告已出炉,请查收~
  8. Java 25 岁,发展现状大曝光!程序员的机会来了
  9. Nutanix助力五矿证券迈向金融混合云2.0
  10. springboot集成freemarker 配置application.properties详解