Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2020-12-28 09:442021-01-04 10:35
ReporterLeyreView Statuspublic 
Assigned ToLeyre 
PriorityhighResolutionopenFixed in Version
StatusfeedbackFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0045653: "NullPointerException" in update.database when the log is at debug level or higher

Description"NullPointerException" in update.database when the log is at debug level or higher
Steps To Reproduce1. Change in the file config/log4j2.xml:
    <Root level="info">
      <AppenderRef ref="Console"/>

    <Root level="debug">
      <AppenderRef ref="Console"/>

2. Execute: ant update.database

Result: see attached file with the error.
TagsNo tags attached.
Attached Filestxt file icon error.txt [^] (9,166 bytes) 2020-12-28 09:44 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
AugustoMauch (developer)
2021-01-04 10:35

Leyre, I fixed the NullPointerException, but after that update.database does not finish, it seems that the XML parser it uses enters in an infinite loop when the log root is in debug mode.

If the original purpose of changing the log root to debug was to check some problem in the update.database project, you might achieve the same result adding this line instead:

    <Logger name="org.apache.ddlutils" level="debug"/>

Was that the purpose of changing the log level? Can you check if adding the line I mentioned achieves the same?

- Issue History
Date Modified Username Field Change
2020-12-28 09:44 Leyre New Issue
2020-12-28 09:44 Leyre Assigned To => platform
2020-12-28 09:44 Leyre File Added: error.txt
2020-12-28 09:44 Leyre Modules => Core
2020-12-28 09:44 Leyre Triggers an Emergency Pack => No
2020-12-29 11:57 cberner Summary "NullPointerException" in update.database when the log is at warning level or higher => "NullPointerException" in update.database when the log is at debug level or higher
2020-12-29 11:57 cberner Description Updated View Revisions
2021-01-04 10:35 AugustoMauch Note Added: 0125236
2021-01-04 10:35 AugustoMauch Assigned To platform => Leyre
2021-01-04 10:35 AugustoMauch Status new => feedback

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker