eclipse RCP开发

司马建柏
2023-12-01

RCP客户端启动异常收集:

1.java.lang.NullPointerException
    at org.eclipse.ui.internal.statushandlers.StatusHandlerRegistry.<init>(StatusHandlerRegistry.java:74)
    at org.eclipse.ui.internal.statushandlers.StatusHandlerRegistry.getDefault(StatusHandlerRegistry.java:93)
    at org.eclipse.ui.statushandlers.StatusManager.getStatusHandler(StatusManager.java:155)
    at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java:214)
    at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java:263)
    at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java:274)
    at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopException(WorkbenchAdvisor.java:333)
    at org.eclipse.ui.internal.ExceptionHandler.handleException(ExceptionHandler.java:66)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2880)
    at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:623)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)

解决办法:

删除 workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi 文件后重启客户端程序。

 类似资料: