Error, "No X11 DISPLAY variable was set, but this program performed an operation which requires it", while running TIBCOUniversalInstaller in console mode.

Error, "No X11 DISPLAY variable was set, but this program performed an operation which requires it", while running TIBCOUniversalInstaller in console mode.

book

Article ID: KB0094631

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix Service Grid -
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM) -
TIBCO ActiveMatrix BusinessWorks Service Engine -

Description

Description:
On Linux / Unix systems, error, "No X11 DISPLAY variable was set, but this program performed an operation which requires it" while running TIBCOUniversalInstaller in console mode. The complete exception stack is available in the Symptoms section.

Symptoms:
ServiceException: (error code = 200; severity = 0; exception = [java.lang.NullPointerException])
        at com.installshield.wizard.service.LocalImplementorProxy.invoke(Unknown Source)
        at com.installshield.wizard.service.AbstractService.invokeImpl(Unknown Source)
        at com.installshield.product.service.registry.GenericRegistryService.initializeLocalPersistedVariables(Unknown Source)
        at com.installshield.product.service.product.PureJavaProductServiceImpl.initializeLocalPersistedVariables(Unknown Source)
        at com.installshield.product.service.product.PureJavaProductServiceImpl.loadProductTree(Unknown Source)
        at com.installshield.product.service.product.PureJavaProductServiceImpl.getProductTree(Unknown Source)
        at com.installshield.product.service.product.PureJavaProductServiceImpl.getSoftwareObjectTree(Unknown Source)
        at com.installshield.product.service.product.PureJavaProductServiceImpl.getSoftwareObjectTree(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:618)
        at com.installshield.wizard.service.LocalImplementorProxy.invoke(Unknown Source)
        at com.installshield.wizard.service.AbstractService.invokeImpl(Unknown Source)
        at com.installshield.product.service.product.GenericProductService.getSoftwareObjectTree(Unknown Source)
        at com.tibco.installer.wizard.action.TIBCOInstallerInit.setInstallerDetails(TIBCOInstallerInit.java:176)
        at com.tibco.installer.wizard.action.TIBCOInstallerInit.execute(TIBCOInstallerInit.java:144)
        at com.installshield.wizard.StandardWizardListener.execute(Unknown Source)
        at com.installshield.wizard.StandardWizardListener.currentBeanChanged(Unknown Source)
        at com.installshield.wizard.Wizard$RunThread.run(Wizard.java:1829)
An error occurred during wizard bean change notification:
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:197)
        at java.awt.Window.<init>(Window.java:346)
        at java.awt.Frame.<init>(Frame.java:452)
        at java.awt.Frame.<init>(Frame.java:417)
        at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1775)
        at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1655)
        at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:867)
        at com.tibco.installer.util.TIBCOMessageDialog.displayGUI(TIBCOMessageDialog.java:192)
        at com.tibco.installer.util.TIBCOMessageDialog.display(TIBCOMessageDialog.java:106)
        at com.tibco.installer.util.TIBCOMessageDialog.show(TIBCOMessageDialog.java:530)
        at com.tibco.installer.util.TIBCOMessageDialog.show(TIBCOMessageDialog.java:540)
        at com.tibco.installer.wizard.action.TIBCOInstallerInit.execute(TIBCOInstallerInit.java:156)
        at com.installshield.wizard.StandardWizardListener.execute(Unknown Source)
        at com.installshield.wizard.StandardWizardListener.currentBeanChanged(Unknown Source)
        at com.installshield.wizard.Wizard$RunThread.run(Wizard.java:1829)
Cause:
The exception stack is misleading. The user does not have X11 DISPLAY enables to run the Installer in console mode. This problem is most likely caused by running out of disk space in the home directory of the current user.

Resolution

 Check available disk space for the user's home directory (e.g., running df command) and free space accordingly.

Issue/Introduction

Error, "No X11 DISPLAY variable was set, but this program performed an operation which requires it", while running TIBCOUniversalInstaller in console mode.