Чтобы xcos заработал пришлось откатить jgraphx и batik. До этого $ xcos Внимание: не удалось найти пакет Java «/usr/share/java/jgraphx.jar». При загрузке библиотек Java были некоторые проблемы. Это может привести к неожиданному поведению. Проверьте SCI/etc/classpath.xml. Внимание: не удалось найти пакет Java «/usr/share/java/jgraphx.jar». java.lang.NoClassDefFoundError com/mxgraph/swing/mxGraphComponent После отката Обновление / установка... 1: jgraphx-2.5.1.0-alt1 ################################################################## [ 50%] Очистка / удаление... 2: jgraphx-3.6.0.0-alt1_3jpp8 ################################################################## [100%] Done. получаем следующее: $ xcos java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:1321) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348) at org.scilab.modules.xcos.Xcos.getInstance(Unknown Source) at org.scilab.modules.xcos.Xcos.getInstance(Unknown Source) at org.scilab.modules.xcos.Xcos.xcos(Unknown Source) Caused by: java.lang.RuntimeException: Не удалось загрузить библиотеку Batik. Ожидалась версия 1.7 ; установлена версия 1.9 . at org.scilab.modules.xcos.Xcos.checkDependencies(Unknown Source) at org.scilab.modules.xcos.Xcos.<init>(Unknown Source) at org.scilab.modules.xcos.Xcos.lambda$getInstance$2(Unknown Source) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.Exception ... 17 more java.lang.NullPointerException at org.scilab.modules.xcos.Xcos.xcos(Unknown Source) Откатываем batik до 0:1.8-alt3_6jpp8, после чего xcos запускается.
scilab-6.0.0-alt3.1 -> sisyphus: Fri Dec 01 2017 Igor Vlasenko <viy@altlinux.ru> 6.0.0-alt3.1 - NMU: fixed build with new jgraphx (ALT #34263)
Спасибо, проблема с jgraphx ушла, но проблема с batik осталась $ xcos java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(EventQueue.java:1321) at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348) at org.scilab.modules.xcos.Xcos.getInstance(Unknown Source) at org.scilab.modules.xcos.Xcos.getInstance(Unknown Source) at org.scilab.modules.xcos.Xcos.xcos(Unknown Source) Caused by: java.lang.RuntimeException: Не удалось загрузить библиотеку Batik. Ожидалась версия 1.7 ; установлена версия 1.9 . at org.scilab.modules.xcos.Xcos.checkDependencies(Unknown Source) at org.scilab.modules.xcos.Xcos.<init>(Unknown Source) at org.scilab.modules.xcos.Xcos.lambda$getInstance$2(Unknown Source) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.Exception ... 17 more java.lang.NullPointerException at org.scilab.modules.xcos.Xcos.xcos(Unknown Source)
scilab-6.0.0-alt3.2 -> sisyphus: Sat Dec 02 2017 Igor Vlasenko <viy@altlinux.ru> 6.0.0-alt3.2 - NMU: added batik 1.9 to supported batik versions (ALT #34263)
Спасибо