Aller au contenu

MCH74A4

Méthode native détachée de la machine virtuelle Java, puis tentative de retour.

Native method detached from Java Virtual Machine and attempted to return.

Gravité 40 · Fin anormale du programme ou de la fonction

Cause

Une méthode native a détaché l'unité d'exécution en cours de la machine virtuelle Java (JVM) ou a détruit la JVM, puis a tenté de retourner au programme Java qui l'avait appelée. Le programme Java ne peut pas continuer à s'exécuter une fois l'unité d'exécution détachée ou la JVM détruite.

A native method either has detached the current thread from the Java Virtual Machine (JVM) or has destroyed the JVM and then attempted to return to the Java program that called the native method. The Java program cannot continue to run once the thread has been detached or the JVM destroyed.

Que faire

Corrigez le problème en maintenant l'unité d'exécution rattachée à la JVM ou en ne détruisant pas la JVM. Si ce n'est pas possible, l'unité d'exécution doit se terminer au lieu de retourner au programme Java qui a appelé la méthode native.

Correct the problem by keeping the thread attached to the JVM or by not destroying the JVM. If this is not possible, the thread must end rather than return to the Java program which called the native method.

Sur votre IBM i

Afficher la description complète du message :

DSPMSGD RANGE(MCH74A4) MSGF(QSYS/QCPFMSG)

L'intercepter dans un programme CL, quand il est envoyé comme message d'échappement :

MONMSG MSGID(MCH74A4) EXEC(DO)
  /* traitement de l'erreur */
ENDDO