我面临一个奇怪的配置问题,应用程序在我的笔记本电脑上运行得很好,但是在部署阶段应用程序在另一台笔记本电脑上崩溃,并在应用程序所在的位置生成转储文件。
以下是转储文件的初始行:
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x7555b727, pid=1444, tid=4508
JRE version: 7.0-b147
Java VM: Java HotSpot(TM) Client VM (21.0-b17 mixed mode, sharing windows-x86 )
Problematic frame:
C [KERNELBASE.dll+0xb727]
以下是转储文件中的堆栈跟踪:
C [KERNELBASE.dll+0xb727] RaiseException+0x58
C [msvcr100.dll+0x27819] CxxThrowException+0x45
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.bytedeco.javacpp.opencv_core.cvSetImageROI(Lorg/bytedeco/javacpp/opencv_core$IplImage;Lorg/bytedeco/javacpp/opencv_core$CvRect;)V+0
J org.bytedeco.javacv.Blob.testDetect(Lorg/bytedeco/javacpp/opencv_core$IplImage;IIIIILorg/bytedeco/javacpp/opencv_core$CvRect;Ljava/lang/String;)[[I
J com.omr.app.OmrModel.DetectUserIdQuizIdCircles()V
j com.omr.app.OmrController$2.doInBackground()Ljava/lang/Void;+315
j com.omr.app.OmrController$2.doInBackground()Ljava/lang/Object;+1
j javax.swing.SwingWorker$1.call()Ljava/lang/Object;+14
j java.util.concurrent.FutureTask$Sync.innerRun()V+29
j java.util.concurrent.FutureTask.run()V+4
j javax.swing.SwingWorker.run()V+4
j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+46
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
答案 0 :(得分:0)
尝试oracle https://docs.oracle.com/javase/7/docs/webnotes/tsg/TSG-Desktop/html/introduction.html
的故障排除指南我的猜测是环境存在问题。尝试在你要部署的机器上安装jdk 8。