core icon indicating copy to clipboard operation
core copied to clipboard

Cannot add a new folder on host root with TRACE logging turned on

Open brentgriffin opened this issue 11 years ago • 3 comments

Adding a new folder to the host via the site browser works fine with normal "INFO" level logging (the default setting). When you change the logging level to "TRACE", you get the "Oops" screen. Based on the catalina.out log file the "Ooops" screen is the result of a NullPointerException.

Steps to recreate

  1. After dotCMS is installed and running, shutdown dotCMS
  2. Edit ./dotserver/tomcat-8.0.18/webapps/ROOT/WEB-INF/log4j/log4j.xml and replace all 15 occurances of "info" with "trace" - save changes
  3. Edit ./dotserver/tomcat-8.0.18/webapps/ROOT/WEB-INF/classes/log4j.properties and replace INFO with TRACE - save changes
  4. Restart dotCMS
  5. Open site browser in backend
  6. Right-click on host/site name and select "Add Folder"
  7. Should now see "Ooops" page and see NPE in log file

Log file: https://gist.github.com/brentgriffin/127efe9e31334fb19eee

Ubuntu 14.04.2 LTS // Java "1.7.0_80" // PostgreSQL 9.3 // dotCMS 3.2 Release

brentgriffin avatar May 11 '15 13:05 brentgriffin

Pull request: #7727

maurizo avatar May 13 '15 14:05 maurizo

Tested on: 3.2 Nightly build 2015-05-14 04:13 // Ubuntu 14.04 // Postgres // Firefox

shaydotcms avatar May 14 '15 20:05 shaydotcms

Added TC http://qa.dotcms.com/index.php?/cases/view/59164

shaydotcms avatar Jun 16 '15 14:06 shaydotcms