Cannot add projects/task on Linux
Running GNU/Linux x86_64
Either i am missing something, or there is something wrong that prevents me from adding a new Project, adding contents... Generally speaking, I can't do anything beside adding/ modifying users and their skills.
The console (actually terminal) is full of: "Can't create transparent stage, because your screen doesn't support alpha channel. You need to enable XComposite extension."
Comments (7)
-
repo owner -
repo owner There is also a proposed workaround on stackoverflow. Again I have not tested it, worth giving a try though:
http://stackoverflow.com/questions/13936573/javafx-crashes-x-server
-
reporter Will definetely check that out.
I don't think it is because of the transparency... I don't recall that there would be black frames around pop-ups like in the jira bug-report. And i saw the pop-up fine, with the round(transparent) corners, so i believe i ran in sw-mode.
The thing is the menus in the pop-up were disabled.
-
reporter I made some testing and it turned out that I CAN add projects, etc. but only when double clicking the *.jar When I run from terminal with java -jar then i cannot do anything. It;s getting even worse:
1.Running by double click with database as "esti": On the first run everything goes super smooth. The esti folder is created In the "/Home/user/". But on the second run i cannot connect.
2.Running from terminal with database as "esti": esti is created on the desktop, but I cannot add projects etc.
In the terminal nothing new, same 'ol XComposite. But it seems that this is not affecting the program at all, because i see everything fine. No further errors in the terminal.
-
reporter With v0.2.1 I see a stack-trace in the console, seems like i am missing "libxslt.so.1" It happens when creating a WebView. I made a small test app and it also threw the same exception. Either it's something with my JavaFX or on my Archlinux. So I must apologize and close this issue.
StackTrace:
Feb 02, 2013 3:26:20 AM javafx.fxml.JavaFXBuilder$ObjectBuilder build WARNING: Failed to build instance of class javafx.scene.web.WebView using class javafx.scene.web.WebViewBuilder java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at javafx.fxml.JavaFXBuilder$ObjectBuilder.build(JavaFXBuilderFactory.java:212) at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:584) at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2430) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2136) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028) at javafx.fxml.FXMLLoader$IncludeElement.constructValue(FXMLLoader.java:937) at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:567) at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2314) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2131) at projmon.FXControlLoader.loadControl(FXControlLoader.java:153) at projmon.FXControlLoader.loadTaskForm(FXControlLoader.java:109) at projmon.hierarchical.TaskHierarchy.loadContentControl(TaskHierarchy.java:87) at projmon.control.ProjectScreenController$SelectedWorkContentListener.itemSelected(ProjectScreenController.java:112) at projmon.control.ProjectScreenController$SelectedWorkContentListener.itemSelected(ProjectScreenController.java:101) at projmon.control.WorkTreeController$2.itemSelected(WorkTreeController.java:152) at projmon.control.WorkTreeController$2.itemSelected(WorkTreeController.java:147) at projmon.hierarchical.HierarchyTreeCell$1.handle(HierarchyTreeCell.java:67) at projmon.hierarchical.HierarchyTreeCell$1.handle(HierarchyTreeCell.java:63) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:69) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:217) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:170) at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:53) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33) at javafx.event.Event.fireEvent(Event.java:171) at javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3113) at javafx.scene.Scene$ClickGenerator.access$8600(Scene.java:3051) at javafx.scene.Scene$MouseHandler.process(Scene.java:3333) at javafx.scene.Scene$MouseHandler.process(Scene.java:3164) at javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3119) at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1559) at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2261) at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:228) at com.sun.glass.ui.View.handleMouseEvent(View.java:528) at com.sun.glass.ui.View.notifyMouse(View.java:922) at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at com.sun.glass.ui.gtk.GtkApplication$3$1.run(GtkApplication.java:82) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.UnsatisfiedLinkError: /opt/java/jre/lib/amd64/libjfxwebkit.so: libxslt.so.1: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825) at java.lang.Runtime.load0(Runtime.java:792) at java.lang.System.load(System.java:1059) at com.sun.javafx.runtime.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:200) at com.sun.javafx.runtime.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:88) at com.sun.javafx.runtime.NativeLibLoader.loadLibrary(NativeLibLoader.java:31) at com.sun.webpane.platform.WebPage$1.run(WebPage.java:156) at com.sun.webpane.platform.WebPage$1.run(WebPage.java:118) at java.security.AccessController.doPrivileged(Native Method) at com.sun.webpane.platform.WebPage.<clinit>(WebPage.java:118) at com.sun.webpane.sg.ImplementationManager.createPage(ImplementationManager.java:57) at com.sun.webpane.sg.ImplementationManager.createPage(ImplementationManager.java:51) at javafx.scene.web.WebEngine.<init>(WebEngine.java:704) at javafx.scene.web.WebEngine.<init>(WebEngine.java:691) at javafx.scene.web.WebView.<init>(WebView.java:245) at javafx.scene.web.WebViewBuilder.build(WebViewBuilder.java:32) ... 56 more java.lang.NullPointerException file:/home/arch/Desktop/estimate-0.2.1.jar!/atill/markdownfx/mdeditor-viewer.fxml:20 file:/home/arch/Desktop/estimate-0.2.1.jar!/projmon/gui/taskForm.fxml:116 at javafx.fxml.FXMLLoader$ValueElement.processValue(FXMLLoader.java:646) at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:586) at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2430) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2136) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028) at javafx.fxml.FXMLLoader$IncludeElement.constructValue(FXMLLoader.java:937) at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:567) at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2314) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2131) at projmon.FXControlLoader.loadControl(FXControlLoader.java:153) at projmon.FXControlLoader.loadTaskForm(FXControlLoader.java:109) at projmon.hierarchical.TaskHierarchy.loadContentControl(TaskHierarchy.java:87) at projmon.control.ProjectScreenController$SelectedWorkContentListener.itemSelected(ProjectScreenController.java:112) at projmon.control.ProjectScreenController$SelectedWorkContentListener.itemSelected(ProjectScreenController.java:101) at projmon.control.WorkTreeController$2.itemSelected(WorkTreeController.java:152) at projmon.control.WorkTreeController$2.itemSelected(WorkTreeController.java:147) at projmon.hierarchical.HierarchyTreeCell$1.handle(HierarchyTreeCell.java:67) at projmon.hierarchical.HierarchyTreeCell$1.handle(HierarchyTreeCell.java:63) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:69) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:217) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:170) at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:53) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33) at javafx.event.Event.fireEvent(Event.java:171) at javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3113) at javafx.scene.Scene$ClickGenerator.access$8600(Scene.java:3051) at javafx.scene.Scene$MouseHandler.process(Scene.java:3333) at javafx.scene.Scene$MouseHandler.process(Scene.java:3164) at javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3119) at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1559) at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2261) at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:228) at com.sun.glass.ui.View.handleMouseEvent(View.java:528) at com.sun.glass.ui.View.notifyMouse(View.java:922) at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at com.sun.glass.ui.gtk.GtkApplication$3$1.run(GtkApplication.java:82) at java.lang.Thread.run(Thread.java:722) Exception in thread "JavaFX Application Thread" java.lang.NullPointerException at javafx.fxml.FXMLLoader$ValueElement.processValue(FXMLLoader.java:646) at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:586) at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2430) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2136) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2028) at javafx.fxml.FXMLLoader$IncludeElement.constructValue(FXMLLoader.java:937) at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:567) at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2314) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2131) at projmon.FXControlLoader.loadControl(FXControlLoader.java:153) at projmon.FXControlLoader.loadTaskForm(FXControlLoader.java:109) at projmon.hierarchical.TaskHierarchy.loadContentControl(TaskHierarchy.java:87) at projmon.control.ProjectScreenController$SelectedWorkContentListener.itemSelected(ProjectScreenController.java:112) at projmon.control.ProjectScreenController$SelectedWorkContentListener.itemSelected(ProjectScreenController.java:101) at projmon.control.WorkTreeController$2.itemSelected(WorkTreeController.java:152) at projmon.control.WorkTreeController$2.itemSelected(WorkTreeController.java:147) at projmon.hierarchical.HierarchyTreeCell$1.handle(HierarchyTreeCell.java:67) at projmon.hierarchical.HierarchyTreeCell$1.handle(HierarchyTreeCell.java:63) at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:69) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:217) at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:170) at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:38) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:35) at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92) at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:53) at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33) at javafx.event.Event.fireEvent(Event.java:171) at javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3113) at javafx.scene.Scene$ClickGenerator.access$8600(Scene.java:3051) at javafx.scene.Scene$MouseHandler.process(Scene.java:3333) at javafx.scene.Scene$MouseHandler.process(Scene.java:3164) at javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3119) at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1559) at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2261) at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:228) at com.sun.glass.ui.View.handleMouseEvent(View.java:528) at com.sun.glass.ui.View.notifyMouse(View.java:922) at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at com.sun.glass.ui.gtk.GtkApplication$3$1.run(GtkApplication.java:82) at java.lang.Thread.run(Thread.java:722)
-
reporter - changed status to resolved
Problem not related to subject.
-
repo owner That's great, thanks.
- Log in to comment
I think this is because the xcomposite extension is not installed. I have to admit that I am only just getting to grips with Linux but what I think is happening is, translucency on nodes in the pop-up menu cause this exception. This happens because the disabled CSS reduces opacity.
A simple fix would be to change the CSS for disabled menu items although I don't have an environment set up to test this at the moment.
This JavaFX dependency is documented in the JavaFX 2.1 release notes[1] and probably other places. I have commented on the pre-existing bug for this[2].
[1] http://docs.oracle.com/javafx/2/release_notes_linux/jfxpub-release_notes_linux.htm
[2] http://javafx-jira.kenai.com/browse/RT-19700?focusedCommentId=325745#comment-325745