Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0054169Openbravo ERP01. General setuppublic2023-12-19 18:092024-01-08 09:24
dbaz 
Triage Platform Base 
urgentmajoralways
newopen 
5
 
 
Core
No
0054169: While doing install.sources there is a peak in the CPU and after that, an error is raised
While doing install.sources in a terminal without X there is a peak in the CPU that takes almost 5 minutes, and after that, the following error is raised


build.web.folder.base:
     [copy] Copying 3601 files to /home/david/workspaces/devel1/openbravo/WebContent/web
     [copy] Copied 731 empty directories to 1 empty directory under /home/david/workspaces/devel1/openbravo/WebContent/web
     [copy] Copying 73 files to /home/david/workspaces/devel1/openbravo/WebContent/web/skins/ltr
     [copy] Copying 73 files to /home/david/workspaces/devel1/openbravo/WebContent/web/skins/rtl
     [java] 462 [main] INFO org.openbravo.translate.RTLSkin - RTL Skin directory source: /home/david/workspaces/devel1/openbravo/WebContent/web/skins/rtl
     [java] 465 [main] INFO org.openbravo.translate.RTLSkin - LTR Skin directory source: /home/david/workspaces/devel1/openbravo/WebContent/web/skins/ltr
     [java] 465 [main] INFO org.openbravo.translate.RTLSkin - Processing images of RTL skin Default
     [java] 467 [main] INFO org.openbravo.translate.RTLSkin - Processing RTL skin Default
     [java] Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using '172.20.16.1:0' as the value of the DISPLAY variable.
     [java] at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
     [java] at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:102)
     [java] at java.base/java.security.AccessController.doPrivileged(Native Method)
     [java] at java.desktop/sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:61)
     [java] at java.base/java.lang.Class.forName0(Native Method)
     [java] at java.base/java.lang.Class.forName(Class.java:315)
     [java] at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:101)
     [java] at java.desktop/java.awt.GraphicsEnvironment$LocalGE.<clinit>(GraphicsEnvironment.java:83)
     [java] at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:129)
     [java] at java.desktop/java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1181)
     [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:225)
     [java] at org.openbravo.translate.RTLSkin.runFolders(RTLSkin.java:199)
     [java] at org.openbravo.translate.RTLSkin.runFolders(RTLSkin.java:189)
     [java] at org.openbravo.translate.RTLSkin.runFolders(RTLSkin.java:189)
     [java] at org.openbravo.translate.RTLSkin.main(RTLSkin.java:125)
     [java] Java Result: 1
.
Change the Java no ensure this function related with the graphics environment can be executed, and if not, just skip this part, since it is a RTL functionality for the ERP

With this it will save almost 5 minutes on each compilation until the X11 does the timeout
No tags attached.
Issue History
2023-12-19 18:09dbazNew Issue
2023-12-19 18:09dbazAssigned To => Triage Omni OMS
2023-12-19 18:09dbazModules => Core
2023-12-19 18:09dbazTriggers an Emergency Pack => No
2023-12-20 10:40aferrazAssigned ToTriage Omni OMS => Triage Platform Base
2024-01-08 09:24shuehnerIssue Monitored: shuehner

There are no notes attached to this issue.