突破异常:严格获取失败,无效对象。 (镖) [英] Breaking on exception: Strict get failed, invalid object. (dart)

查看:181
本文介绍了突破异常:严格获取失败,无效对象。 (镖)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法通过google找到任何有用的东西,所以:
我的Dart网络应用程序工作完美。下一次我打开Darteditor并且(没有改变任何东西)再次运行它,Darteditor显示错误


打破异常:严格获取失败,无效对象。


此错误并不总是显示,即使是这样,应用程序仍然运行。 Darteditor不给我任何命中的错误发生,因为调试器声称一些源不可用。





有没有人知道为什么/当这个错误发生,以及如何解决它? p>




编辑1:
正如建议的:




  • 更新Darteditor

  • pub缓存修复

  • pub升级



无法使用






编辑2:
一天后,我尝试了编辑1中提到的事情。因此也是在我重新启动电脑。此时,错误不再出现。我试图重新启动Darteditor在每次尝试在编辑1,但没有改变。现在...编辑1中的一些东西似乎已经生效,只有重新启动PC。不知道哪些 - 但我应该回答我自己的问题,提到所有3个选项从编辑1或我该怎么办?






编辑3:
(对不起,所有的编辑)
我改变了一些代码现在,错误又回到这里...
有时它会消失,但不是与明显的原因就像一行特定的代码添加/删除。现在,另外一行是错误:


应用程序缓存NoUpdate事件( https://www.google.ch/xjs/_/js/k=xjs.ntp.en_US.mqcA3JMW-QU.O/m=jsa,ntp,pcc,csi / rt = j / d = 1 / t = zcms / rs = AItRSTO3mHFV3hPPmf2KYlzqp_GC2s-5GQ:119
突破异常:严格获取失败,无效对象


< blockback =

解决方案


当我点击Dartium中的返回按钮,
当我使用退格键和焦点不在可编辑的
字段(触发后退按钮)。我认为这是一个错误在
Dart或Dartium。 - Damien Aug 21 at 14:00



有趣的是:当我按下dartium的后退按钮时,出现错误
,但是在这之后,有关应用程序缓存
(约5行文本),现在我无法重现严格得到
失败错误消息 - lucidbrot昨天


按下dartium中的后退按钮,我从来没有这样做,似乎有助于我的情况。



我不会接受这个答案,直到有人评论过它为他工作,但是,我想这里比观看我的问题更好。


I wasn't able to find anything helpful through google, so: My Dart webapplication worked perfectly. Next time I opened Darteditor and (without changing anything) ran it again, Darteditor showed the Error

Breaking on exception: Strict get failed, invalid object.

This Error doesn't always show up and even when it does, the App still functions. Darteditor doesn't give me any hit where that Error occurs, because the debugger claims some source not to be available.

Does anyone know why/when this Error occurrs and what to do to fix it?


EDIT 1: As suggested in comments:

  • updating Darteditor
  • pub cache repair
  • pub upgrade

Did not work


EDIT 2: A Day after I tried the things mentioned in EDIT 1. Thus also after I rebooted the PC. At the moment, the Error doesn't appear anymore. I tried restarting the Darteditor after each try in EDIT 1 but nothing changed. Now...some of the things in EDIT 1 seem to have taken effect only after rebooting the PC. Not sure which of those though - am I supposed to answer my own question mentioning all 3 options from EDIT 1 or what should I do?


EDIT 3: (Sorry for all the edits) I changed some code now and the Error is back here again... Sometimes it goes away, but not with a obvious reason like a specific line of code added/removed. Right now, ther is an additional line by the Error:

Application Cache NoUpdate event (https://www.google.ch/xjs/_/js/k=xjs.ntp.en_US.mqcA3JMW-QU.O/m=jsa,ntp,pcc,csi/rt=j/d=1/t=zcms/rs=AItRSTO3mHFV3hPPmf2KYlzqp_GC2s-5GQ:119) Breaking on exception: Strict get failed, invalid object.

解决方案

I get the same error message when I click the back button in Dartium, or when I use the backspace key and the focus is not in an editable field (which triggers the back button). I think it's either a bug in Dart or Dartium. – Damien Aug 21 at 14:00

Interesting: When I pressed the back button in dartium, the error did show up, but after this, it said something about application cache (about 5 lines of text) and now I cannot reproduce the "strict get failed" Error message – lucidbrot yesterday

pressing the back button in dartium, which I never did before, seemed to help in my case. Updating Darteditor again after this didn't change anything - the strict get error disappeared.

I won't accept this answer until somebody comments that it worked for him too, but I guess it is better to view here than as a comment to my question.

这篇关于突破异常:严格获取失败,无效对象。 (镖)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆