powered by Jive Software

Spark Crash MV C++ Runtime

Добрый вечер, колллеги.
Появилась проблема, что через какое то время Spark зависает, и когда пытаешься развернуть Spark показывает только шапку программы, где значок закрыть и свернуть, но после нескольких нажатий на значок в треи Spark показывает ошибку C++ Runtime.

Система на Windows 10 1803 с последними обновлениями и стоят C++ начиная с версии 2005 по 2015.

Лог файла прикладываю из AppData\Roaming\Spark\logs, но тут последняя дата изменения лога 22 февраля, а эта ошибка случилась 19 марта.

фев 22, 2019 7:55:42 AM org.jivesoftware.spark.util.log.Log error
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at org.jivesoftware.sparkimpl.plugin.layout.LayoutSettingsManager.load(LayoutSettingsManager.java:151)
at org.jivesoftware.sparkimpl.plugin.layout.LayoutSettingsManager.getLayoutSettings(LayoutSettingsManager.java:52)
at org.jivesoftware.spark.ui.ChatFrame.(ChatFrame.java:83)
at org.jivesoftware.MainWindow.(MainWindow.java:118)
at org.jivesoftware.MainWindow.getInstance(MainWindow.java:103)
at org.jivesoftware.LoginDialog.lambda$startSpark$1(LoginDialog.java:1269)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

@wroot Please comment this!

I saw this post, but haven’t responded as i have no clue and nothing to suggest. It would be very hard to even reproduce this environment for me with all the C++ packages. Also that log is not helpful as it is not showing the actual error when it happened. Maybe you can try removing all these C++ and see if that changes anything, then adding them back one by one and see which one is causing the issue and then maybe you can live without that one pack.

This suggests that there’s a problem restoring Spark to the exact location on your screen. Try removing the file layout.settings from your Spark user directory (create a backup first), and restart Spark.

As Spark is a Java application, I’m unsure how C++ libraries are related to this issue.

Spark runs as exe file, not as jar. I know this is just a starter, but still, not pure Java. Also it has a number of Windows DLLs in /lib/windows folder. This is probably not related directly to C++, but some issue with dll’s/registry which hooks to these packages and they throw a default error message which doesn’t make sense…

1 Like