KNL-494 doesn't name the file with a problem

Description

Found in 2.7.0 the bug solved with KNL-494 but wasn't able to know which file was wrong. Is this shown in 1.2.0 like the logs provided in KNL-494 show?

Maybe it should be available in the new log and this one should be more than info.

Environment

None

Test Plan

None

Activity

Show:

Stephen Marquard August 30, 2010 at 6:07 AM

I tested this in a trunk build by changing sakai.membership.xml to a 0-byte file.

Resulting log output is:

2010-08-30 15:04:40,486 INFO main org.sakaiproject.util.ToolListener - registering tools from resource: /tools/sakai.membership.xml
[Fatal Error] :1:1: Premature end of file.
2010-08-30 15:04:40,510 WARN main org.sakaiproject.util.Xml - readDocumentFromStream: org.xml.sax.SAXParseException: Premature end of file.
2010-08-30 15:04:40,510 INFO main org.sakaiproject.tool.impl.ActiveToolComponent - register: invalid or empty tool registration document

I think this is probably sufficient to show where the error lies, as the SAX error and ActiveToolComponent message followup on immediately.

Non-Issue

Details

Assignee

Reporter

Components

Affects versions

Priority

Created August 30, 2010 at 2:16 AM
Updated April 25, 2018 at 3:34 PM
Resolved August 30, 2010 at 6:07 AM