BlueStacks дает мне ссылку на объект после возможной грязной переустановки

10110
smograth

Я установил последнюю версию BlueStacks 2, но она застряла на экране инициализации, поэтому я:

  • Убили его процессы.
  • Удалил папки BlueStacks.
  • Удалены BlueStacks из реестра (?).
  • Переустановил и попытался дать ему как можно больше контроля над своей папкой.

Конечно, это дает мне еще одну ошибку:

Ссылка на объект не установлена ​​на экземпляр объекта.

Расстраивающе неспецифично, да? Кто-нибудь, кто может помочь?

3
Или даже как я могу посмотреть на проблему дальше, чем «каким-то образом где-то была ссылка на ошибочный объект». smograth 8 лет назад 0
Вам может потребоваться быть локальным администратором на вашем компьютере, если вы работаете в Windows или запускаете его как администратор. У нас был разработчик, который должен был иметь это на некоторых ПК для нелокальных администраторов, и мне пришлось создать учетную запись службы домена для использования в качестве прокси-сервера, чтобы установить ее в качестве локального администратора, а затем использовать сохраненные учетные данные для значка ярлыка, чтобы работа на этих машинах. Вот [Мой опубликованный ответ] (http://serverfault.com/questions/734320/allow-standard-user-to-run-program-as-local-admin-without-elevation-prompt/734360# 734360) на эту тему из-за сбоя сервера. Просто мысль, хотя. Pimp Juice IT 8 лет назад 0

2 ответа на вопрос

2
Hassam Rasheed

If you already have Bluestacks 2 installed but the error of (object reference not set shows up after you double click the Bluestacks file) then this is what you should do.

Had the same problem and what I diagnosed is that the problem has something to do with Bluestacks screen resolution.

What I want you to do is change or rather reduce your screen resolution to lets say 800x600 then open Bluestacks.

Once it does open change back to the original resolution. Lemme know how it works out. :D

0
galacticninja

That error seems to happen if the BlueStacks registry settings for its window size somehow got changed to an invalid value like 0 or -1, possibly due to a bug with BlueStacks. You must edit the following registry values (the window resolution of BlueStacks) to valid values using the Registry Editor (regedit.exe):

  • HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0\WindowWidth

  • HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0\WindowHeight

Or (easier) use the following registry file (copy the following text in code markup and save it to a .REG file using a text editor):

Windows Registry Editor Version 5.00 ; Fix for BlueStacks errors: http://superuser.com/a/1078513/10259?bluestacks-giving-me-an-object-reference-error [HKEY_LOCAL_MACHINE\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0] "WindowWidth"=dword:00000500 "WindowHeight"=dword:000002d0 

This registry file sets the size of the BlueStacks window to 1280 × 720. I made it as the error regularly happens to my copy of BlueStacks. Just open up the resulting .REG file and allow the Registry Editor to make the changes. Aside from the 'Object reference not set to instance of an object' error, this should also help fix the following errors:

  • Error: parameter is not valid
  • Error: InvalidArgument=Value of '-1' is not valid for 'index'. Parameter name: index
  • Error: Rectangle '' cannot have a width or height equal to 0.
  • Error: Specified argument was out of the range of valid values. Parameter name: MinimumSize

Похожие вопросы