Hi Folks,

I got this error trying to specify a directory location when creating a
database using the GUI by dialog.  Creating the database via command
works.  I feel like this is somehow not the fault of BaseX because I don't
see this on my other Linux machine.  Nonetheless, I'd like recommendations
on how the Linux side of the basex community works.

My setup:
cat /etc/*release
edora release 30 (Thirty)
NAME=Fedora
VERSION="30 (Workstation Edition)"
ID=fedora
VERSION_ID=30
VERSION_CODENAME=""
PLATFORM_ID="platform:f30"
PRETTY_NAME="Fedora 30 (Workstation Edition)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:30"
HOME_URL="https://fedoraproject.org/";
DOCUMENTATION_URL="
https://docs.fedoraproject.org/en-US/fedora/f30/system-administrators-guide/
"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help";
BUG_REPORT_URL="https://bugzilla.redhat.com/";
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=30
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=30
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy";
VARIANT="Workstation Edition"
VARIANT_ID=workstation
Fedora release 30 (Thirty)
Fedora release 30 (Thirty)

export |grep DESKTOP
declare -x DESKTOP_SESSION="/usr/share/xsessions/cinnamon2d"
declare -x GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
declare -x IMSETTINGS_INTEGRATE_DESKTOP="yes"
declare -x XDG_CURRENT_DESKTOP="X-Cinnamon"
declare -x XDG_SESSION_DESKTOP=""


bpracht2@pracht-office-closet basex-rent-world]$ java -cp
/home/bpracht/rent-world/basex-rent-world/BaseX.jar:/home/bpracht/rent-world/basex-rent-world/lib/custom/*:/home/bpracht/rent-world/basex-rent-world/lib/*:
-Xms2g -Xmx4g org.basex.BaseXGUI

Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
        at javax.swing.JLabel.setIcon(JLabel.java:406)
        at
org.basex.gui.view.project.ProjectCellRenderer.getTreeCellRendererComponent(ProjectCellRenderer.java:29)
        at
javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(BasicTreeUI.java:2807)
        at
javax.swing.tree.AbstractLayoutCache.getNodeDimensions(AbstractLayoutCache.java:492)
        at
javax.swing.tree.FixedHeightLayoutCache.getBounds(FixedHeightLayoutCache.java:553)
        at
javax.swing.tree.FixedHeightLayoutCache.getBounds(FixedHeightLayoutCache.java:199)
        at
javax.swing.tree.AbstractLayoutCache.getPreferredHeight(AbstractLayoutCache.java:190)
        at
javax.swing.plaf.basic.BasicTreeUI.updateCachedPreferredSize(BasicTreeUI.java:1902)
        at
javax.swing.plaf.basic.BasicTreeUI.getPreferredSize(BasicTreeUI.java:2003)
        at
javax.swing.plaf.basic.BasicTreeUI.getPreferredSize(BasicTreeUI.java:1991)
        at javax.swing.JComponent.getPreferredSize(JComponent.java:1662)
        at
javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:791)
        at java.awt.Container.layout(Container.java:1513)
        at java.awt.Container.doLayout(Container.java:1502)
        at java.awt.Container.validateTree(Container.java:1698)
        at java.awt.Container.validate(Container.java:1633)
        at javax.swing.RepaintManager$3.run(RepaintManager.java:711)
        at javax.swing.RepaintManager$3.run(RepaintManager.java:709)
        at java.security.AccessController.doPrivileged(Native Method)
        at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
        at
javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:708)
        at
javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1731)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
        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)
Best Regards,
Ben Pracht
ben.pra...@gmail.com

Reply via email to