Anypoint Studio 7.7.0 fails with fatal Windows application error on startup - mule-studio

I've recently starting looking at Anypoint Platform and Anypoint Studio. I'm on Windows 10 (17763).
I installed the currently latest version of Anypoint Studio, version 7.7.0. Just about every other time I start it, after a minute or so after starting it up, I get a dialog like the following:
When I dismiss it, obviously the application goes away.
I've inspected the Eclipse error log, and nothing appears associated with this. However, the Windows event log does show something, but it's not much more than nothing.
I only see the following in the event:
Faulting application name: javaw.exe, version: 8.0.2650.1, time stamp: 0x5f204288
Faulting module name: QIPCAP64.dll, version: 7.6.818.1, time stamp: 0x5f45806b
Exception code: 0xc0000409
Fault offset: 0x0000000000030fdf
Faulting process id: 0x7f8
Faulting application start time: 0x01d6c2b1c1e4c539
Faulting application path: C:\AnypointStudio-7.7.0-win64\AnypointStudio\plugins\org.mule.tooling.jdk.win32.x86_64_1.0.1\bin\javaw.exe
Faulting module path: C:\WINDOWS\System32\QIPCAP64.dll
Report Id: 55e2303f-ba56-4715-ac7e-71aedcf86474
Faulting package full name:
Faulting package-relative application ID:
This has been very consistent. I have rebooted many times, and that has no effect.
What DID have sort of an impact was installing the previous version, 7.6.0. I've tested them both many times now, and I never see this error from 7.6.0.
The "Anypoint.ini" file is almost unchanged, although I did increase the "Xmx" value to 2048m. I have also tried changing this to use the Java 8 distribution that I had installed before this. The only thing that changes when I do that is to change the error dialog slightly, indicating that it's coming from the other Java distribution, not the one included with Studio, along with the Windows event log entry showing the path to the expected Java distribution.
It's not clear to me whether the reference to the "QIPCAP64" dll is relevant.
I did report this to Mulesoft, but I'm not very hopeful they're going to find a solution.

QIPCAP64.dll seems to be part of forcepoint.com security products. Looks like it doesn't like Studio 7.7.

Related

How to make MAUI app run on windows startup

I'm new to MAUI and I'm making an application where I need to make the app run on startup on windows.
I did this before on Winform/WPF using things like registry records, adding a shortcut to shell:startup, or even from the installer file (like Inno setup).
Obviously, I can't use anything from above with MAUI as I don't have an EXE file or even able to get the executable directory.
MAUI is still new and there were no useful results when I searched.
Even a script that I can maybe add to a Task Scheduler would be helpful at this point as I can create a task for it but I need to know how to run an app on windows that is installed from the windows store.
Thanks.
Edit:
Whenever I try to run the EXE file from windows build I get this error from the event viewer
Faulting application name: MAUIApp1.exe, version: 1.0.0.0, time stamp: 0x6331eb0e
Faulting module name: KERNELBASE.dll, version: 10.0.22621.608, time stamp: 0x4769d08d
Exception code: 0xe0434352
Fault offset: 0x000000000008fb0c
Faulting process id: 0x0x5670
Faulting application start time: 0x0x1D8EE46B08192B8
Faulting application path: D:\CrossPlatform\MAUIApp1\MAUIApp1\bin\Debug\net6.0-windows10.0.19041.0\win10-x64\MAUIApp1.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 395637f8-d737-4ae3-8443-da7889494026
Faulting package full name:
Faulting package-relative application ID:
Thanks to ToolmakerSteve comment I figured out how to make it.
I still prefer doing it from the code as it gives me more control, but at least I can make it start with windows now.
I'm leaving the direct solution here for anyone in the future coming to look for it.
Under platform>Windows open Package.appxmanifest with a notepad or any text editor.
Inside Applications, tag add the following code
<Extensions>
<uap5:Extension
Category="windows.startupTask"
Executable="YOURAPPNAME.exe"
EntryPoint="Windows.FullTrustApplication">
<uap5:StartupTask
TaskId="MyStartupId"
Enabled="true"
DisplayName="YOURAPPNAME" />
</uap5:Extension>
</Extensions>
Should be like this
Enabled="true" make the star on startup enabled by default.
Enabled="false" still add the app to the startup list, but the user needs to go enable it from Task Manager himself/herself.
Next, add this line to the top inside the Package tag
xmlns:uap5="http://schemas.microsoft.com/appx/manifest/uap/windows10/5"
Now save it then start your solution again then run your app or publish it, once the app starts it will be added to the startup list.

Faulting application name: tomcat9.exe

I am trying to install tomcat 9 using apdoptopenjdk jdk-11.0.6.10-hotspot on windows server 2008 R2. The tomcat starts properly from the command prompt when I ran startup.bat.
I have mentioned correct JVM path in the tomcat configutation dialog box and the mode is also set to JVM. Have cross checked this configuration multiple times and found no issue with it.
But it won't start when I ran from services.msc as a service.
The issue I get when ran as a service is 1067 terminated unexpectedly. And when I check the system logs in event viewer it shows below error.
Please help me as I am trying this since last two weeks.
I think this is a tomcat bug.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63767
I'm following up something similar, but your issue appears to have been fixed in 9.0.27

Unable to start VSCode; suggestions for debugging?

I'm working on a disconnected network, so some options are a bit limited. Also, we have SAs who handle stuff like system updates (so, for instance, it is possible that there was a system update in there that I know nothing about).
However, I had 1.33.1, then 1.34.0, then 1.38 versions of VSCode working on my (Windows 10) machine. One day, for no apparent reason (I hadn't just installed something, for instance), 1.38 stopped working. It wouldn't even start up. Running 'Code --verbose' from the command line produced no output (the mouse cursor turned briefly to a spinner, but nothing even showed up in Task Manager, let alone something like a splash screen).
I did get an error message in the Application log, which included the lines (more or less; remember, no cut-n-paste possible):
Faulting Application Code.exe, version: 1.38.0
Faulting module ntdll.dll, version 10.0.16299.936
Exception code: 0xc0000374
Faulting Application path: c:\Program Files\Microsoft VS Code\Code.exe
Faulting module path: c:\Windows\System32\ntdll.dll
Re-installing VS Code (with or without system restart after uninstall) did nothing.
Removing all extensions (we have a bunch) did nothing
Installing 1.39.2 did nothing
The only good thing is that I can still run 1.34.0, if I reinstall that (did not try 1.33.1, and I don't have any in-between versions from 1.34 to 1.38 to try). So at least I'm not completely shut out.
I also tried deleting basically all of workspaceStorage, to no effect. Nor did renaming my storage.json.
The biggest weirdness, to me, is that the path to ntdll.dll is in System32, rather than in SysWOW64 (is there some way to force usage of the latter?). Second, why did 1.38.0 work just fine for a while, and then stop.
So, I'm curious if anyone else has seen this problem, and/or if anyone has any idea what else could be done to get more insight into what's causing this.
(edit: I plan to file bug for VSCode, but been waiting on confirmation email to finish creating my github acct for some time now. sigh)
I've had exactly the same problem twice. I'd been running the application since June 2019 and then in March of this year, Yep! Exact same problem as you encountered. A simple reinstall fixed that, but I've had the same problem again today and after some investigation, Windows 10 was telling me that I didn't have the right permissions to access the item (this is using the Owner's account!). Attempting to reinstall failed, with errors stating that the file / directory all ready existed and couldn't be overwritten or renamed. Attempting to un-install the application was only partially successful with the executable code.exe still remaining afterwards. The only way I managed fix it this time was to reinstall to a directory with a different name. Surprisingly though, all the existing workspaces, projects and extensions even were intact and the application opened where I had left off as though nothing had happened. This is a little worrying I have to say! But that's how I fixed it this time.

Eclipse (Mars) keeps closing, no warning error file created

I am doing my end of year project for uni and eclipse has started closing down without warning which is causing me to lose some work every time. I have been working on this project for the past two weeks with no issues until today!
I am on windows 7, Version: Mars.2 Release (4.5.2) Build id: 20160218-0600 I have changed my work space as I read this could be corrupt however I am still having the problem. I need to get my project finished by Friday which is an applet so was really hoping someone could shed a bit light on what the problem could be. Many Thanks!
It has crashed four times in the past hour and it creates a log file called hs_errpid(random number here: 7248).txt which contains a lot text which I fully don't understand. The start of it is as follows:
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006d5dd977, pid=7248, tid=6088
JRE version: Java(TM) SE Runtime Environment (8.0_91-b14) (build 1.8.0_91-b14)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.91-b14 mixed mode windows-amd64 Compressed oops)
Problematic frame:
C 0x000000006d5dd977
Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
p.s I am using sqlite and had to download a Jar for it to work called sqlite-jdbc-3.8.11.2.jar and also JCalendar.-1.4.jar

MySQL workbench is not working on windows 10

I hope that I am not spamming.
I recently upgraded my windows to windows 10 from windows 7. I re-installed MySQL Workbench. But I am not able to open it, there is no error message as well.
I also followed this post's suggestion, but still am not able to open MySQL workbench.
I also upgraded mysql community server pack to latest version. I am able to use mysql odbc connector to connect to remote server. But MySQL workbench is not working.
Any solution?
EDIT: System Error Log
Faulting application name: MySQLWorkbench.exe, version: 6.3.6.0, time stamp: 0x56698b0d
Faulting module name: KERNELBASE.dll, version: 10.0.10586.0, time stamp: 0x5632d1de
Exception code: 0xe0434352
Fault offset: 0x0000000000071f08
Faulting process id: 0x85c
Faulting application start time: 0x01d13bdf2049ff98
Faulting application path: C:\Program Files\MySQL\MySQL Workbench 6.3 CE\MySQLWorkbench.exe
Faulting module path: C:\WINDOWS\system32\KERNELBASE.dll
Report Id: b4d23999-f7f8-4a23-a770-085904b014f6
Faulting package full name:
Faulting package-relative application ID:
This exact situation happened to me. In my case, it was because I went into the program files and then did a cut and paste of the shortcut there and placed it on the desktop. I was unable to launch Workbench from the desktop after doing this. After many attempts, I thought to just open the shortcut from its original location in MySQL/MySQL Workbench 8.0 CE. Now, it works every time.
You can also right click on the shortcut in the program files and click create shortcut or click Send to and pick a location for the shortcut (this method worked fine for me when choosing the Desktop, at least). Cut and paste does not work for some reason. I hope this helps you or anyone else having the same problem. This is all assuming you have the latest versions of Visual C++ and Microsoft .NET Frameworks already installed on your computer.