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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012462
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorsometimes2010-02-24 18:522010-03-12 22:39
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PriorityimmediateResolutionfixedFixed in Version2.50MP12
StatusclosedFix in branchpiFixed in SCM revision910d90095076
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012462: Sometimes there is an error in a rebuild, but the error message is not shown

DescriptionSometimes there is an error in a rebuild, but the error message is not shown, neither in the build log, nor in the rebuild window.

This can happen specially when the error happened inside a task which doesn't directly use Log4j, such as javac.
Steps To ReproduceModify a Java file of a module so that the syntax is incorrect. After that, rebuild the module.

The problem doesn't always happen. When it happens, you can notice it by looking at the window and realizing that, although there were errors in the build (you get a "red message"), no errors are shown in the "Warnings and errors" box.
TagsNo tags attached.
Attached Filespng file icon 2_50mp12_RebuildErrorWarning.PNG [^] (60,408 bytes) 2010-03-01 15:36


png file icon 2_50mp12_RebuildErrorWarningLog.PNG [^] (47,736 bytes) 2010-03-01 15:36

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00125132.50MP14 closedmarvintm When an error is logged in the rebuild window, sometimes it is shown as a warning 

-  Notes
(0024799)
hgbot (developer)
2010-02-24 19:12

Repository: erp/devel/pi
Changeset: 910d90095076b588f789f36c435ca1dee36ef47d
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Feb 24 18:56:14 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/910d90095076b588f789f36c435ca1dee36ef47d [^]

Fixed issue 12462. Errors which happened in a task which doesn't use log4j will now always be shown both in the rebuild window and in the log file.

---
M src/org/openbravo/erpCommon/ad_process/ApplyModules.html
M src/org/openbravo/erpCommon/ad_process/ApplyModulesCallServlet.java
M src/org/openbravo/erpCommon/utility/AntExecutor.java
---
(0024910)
plujan (manager)
2010-03-01 15:33

This issue is not properly fixed. When a compilation error happens, now I have several warnings instead an error:

Warning: /opt/OpenbravoERP/modules/org.openbravo.module.aeat347.es/src/org/openbravo/module/aeat347/es/AEAT347Report.java:146: cannot find symbol
Warning: symbol : class AEAT347ReportDao
Warning: location: class org.openbravo.module.aeat347.es.AEAT347Report
Warning: private void obtainTaxIds(AEAT347ReportDao dao347) {
Warning: ^
Warning: /opt/OpenbravoERP/modules/org.openbravo.module.aeat347.es/src/org/openbravo/module/aeat347/es/AEAT347Report.java:161: cannot find symbol
Warning: symbol : class AEAT347ReportDao
Warning: location: class org.openbravo.module.aeat347.es.AEAT347Report
Warning: private void calculateAmounts(AEAT347ReportDao dao347, String strAmountLimit,
Warning: ^
Warning: /opt/OpenbravoERP/modules/org.openbravo.module.aeat347.es/src/org/openbravo/module/aeat347/es/AEAT347Report.java:202: cannot find symbol
Warning: symbol : class AEAT347ReportDao
Warning: location: class org.openbravo.module.aeat347.es.AEAT347Report
Warning: private void getInvoicesAmounts(AEAT347ReportDao dao347, String strDocTypes,
Warning: ^
Warning: /opt/OpenbravoERP/modules/org.openbravo.module.aeat347.es/src/org/openbravo/module/aeat347/es/AEAT347Report.java:219: cannot find symbol
and more...
(0024911)
plujan (manager)
2010-03-01 15:37

Two screenshots added to show the inconsistency. At rebuild window there is an ERROR message, but only warnings are shown. In the Show Log window, what is an error and what is a warning is not clear
(0024919)
marvintm (developer)
2010-03-01 18:08

What we intended to report was fixed. The error messages previously weren't shown in the rebuild window. There is a separate issue (that part of the error message is shown as warnings). A new issue will be logged for this.
(0025319)
hudsonbot (developer)
2010-03-12 22:39

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/910d90095076 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^]

- Issue History
Date Modified Username Field Change
2010-02-24 18:52 marvintm New Issue
2010-02-24 18:52 marvintm Assigned To => marvintm
2010-02-24 19:12 hgbot Checkin
2010-02-24 19:12 hgbot Note Added: 0024799
2010-02-24 19:12 hgbot Status new => resolved
2010-02-24 19:12 hgbot Resolution open => fixed
2010-02-24 19:12 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/910d90095076b588f789f36c435ca1dee36ef47d [^]
2010-02-26 17:44 plujan Priority normal => immediate
2010-03-01 15:33 plujan Note Added: 0024910
2010-03-01 15:33 plujan Status resolved => new
2010-03-01 15:33 plujan Resolution fixed => open
2010-03-01 15:35 plujan Status new => scheduled
2010-03-01 15:35 plujan fix_in_branch => pi
2010-03-01 15:36 plujan File Added: 2_50mp12_RebuildErrorWarning.PNG
2010-03-01 15:36 plujan File Added: 2_50mp12_RebuildErrorWarningLog.PNG
2010-03-01 15:37 plujan Note Added: 0024911
2010-03-01 18:08 marvintm Note Added: 0024919
2010-03-01 18:08 marvintm Status scheduled => resolved
2010-03-01 18:08 marvintm Fixed in Version => 2.50MP12
2010-03-01 18:08 marvintm Resolution open => fixed
2010-03-01 18:11 marvintm Relationship added related to 0012513
2010-03-01 18:11 marvintm Status resolved => closed
2010-03-10 17:24 anonymous sf_bug_id 0 =>
2010-03-10 18:30 anonymous sf_bug_id => 2968103
2010-03-12 22:39 hudsonbot Checkin
2010-03-12 22:39 hudsonbot Note Added: 0025319


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker