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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054169
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupmajoralways2023-12-19 18:092025-03-24 12:56
ReporterdbazView Statuspublic 
Assigned ToTriage Platform Base 
PriorityurgentResolutionunable to reproduceFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054169: While doing install.sources there is a peak in the CPU and after that, an error is raised

DescriptionWhile 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
Steps To Reproduce.
Proposed SolutionChange 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0177174)
shuehner (administrator)
2025-03-24 12:56

Can't reproduce out of the box + reported said problem went ahead for him (might be by some OS update)

- Issue History
Date Modified Username Field Change
2023-12-19 18:09 dbaz New Issue
2023-12-19 18:09 dbaz Assigned To => Triage Omni OMS
2023-12-19 18:09 dbaz OBNetwork customer => No
2023-12-19 18:09 dbaz Modules => Core
2023-12-19 18:09 dbaz Triggers an Emergency Pack => No
2023-12-20 10:40 aferraz Assigned To Triage Omni OMS => Triage Platform Base
2024-01-08 09:24 shuehner Issue Monitored: shuehner
2025-03-24 12:56 shuehner Note Added: 0177174
2025-03-24 12:56 shuehner Status new => closed
2025-03-24 12:56 shuehner Resolution open => unable to reproduce


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker