bModel Test's strange performance under different operating systems

48 views
Skip to first unread message

azure CC

unread,
Jan 25, 2022, 12:36:04 PM1/25/22
to beast-users
Hello everyone. I meet a knotty problem when I perform bModelTest under BEAST2. The identical data set is running normally on my laptop's windows system. But when running on CentOS 7.0,  the program was aborted and report errors. The windows system installed Beast2 version is v2.6.6, and the CentOS system version is v2.6.4. CentOS can run Gamma site model.

The error information is like this:
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at beast.app.beastapp.BeastLauncher.run(Unknown Source)
        at beast.app.beastapp.BeastLauncher.main(Unknown Source)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
        at java.awt.Window.<init>(Window.java:536)
        at java.awt.Frame.<init>(Frame.java:420)
        at java.awt.Frame.<init>(Frame.java:385)
        at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1763)
        at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1838)
        at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1696)
        at javax.swing.JOptionPane.getWindowForComponent(JOptionPane.java:1637)
        at javax.swing.JFileChooser.createDialog(JFileChooser.java:802)
        at javax.swing.JFileChooser.showDialog(JFileChooser.java:749)
        at javax.swing.JFileChooser.showOpenDialog(JFileChooser.java:656)
        at beast.app.beastapp.BeastMain.getFileNameByDialog(Unknown Source)
        at beast.app.beastapp.BeastMain.main(Unknown Source)
        ... 6 more
Reply all
Reply to author
Forward
0 new messages