Getting strange two exceptions on EditorWindow script. Any ideas how to fix it and what make it?












0















I'm using 2018.3.0f2 Personal



The exceptions show up once I'm trying to start the script in the editor by doing in the menu: Window > Manager then it's not even showing the editor window but after I'm trying many times it's working. Can't figure out what is going on.



Maybe I should uninstall old unity versions including the current one and re install this one again ? Maybe it's a bug in the 3.0f2 version ?



The two exceptions:




NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorWindow.GetRootElement[TMode] (System.Boolean createIfNull) (at C:/buildslave/unity/build/Editor/Mono/EditorWindow.cs:55)
Unity.Experimental.EditorMode.EditorModes.GetRootElement[TMode] (UnityEditor.EditorWindow window) (at C:/buildslave/unity/build/Editor/Mono/EditorMode/EditorModes.cs:455)
Unity.Experimental.EditorMode.EditorModes+ModeGenericHelper`1[TMode].GetRoot (UnityEditor.EditorWindow window) (at C:/buildslave/unity/build/Editor/Mono/EditorMode/EditorModes.cs:28)
Unity.Experimental.EditorMode.EditorModes.GetRootElement (UnityEditor.EditorWindow window) (at C:/buildslave/unity/build/Editor/Mono/EditorMode/EditorModes.cs:215)
UnityEditor.HostView.DeregisterSelectedPane (System.Boolean clearActualView, System.Boolean sendEvents) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:399)
UnityEditor.HostView.OnDisable () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:103)




And




NullReferenceException: Object reference not set to an instance of an object
UnityEditor.DockArea.KillIfEmpty () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:234)
UnityEditor.DockArea.RemoveTab (UnityEditor.EditorWindow pane, System.Boolean killIfEmpty, System.Boolean sendEvents) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:222)
UnityEditor.DockArea.RemoveTab (UnityEditor.EditorWindow pane) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:193)
UnityEditor.EditorWindow.set_position (UnityEngine.Rect value) (at C:/buildslave/unity/build/Editor/Mono/EditorWindow.cs:1030)
Manager.CenterWindow () (at Assets/Editor/Manager.cs:81)
Manager.ShowEditor () (at Assets/Editor/Manager.cs:25)




The script:



using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEditor.Animations;
using UnityEngine;

public class Manager : EditorWindow
{
private static Manager editor;
private static int width = 350;
private static int height = 300;
private static int x = 0;
private static int y = 0;
private static List<string> allFiles = new List<string>();
private StreamWriter w;

[MenuItem("Window/Manager")]
static void ShowEditor()
{
editor = EditorWindow.GetWindow<Manager>();
CenterWindow();
}

private void OnGUI()
{
if (GUILayout.Button("Rename"))
{
w = new StreamWriter(@"d:testnames.txt");
Rename();
}
}

public void Rename()
{
DirSearch();

if (allFiles.Count > 0)
{
for (int i = 0; i < allFiles.Count; i++)
{
int idx = allFiles[i].IndexOf("Assets");
string filename = Path.GetFileName(allFiles[i]);
string asset = allFiles[i].Substring(idx);
AnimationClip orgClip = (AnimationClip)AssetDatabase.LoadAssetAtPath(
asset, typeof(AnimationClip));

var fileName = Path.GetFileNameWithoutExtension(allFiles[i]);
var importer = (ModelImporter)AssetImporter.GetAtPath(asset);

RenameAndImport(importer, fileName);
}

w.Close();
}
}

private void RenameAndImport(ModelImporter asset, string name)
{
ModelImporter modelImporter = asset as ModelImporter;
ModelImporterClipAnimation clipAnimations = modelImporter.defaultClipAnimations;

for (int i = 0; i < clipAnimations.Length; i++)
{
clipAnimations[i].name = "magic_" + name;
w.WriteLine(clipAnimations[i].name);
}

modelImporter.clipAnimations = clipAnimations;
modelImporter.SaveAndReimport();
}

private static void CenterWindow()
{
editor = EditorWindow.GetWindow<Manager>();
x = (Screen.currentResolution.width - width) / 2;
y = (Screen.currentResolution.height - height) / 2;
editor.position = new Rect(x, y, width, height);
editor.maxSize = new Vector2(width, height);
editor.minSize = editor.maxSize;
}

static void DirSearch()
{
string info = Application.dataPath + "/Mixamo/Animations/medea_m_arrebola/Magic Pack";
string fileInfo = Directory.GetFiles(info, "*.fbx", SearchOption.AllDirectories);
foreach (string file in fileInfo)
{
if (file.EndsWith(".fbx"))
allFiles.Add(file);
}
}
}


Line 81 is:



editor.position = new Rect(x, y, width, height);


Line 25 is:



CenterWindow();


I'm not sure if it's connected to the StreamWriter I started using it just yesterday with this script but I can't see anything in the exceptions about the StreamWriter.










share|improve this question

























  • For the StreamWrite I think it would be better to use it with using and than pass on the reference to the submethods you call would be a bit cleaned and safer

    – derHugo
    Jan 4 at 6:19











  • Did you try to call editor.Show before changing the position? You also might try GetWindowWithRect in order to set the position right from the start

    – derHugo
    Jan 4 at 6:27
















0















I'm using 2018.3.0f2 Personal



The exceptions show up once I'm trying to start the script in the editor by doing in the menu: Window > Manager then it's not even showing the editor window but after I'm trying many times it's working. Can't figure out what is going on.



Maybe I should uninstall old unity versions including the current one and re install this one again ? Maybe it's a bug in the 3.0f2 version ?



The two exceptions:




NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorWindow.GetRootElement[TMode] (System.Boolean createIfNull) (at C:/buildslave/unity/build/Editor/Mono/EditorWindow.cs:55)
Unity.Experimental.EditorMode.EditorModes.GetRootElement[TMode] (UnityEditor.EditorWindow window) (at C:/buildslave/unity/build/Editor/Mono/EditorMode/EditorModes.cs:455)
Unity.Experimental.EditorMode.EditorModes+ModeGenericHelper`1[TMode].GetRoot (UnityEditor.EditorWindow window) (at C:/buildslave/unity/build/Editor/Mono/EditorMode/EditorModes.cs:28)
Unity.Experimental.EditorMode.EditorModes.GetRootElement (UnityEditor.EditorWindow window) (at C:/buildslave/unity/build/Editor/Mono/EditorMode/EditorModes.cs:215)
UnityEditor.HostView.DeregisterSelectedPane (System.Boolean clearActualView, System.Boolean sendEvents) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:399)
UnityEditor.HostView.OnDisable () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:103)




And




NullReferenceException: Object reference not set to an instance of an object
UnityEditor.DockArea.KillIfEmpty () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:234)
UnityEditor.DockArea.RemoveTab (UnityEditor.EditorWindow pane, System.Boolean killIfEmpty, System.Boolean sendEvents) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:222)
UnityEditor.DockArea.RemoveTab (UnityEditor.EditorWindow pane) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:193)
UnityEditor.EditorWindow.set_position (UnityEngine.Rect value) (at C:/buildslave/unity/build/Editor/Mono/EditorWindow.cs:1030)
Manager.CenterWindow () (at Assets/Editor/Manager.cs:81)
Manager.ShowEditor () (at Assets/Editor/Manager.cs:25)




The script:



using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEditor.Animations;
using UnityEngine;

public class Manager : EditorWindow
{
private static Manager editor;
private static int width = 350;
private static int height = 300;
private static int x = 0;
private static int y = 0;
private static List<string> allFiles = new List<string>();
private StreamWriter w;

[MenuItem("Window/Manager")]
static void ShowEditor()
{
editor = EditorWindow.GetWindow<Manager>();
CenterWindow();
}

private void OnGUI()
{
if (GUILayout.Button("Rename"))
{
w = new StreamWriter(@"d:testnames.txt");
Rename();
}
}

public void Rename()
{
DirSearch();

if (allFiles.Count > 0)
{
for (int i = 0; i < allFiles.Count; i++)
{
int idx = allFiles[i].IndexOf("Assets");
string filename = Path.GetFileName(allFiles[i]);
string asset = allFiles[i].Substring(idx);
AnimationClip orgClip = (AnimationClip)AssetDatabase.LoadAssetAtPath(
asset, typeof(AnimationClip));

var fileName = Path.GetFileNameWithoutExtension(allFiles[i]);
var importer = (ModelImporter)AssetImporter.GetAtPath(asset);

RenameAndImport(importer, fileName);
}

w.Close();
}
}

private void RenameAndImport(ModelImporter asset, string name)
{
ModelImporter modelImporter = asset as ModelImporter;
ModelImporterClipAnimation clipAnimations = modelImporter.defaultClipAnimations;

for (int i = 0; i < clipAnimations.Length; i++)
{
clipAnimations[i].name = "magic_" + name;
w.WriteLine(clipAnimations[i].name);
}

modelImporter.clipAnimations = clipAnimations;
modelImporter.SaveAndReimport();
}

private static void CenterWindow()
{
editor = EditorWindow.GetWindow<Manager>();
x = (Screen.currentResolution.width - width) / 2;
y = (Screen.currentResolution.height - height) / 2;
editor.position = new Rect(x, y, width, height);
editor.maxSize = new Vector2(width, height);
editor.minSize = editor.maxSize;
}

static void DirSearch()
{
string info = Application.dataPath + "/Mixamo/Animations/medea_m_arrebola/Magic Pack";
string fileInfo = Directory.GetFiles(info, "*.fbx", SearchOption.AllDirectories);
foreach (string file in fileInfo)
{
if (file.EndsWith(".fbx"))
allFiles.Add(file);
}
}
}


Line 81 is:



editor.position = new Rect(x, y, width, height);


Line 25 is:



CenterWindow();


I'm not sure if it's connected to the StreamWriter I started using it just yesterday with this script but I can't see anything in the exceptions about the StreamWriter.










share|improve this question

























  • For the StreamWrite I think it would be better to use it with using and than pass on the reference to the submethods you call would be a bit cleaned and safer

    – derHugo
    Jan 4 at 6:19











  • Did you try to call editor.Show before changing the position? You also might try GetWindowWithRect in order to set the position right from the start

    – derHugo
    Jan 4 at 6:27














0












0








0








I'm using 2018.3.0f2 Personal



The exceptions show up once I'm trying to start the script in the editor by doing in the menu: Window > Manager then it's not even showing the editor window but after I'm trying many times it's working. Can't figure out what is going on.



Maybe I should uninstall old unity versions including the current one and re install this one again ? Maybe it's a bug in the 3.0f2 version ?



The two exceptions:




NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorWindow.GetRootElement[TMode] (System.Boolean createIfNull) (at C:/buildslave/unity/build/Editor/Mono/EditorWindow.cs:55)
Unity.Experimental.EditorMode.EditorModes.GetRootElement[TMode] (UnityEditor.EditorWindow window) (at C:/buildslave/unity/build/Editor/Mono/EditorMode/EditorModes.cs:455)
Unity.Experimental.EditorMode.EditorModes+ModeGenericHelper`1[TMode].GetRoot (UnityEditor.EditorWindow window) (at C:/buildslave/unity/build/Editor/Mono/EditorMode/EditorModes.cs:28)
Unity.Experimental.EditorMode.EditorModes.GetRootElement (UnityEditor.EditorWindow window) (at C:/buildslave/unity/build/Editor/Mono/EditorMode/EditorModes.cs:215)
UnityEditor.HostView.DeregisterSelectedPane (System.Boolean clearActualView, System.Boolean sendEvents) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:399)
UnityEditor.HostView.OnDisable () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:103)




And




NullReferenceException: Object reference not set to an instance of an object
UnityEditor.DockArea.KillIfEmpty () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:234)
UnityEditor.DockArea.RemoveTab (UnityEditor.EditorWindow pane, System.Boolean killIfEmpty, System.Boolean sendEvents) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:222)
UnityEditor.DockArea.RemoveTab (UnityEditor.EditorWindow pane) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:193)
UnityEditor.EditorWindow.set_position (UnityEngine.Rect value) (at C:/buildslave/unity/build/Editor/Mono/EditorWindow.cs:1030)
Manager.CenterWindow () (at Assets/Editor/Manager.cs:81)
Manager.ShowEditor () (at Assets/Editor/Manager.cs:25)




The script:



using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEditor.Animations;
using UnityEngine;

public class Manager : EditorWindow
{
private static Manager editor;
private static int width = 350;
private static int height = 300;
private static int x = 0;
private static int y = 0;
private static List<string> allFiles = new List<string>();
private StreamWriter w;

[MenuItem("Window/Manager")]
static void ShowEditor()
{
editor = EditorWindow.GetWindow<Manager>();
CenterWindow();
}

private void OnGUI()
{
if (GUILayout.Button("Rename"))
{
w = new StreamWriter(@"d:testnames.txt");
Rename();
}
}

public void Rename()
{
DirSearch();

if (allFiles.Count > 0)
{
for (int i = 0; i < allFiles.Count; i++)
{
int idx = allFiles[i].IndexOf("Assets");
string filename = Path.GetFileName(allFiles[i]);
string asset = allFiles[i].Substring(idx);
AnimationClip orgClip = (AnimationClip)AssetDatabase.LoadAssetAtPath(
asset, typeof(AnimationClip));

var fileName = Path.GetFileNameWithoutExtension(allFiles[i]);
var importer = (ModelImporter)AssetImporter.GetAtPath(asset);

RenameAndImport(importer, fileName);
}

w.Close();
}
}

private void RenameAndImport(ModelImporter asset, string name)
{
ModelImporter modelImporter = asset as ModelImporter;
ModelImporterClipAnimation clipAnimations = modelImporter.defaultClipAnimations;

for (int i = 0; i < clipAnimations.Length; i++)
{
clipAnimations[i].name = "magic_" + name;
w.WriteLine(clipAnimations[i].name);
}

modelImporter.clipAnimations = clipAnimations;
modelImporter.SaveAndReimport();
}

private static void CenterWindow()
{
editor = EditorWindow.GetWindow<Manager>();
x = (Screen.currentResolution.width - width) / 2;
y = (Screen.currentResolution.height - height) / 2;
editor.position = new Rect(x, y, width, height);
editor.maxSize = new Vector2(width, height);
editor.minSize = editor.maxSize;
}

static void DirSearch()
{
string info = Application.dataPath + "/Mixamo/Animations/medea_m_arrebola/Magic Pack";
string fileInfo = Directory.GetFiles(info, "*.fbx", SearchOption.AllDirectories);
foreach (string file in fileInfo)
{
if (file.EndsWith(".fbx"))
allFiles.Add(file);
}
}
}


Line 81 is:



editor.position = new Rect(x, y, width, height);


Line 25 is:



CenterWindow();


I'm not sure if it's connected to the StreamWriter I started using it just yesterday with this script but I can't see anything in the exceptions about the StreamWriter.










share|improve this question
















I'm using 2018.3.0f2 Personal



The exceptions show up once I'm trying to start the script in the editor by doing in the menu: Window > Manager then it's not even showing the editor window but after I'm trying many times it's working. Can't figure out what is going on.



Maybe I should uninstall old unity versions including the current one and re install this one again ? Maybe it's a bug in the 3.0f2 version ?



The two exceptions:




NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorWindow.GetRootElement[TMode] (System.Boolean createIfNull) (at C:/buildslave/unity/build/Editor/Mono/EditorWindow.cs:55)
Unity.Experimental.EditorMode.EditorModes.GetRootElement[TMode] (UnityEditor.EditorWindow window) (at C:/buildslave/unity/build/Editor/Mono/EditorMode/EditorModes.cs:455)
Unity.Experimental.EditorMode.EditorModes+ModeGenericHelper`1[TMode].GetRoot (UnityEditor.EditorWindow window) (at C:/buildslave/unity/build/Editor/Mono/EditorMode/EditorModes.cs:28)
Unity.Experimental.EditorMode.EditorModes.GetRootElement (UnityEditor.EditorWindow window) (at C:/buildslave/unity/build/Editor/Mono/EditorMode/EditorModes.cs:215)
UnityEditor.HostView.DeregisterSelectedPane (System.Boolean clearActualView, System.Boolean sendEvents) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:399)
UnityEditor.HostView.OnDisable () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:103)




And




NullReferenceException: Object reference not set to an instance of an object
UnityEditor.DockArea.KillIfEmpty () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:234)
UnityEditor.DockArea.RemoveTab (UnityEditor.EditorWindow pane, System.Boolean killIfEmpty, System.Boolean sendEvents) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:222)
UnityEditor.DockArea.RemoveTab (UnityEditor.EditorWindow pane) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:193)
UnityEditor.EditorWindow.set_position (UnityEngine.Rect value) (at C:/buildslave/unity/build/Editor/Mono/EditorWindow.cs:1030)
Manager.CenterWindow () (at Assets/Editor/Manager.cs:81)
Manager.ShowEditor () (at Assets/Editor/Manager.cs:25)




The script:



using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using UnityEditor;
using UnityEditor.Animations;
using UnityEngine;

public class Manager : EditorWindow
{
private static Manager editor;
private static int width = 350;
private static int height = 300;
private static int x = 0;
private static int y = 0;
private static List<string> allFiles = new List<string>();
private StreamWriter w;

[MenuItem("Window/Manager")]
static void ShowEditor()
{
editor = EditorWindow.GetWindow<Manager>();
CenterWindow();
}

private void OnGUI()
{
if (GUILayout.Button("Rename"))
{
w = new StreamWriter(@"d:testnames.txt");
Rename();
}
}

public void Rename()
{
DirSearch();

if (allFiles.Count > 0)
{
for (int i = 0; i < allFiles.Count; i++)
{
int idx = allFiles[i].IndexOf("Assets");
string filename = Path.GetFileName(allFiles[i]);
string asset = allFiles[i].Substring(idx);
AnimationClip orgClip = (AnimationClip)AssetDatabase.LoadAssetAtPath(
asset, typeof(AnimationClip));

var fileName = Path.GetFileNameWithoutExtension(allFiles[i]);
var importer = (ModelImporter)AssetImporter.GetAtPath(asset);

RenameAndImport(importer, fileName);
}

w.Close();
}
}

private void RenameAndImport(ModelImporter asset, string name)
{
ModelImporter modelImporter = asset as ModelImporter;
ModelImporterClipAnimation clipAnimations = modelImporter.defaultClipAnimations;

for (int i = 0; i < clipAnimations.Length; i++)
{
clipAnimations[i].name = "magic_" + name;
w.WriteLine(clipAnimations[i].name);
}

modelImporter.clipAnimations = clipAnimations;
modelImporter.SaveAndReimport();
}

private static void CenterWindow()
{
editor = EditorWindow.GetWindow<Manager>();
x = (Screen.currentResolution.width - width) / 2;
y = (Screen.currentResolution.height - height) / 2;
editor.position = new Rect(x, y, width, height);
editor.maxSize = new Vector2(width, height);
editor.minSize = editor.maxSize;
}

static void DirSearch()
{
string info = Application.dataPath + "/Mixamo/Animations/medea_m_arrebola/Magic Pack";
string fileInfo = Directory.GetFiles(info, "*.fbx", SearchOption.AllDirectories);
foreach (string file in fileInfo)
{
if (file.EndsWith(".fbx"))
allFiles.Add(file);
}
}
}


Line 81 is:



editor.position = new Rect(x, y, width, height);


Line 25 is:



CenterWindow();


I'm not sure if it's connected to the StreamWriter I started using it just yesterday with this script but I can't see anything in the exceptions about the StreamWriter.







c# unity3d






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 4 at 1:10







Dubi Duboni

















asked Jan 3 at 17:11









Dubi DuboniDubi Duboni

440110




440110













  • For the StreamWrite I think it would be better to use it with using and than pass on the reference to the submethods you call would be a bit cleaned and safer

    – derHugo
    Jan 4 at 6:19











  • Did you try to call editor.Show before changing the position? You also might try GetWindowWithRect in order to set the position right from the start

    – derHugo
    Jan 4 at 6:27



















  • For the StreamWrite I think it would be better to use it with using and than pass on the reference to the submethods you call would be a bit cleaned and safer

    – derHugo
    Jan 4 at 6:19











  • Did you try to call editor.Show before changing the position? You also might try GetWindowWithRect in order to set the position right from the start

    – derHugo
    Jan 4 at 6:27

















For the StreamWrite I think it would be better to use it with using and than pass on the reference to the submethods you call would be a bit cleaned and safer

– derHugo
Jan 4 at 6:19





For the StreamWrite I think it would be better to use it with using and than pass on the reference to the submethods you call would be a bit cleaned and safer

– derHugo
Jan 4 at 6:19













Did you try to call editor.Show before changing the position? You also might try GetWindowWithRect in order to set the position right from the start

– derHugo
Jan 4 at 6:27





Did you try to call editor.Show before changing the position? You also might try GetWindowWithRect in order to set the position right from the start

– derHugo
Jan 4 at 6:27












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54026807%2fgetting-strange-two-exceptions-on-editorwindow-script-any-ideas-how-to-fix-it-a%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54026807%2fgetting-strange-two-exceptions-on-editorwindow-script-any-ideas-how-to-fix-it-a%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Angular Downloading a file using contenturl with Basic Authentication

Olmecas

Can't read property showImagePicker of undefined in react native iOS