在以下期间发生内部错误:"服务器指标定期保存"在启动Eclipse Oxygen时

时间:2017-05-15 07:23:44

标签: eclipse

一两个星期以来,当Eclipse启动时,我收到此错误消息。 我已经搜索过这个错误,但我似乎是第一个遇到这个错误的人。

这是消息:

  

在以下期间发生内部错误:"服务器指标定期保存"。   COM / Genuitec的/蚀/型芯/ util的/ GenuitecProduct

The error message

任何想法如何解决这个问题?

我正在使用Eclipse 4.7 Oxygen。这是安装的Genuitic插件列表: List of installed Genuitec plugins

1 个答案:

答案 0 :(得分:1)

我希望对你有所帮助;

我遇到了同样的错误信息,直到我弄清楚:

  

Eclipse Oxygen + 最黑暗的主题+ JDK 9 =   的ExceptionInInitializerError

!MESSAGE An internal error occurred during: "Server metrics periodic save".
!STACK 0
java.lang.ExceptionInInitializerError
    at com.jniwrapper.util.ProcessorInfo.b(SourceFile:95)
    at com.jniwrapper.util.ProcessorInfo.getInstance(SourceFile:88)
    at com.genuitec.eclipse.core.activation.SystemIdFactory.D(Unknown Source)
    at com.genuitec.eclipse.core.activation.SystemIdFactory.create(Unknown Source)
    at com.genuitec.eclipse.core.LicenseUtil.getSystemId(Unknown Source)
    at com.genuitec.eclipse.monitor.internal.collector.server.ServerMetricsCollector.getSystemId(ServerMetricsCollector.java:526)
    at com.genuitec.eclipse.monitor.internal.collector.server.ServerMetricsCollector.saveToFile(ServerMetricsCollector.java:364)
    at com.genuitec.eclipse.monitor.internal.collector.server.ServerMetricsCollector.access$5(ServerMetricsCollector.java:304)
    at com.genuitec.eclipse.monitor.internal.collector.server.ServerMetricsCollector$PeriodicSaveJob.run(ServerMetricsCollector.java:863)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: com.jniwrapper.LibraryNotFoundException: Cannot find JNIWrapper native library (libjniwrap.jnilib) in java.library.path: /Users/aghoneim/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.

通过更改 eclipse.ini 下的-vm选项以使用jdk1.8.0_152 较旧的jdk ,我能够解决此问题>

在我的情况下(使用macOS),我改变了:

-vm /Library/Java/JavaVirtualMachines/jdk9.jdk/Contents/Home/bin

为:

-vm /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/bin