Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0008799
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersminorhave not tried2009-04-28 11:042009-05-09 00:00
ReporterplujanView Statuspublic 
Assigned Todalsasua 
PriorityurgentResolutionno change requiredFixed in Version
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0008799: Error message when compiliing on a machine without X server

DescriptionI am compiling 2.50 Main on a Linux machine that has not graphic environment. While compiling, I have this error:

    [java] 0 [main] INFO org.openbravo.translate.Translate - RTL Skin directory source: /mnt2/OpenbravoERP-MAIN-Oracle/main/WebContent/web/skins/rtl
    [java] 0 [main] INFO org.openbravo.translate.Translate - LTR Skin directory source: /mnt2/OpenbravoERP-MAIN-Oracle/main/WebContent/web/skins/ltr
    [java] 1 [main] INFO org.openbravo.translate.Translate - Processing RTL skin Default
    [java] Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0' as the value of the DISPLAY variable.
    [java] at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    [java] at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52)
    [java] at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155)
    [java] at java.security.AccessController.doPrivileged(Native Method)
    [java] at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
    [java] at java.lang.Class.forName0(Native Method)
    [java] at java.lang.Class.forName(Class.java:169)
    [java] at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
    [java] at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1135)
    [java] at org.openbravo.translate.FlipImage.flip(FlipImage.java:39)
    [java] at org.openbravo.translate.FlipImage.proceed(FlipImage.java:53)
    [java] at org.openbravo.translate.RTLSkin.modifySkin(RTLSkin.java:238)
    [java] at org.openbravo.translate.RTLSkin.runFolders(RTLSkin.java:145)
    [java] at org.openbravo.translate.RTLSkin.runFolders(RTLSkin.java:136)
    [java] at org.openbravo.translate.RTLSkin.runFolders(RTLSkin.java:136)
    [java] at org.openbravo.translate.RTLSkin.runFolders(RTLSkin.java:136)
    [java] at org.openbravo.translate.RTLSkin.main(RTLSkin.java:101)
    [java] Java Result: 1
Tags250MP1
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0016173)
vmromanos (manager)
2009-05-08 12:33

The problem is on the configuration of the computer which is running the installation.

The computer is not running a X server, but the $DISPLAY variable is set. Thus the compiler thinks that the X server is running.

The solution is to unset this variable, with the command:

unset DISPLAY


Take into account that this change will just affect the current session, so for a permanent fix you will need to edit the system file where this session variable is wrongly set.

- Issue History
Date Modified Username Field Change
2009-04-28 11:04 plujan New Issue
2009-04-28 11:04 plujan Assigned To => dalsasua
2009-04-28 11:04 plujan Regression testing => No
2009-04-28 11:04 plujan Status new => scheduled
2009-04-28 11:04 plujan fix_in_branch => pi
2009-04-28 11:04 plujan Tag Attached: 250MP1
2009-05-08 12:33 vmromanos Status scheduled => closed
2009-05-08 12:33 vmromanos Note Added: 0016173
2009-05-08 12:33 vmromanos Resolution open => no change required
2009-05-09 00:00 anonymous sf_bug_id 0 => 2789240


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker