当我尝试访问项目的特定框架时,码头服务器在本地崩溃,并显示以下错误:
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007f5570ac2be8, pid=19458, tid=0x00007f54d81be700
JRE version: OpenJDK Runtime Environment (8.0_171-b11) (build 1.8.0_171-8u171-b11-0ubuntu0.16.04.1-b11)
Java VM: OpenJDK 64-Bit Server VM (25.171-b11 mixed mode linux-amd64 compressed oops)
Problematic frame:
V [libjvm.so+0x4b9be8]
Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
An error report file with more information is saved as: /home/florian/git/gc-ui-sbe-pologne/target/gc-ui-sbe-pologne/hs_err_pid19458.log
日志文件为here
当调用我的类FrameRepairImei的构造函数,并且FrameRepairImei扩展了一些扩展Composite类的类时,发生崩溃。我放置了一些断点试图定位错误,但是我什至没有进入构造函数的第一行。
这是FrameRepairImei的代码:
package com.example.com;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiTemplate;
import com.google.gwt.user.client.ui.Widget;
import com.sbe.globalcare.client.GcUI;
import com.sbe.globalcare.client.views.frames.services.aftersale.repair.base.BaseFrameRepairImei;
public class FrameRepairImei extends BaseFrameRepairImei {
private static BaseFrameRepairImeiUiBinder uiBinder = GWT.create(BaseFrameRepairImeiUiBinder.class);
@UiTemplate("base/BaseFrameRepairImei.ui.xml")
interface BaseFrameRepairImeiUiBinder extends UiBinder<Widget, FrameRepairImei> {
}
public FrameRepairImei(final GcUI project) {
super(project);
initWidget(uiBinder.createAndBindUi(this));
initView();
}
}
我是gwt的初学者,所以我很想找出导致崩溃的原因。 我觉得奇怪的是,它只在本地崩溃,当部署在tomcat上时从来没有崩溃。