error in web application: A fatal error has been detected by the Java Runtime Environment
70 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have an online application in a server so that I can use the webapps envyroment. This year one of the applications doesn't wor because of a Java runtime error that seems to come from the server itself. The issue is the application worked just fine before so now I'm trying to undertand possible causes and solutions to this issue.
Matlab version is 2018a;
The fist part of the erro message is shown below.
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffdcd35696d, pid=7900, tid=0x0000000000001c98
#
# JRE version: Java(TM) SE Runtime Environment (8.0_144-b01) (build 1.8.0_144-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.144-b01 mixed mode windows-amd64 compressed oops)
# Problematic frame:
#
C
0x00007ffdcd35696d
#
# Core dump written. Default location: C:\Users\MATLABWebAppsGuest\AppData\Local\MathWorks\webapps\services\mdwas\sessions\868f2753-24fa-47f2-a64f-981cf6d48615\hs_err_pid7900.mdmp
#
# An error report file with more information is saved as:
# C:\ProgramData\MathWorks\webapps\R2018a\logs\hs_error_pid7900.log
#
# 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.
2 commentaires
Kele Kelemente
le 21 Jan 2025
We are getting the same issue since Sunday 20th Jan - Windows patching cycle.
Matlab 2023b
We use JAMS scheduler to fire poweshell (start-process) with "-batch" parameter.
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffa27ad696d, pid=36748, tid=0x0000000000005c14
#
# JRE version: Java(TM) SE Runtime Environment (8.0_202-b08) (build 1.8.0_202-b08)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.202-b08 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C 0x00007ffa27ad696d
#
# Core dump written. Default location: C:\WINDOWS\system32\hs_err_pid36748.mdmp
#
# 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.
#
-------------- T H R E A D ---------------
Current thread (0x000001d8fe889000): JavaThread "AWT-EventQueue-0-SharedResourceRunner" daemon [_thread_in_native, id=23572, stack(0x000000d008900000,0x000000d008a00000)]
ETC...
Réponses (1)
Karan Singh
le 6 Fév 2025
A Java Runtime Environment error usually occurs when the Java driver installed on the computer is either unsupported by MATLAB or in a corrupted state. MATLAB only supports the version of Java specified in this link: https://www.mathworks.com/support/requirements/language-interfaces.html.
To check the current Java version in MATLAB, type the following command in the MATLAB Command Window:
version -java
If the output is not as expected, reinstalling Java might be the right choice. You can download the correct version from Oracle's website.
Karan
1 commentaire
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!