StrokesPlus.net Forum
»
Bugs or Issues
»
Bug Reports
»
Program unable to launch - stuck at "Intializing script engine"
Rank: Newbie
Groups: Approved
Joined: 3/9/2021(UTC) Posts: 7 Location: West Coast Thanks: 1 times
|
Hello Rob, I am desperately hoping you can help me resolve this issue. I have been using strokes+ at home for approximately five years now. It is now so essential in my everyday usage, not having it makes it impossible for me to function on a computer. In fact, I made it a condition of my accepting a job at my current employer that I be allowed to install strokes plus. Trust me, this was no easy feat, but eventually they acquiesced.
I have been using it for approximately 1 year now at work, but updating the program requires IT to get involved, so it was not something I do that often (at work). I had done it one time before with no issues, but when I updated to 0.5.6.5, the program would no longer start, as it would get stuck at "initializing script engine" and generate an error dialog. A box with a title bar that simply says "Loading..." and a large red X in the dialog box area, along with quit, continue, and details buttons. Below this post is the error log I copied when clicking the details buttons. Our IT department has tried installing several previous strokes plus versions going back to last summer with 0.5.3.5, and also I tried using the portable version, but they all end up with the same error. To me, this says something in our security policy has changed to cause this issue, but our IT department has not been able to figure it out.
Please help!
_______________________________________________________________________
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at StrokesPlus.net.Engine.ScriptEngine.Initialize(Boolean reload) at StrokesPlus.net.frmSurface.Startup(Boolean noLoadingMessages, Boolean reload) at StrokesPlus.net.frmSurface.frmSurface_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at StrokesPlus.net.frmSurface.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4420.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
StrokesPlus.net Assembly Version: 0.5.6.5 Win32 Version: 0.5.6.5 CodeBase: file:///C:/Program%20Files/StrokesPlus.net/StrokesPlus.net.exe
System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4400.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
WindowsInput Assembly Version: 1.0.7.0 Win32 Version: 1.0.7.0 CodeBase: file:///C:/Program%20Files/StrokesPlus.net/WindowsInput.DLL
Microsoft.Web.WebView2.Core Assembly Version: 1.0.1108.44 Win32 Version: 1.0.1108.44 CodeBase: file:///C:/Program%20Files/StrokesPlus.net/Microsoft.Web.WebView2.Core.DLL
ClearScript.Core Assembly Version: 7.2.2.0 Win32 Version: 7.2.2 CodeBase: file:///C:/Program%20Files/StrokesPlus.net/ClearScript.Core.DLL
ClearScript.V8 Assembly Version: 7.2.2.0 Win32 Version: 7.2.2 CodeBase: file:///C:/Program%20Files/StrokesPlus.net/ClearScript.V8.DLL
Microsoft.CSharp Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
System.Speech Assembly Version: 4.0.0.0 Win32 Version: 4.8.4200.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
System.Security Assembly Version: 4.0.0.0 Win32 Version: 4.8.4261.0 built by: NET48REL1LAST_B CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll
Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
System.Net Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.dll
System.Net.Http Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
System.Data.SqlXml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.SqlXml/v4.0_4.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
System.Management Assembly Version: 4.0.0.0 Win32 Version: 4.8.4435.0 built by: NET48REL1LAST_C CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
System.Configuration.Install Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration.Install/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.Install.dll
System.IO.Compression Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.dll
System.IO.Compression.FileSystem Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.IO.Compression.FileSystem/v4.0_4.0.0.0__b77a5c561934e089/System.IO.Compression.FileSystem.dll
Ookii.Dialogs.WinForms Assembly Version: 4.0.0.0 Win32 Version: 4.0.0.0 CodeBase: file:///C:/Program%20Files/StrokesPlus.net/Ookii.Dialogs.WinForms.DLL
System.Design Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.
For example:
<configuration> <system.windows.forms jitDebugging="true" /> </configuration>
When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,349 Location: Tampa, FL Thanks: 28 times Was thanked: 416 time(s) in 354 post(s)
|
|
|
|
|
Rank: Newbie
Groups: Approved
Joined: 3/9/2021(UTC) Posts: 7 Location: West Coast Thanks: 1 times
|
Thank you so much Rob for the lightning quick reply! I have forwarded your response onto our IT department. I will post the requested error log as soon as it is available.
I also just donated $20 to support continued development of this program. Honestly, this is something I should've done quite well back given how valuable this program is to me.
|
|
|
|
Rank: Newbie
Groups: Approved
Joined: 3/9/2021(UTC) Posts: 7 Location: West Coast Thanks: 1 times
|
Our IT department manager is requesting that you provide documentation as to what access the tracing tool requires, whether that be to the Internet, locally, etc.
Is that possible? If it can be posted in this thread, I can direct them to that. If you need to email a document instead, you can send it to my email address associated with my forum account, and I will forward it to my IT department. Thanks in advance.
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,349 Location: Tampa, FL Thanks: 28 times Was thanked: 416 time(s) in 354 post(s)
|
It's the exact same codebase as the normal S+, just with the TRACE flag set where these entries I have throughout the code will actually log to a file, instead of being ignored. Code:Trace.WriteLineIf(ServerState.TraceSegments.Contains("ClearScriptTypeLoadingEvents"), DateTime.Now + ": ScriptEngine.cs::" + System.Reflection.MethodBase.GetCurrentMethod().Name + "(): Calling LoadEngineObjects()");
|
|
|
|
Rank: Newbie
Groups: Approved
Joined: 3/9/2021(UTC) Posts: 7 Location: West Coast Thanks: 1 times
|
Thank you again for such a quick reply! I will forward this to the IT department. Knowing their level of paranoia though, I am reasonably confident they're going to request additional information, but I will cross my fingers!
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,349 Location: Tampa, FL Thanks: 28 times Was thanked: 416 time(s) in 354 post(s)
|
But really, you can extract the portable S+ to a folder, then download the trace portable version (it's only the EXE) to the same folder, and run the trace from there (unless IT would have to be involved either way, then may as well just install the regular one).
|
|
|
|
Rank: Newbie
Groups: Approved
Joined: 3/9/2021(UTC) Posts: 7 Location: West Coast Thanks: 1 times
|
I would love to do that, but doing so without IT's approval is likely grounds for getting fired.
If they are fine with me running the portable "trace build" version in order to generate the error log, then that is what I will do. I will hopefully be able to move forward shortly. I cannot tell you how amazing such quick responses by you are… Thank you so much for your attention to this matter.
|
|
|
|
Rank: Administration
Groups: Translators, Members, Administrators Joined: 1/11/2018(UTC) Posts: 1,349 Location: Tampa, FL Thanks: 28 times Was thanked: 416 time(s) in 354 post(s)
|
Are you able to send me your settings file?
C:\Users\USERNAME\AppData\Roaming\StrokesPlus.net\StrokesPlus.net.bin (and/or StrokesPlus.net.json)
|
|
|
|
Rank: Newbie
Groups: Approved
Joined: 3/9/2021(UTC) Posts: 7 Location: West Coast Thanks: 1 times
|
I would be more than happy to send you my settings file. I don't see a way to attach files to posts however… Am I missing something? Or should I send it directly to you by it email or some other method?
|
|
|
|
Rank: Newbie
Groups: Approved
Joined: 3/9/2021(UTC) Posts: 7 Location: West Coast Thanks: 1 times
|
I am sure you have seen them by now, but but just to close out this portion of the thread… File has been sent to the email address provided.
|
|
|
|
StrokesPlus.net Forum
»
Bugs or Issues
»
Bug Reports
»
Program unable to launch - stuck at "Intializing script engine"
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The StrokesPlus.net Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close