You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Niall Daley (JIRA)" <ji...@apache.org> on 2005/08/22 18:27:08 UTC
[jira] Created: (LOG4NET-43) Specifiying an emtpy string as a property in the config file results in an error
Specifiying an emtpy string as a property in the config file results in an error
--------------------------------------------------------------------------------
Key: LOG4NET-43
URL: http://issues.apache.org/jira/browse/LOG4NET-43
Project: Log4net
Type: Bug
Versions: 1.2.9
Reporter: Niall Daley
Assigned to: Niall Daley
Fix For: 1.2.10
Specifying an empty string as a property (either as <property/> or <property></property>) results in the following:
log4net:ERROR XmlHierarchyConfigurator: Failed to construct object of type [System.String] Exception: System.MissingMethodException: No parameterless constructor defined for this object.
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.Activator.CreateInstance(Type type)
at log4net.Repository.Hierarchy.XmlHierarchyConfigurator.CreateObjectFromXml(XmlElement element, Type defaultTargetType, Type typeConstraint) in S:\local\log4net-cvs\logging-log4net\src\Repository\Hierarchy\XmlHierarchyConfigurator.cs:line 924
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (LOG4NET-43) Specifying an empty string as a
property in the config file results in an error
Posted by "Nicko Cadell (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LOG4NET-43?page=all ]
Nicko Cadell updated LOG4NET-43:
--------------------------------
Summary: Specifying an empty string as a property in the config file results in an error (was: Specifiying an emtpy string as a property in the config file results in an error)
> Specifying an empty string as a property in the config file results in an error
> -------------------------------------------------------------------------------
>
> Key: LOG4NET-43
> URL: http://issues.apache.org/jira/browse/LOG4NET-43
> Project: Log4net
> Type: Bug
> Versions: 1.2.9
> Reporter: Niall Daley
> Assignee: Niall Daley
> Fix For: 1.2.10
>
> Specifying an empty string as a property (either as <property/> or <property></property>) results in the following:
> log4net:ERROR XmlHierarchyConfigurator: Failed to construct object of type [System.String] Exception: System.MissingMethodException: No parameterless constructor defined for this object.
> at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
> at System.Activator.CreateInstance(Type type, Boolean nonPublic)
> at System.Activator.CreateInstance(Type type)
> at log4net.Repository.Hierarchy.XmlHierarchyConfigurator.CreateObjectFromXml(XmlElement element, Type defaultTargetType, Type typeConstraint) in S:\local\log4net-cvs\logging-log4net\src\Repository\Hierarchy\XmlHierarchyConfigurator.cs:line 924
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (LOG4NET-43) Specifiying an emtpy string as a property in the config file results in an error
Posted by "Niall Daley (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/LOG4NET-43?page=all ]
Niall Daley resolved LOG4NET-43:
--------------------------------
Resolution: Fixed
Fix checked in as 1.18
> Specifiying an emtpy string as a property in the config file results in an error
> --------------------------------------------------------------------------------
>
> Key: LOG4NET-43
> URL: http://issues.apache.org/jira/browse/LOG4NET-43
> Project: Log4net
> Type: Bug
> Versions: 1.2.9
> Reporter: Niall Daley
> Assignee: Niall Daley
> Fix For: 1.2.10
>
> Specifying an empty string as a property (either as <property/> or <property></property>) results in the following:
> log4net:ERROR XmlHierarchyConfigurator: Failed to construct object of type [System.String] Exception: System.MissingMethodException: No parameterless constructor defined for this object.
> at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
> at System.Activator.CreateInstance(Type type, Boolean nonPublic)
> at System.Activator.CreateInstance(Type type)
> at log4net.Repository.Hierarchy.XmlHierarchyConfigurator.CreateObjectFromXml(XmlElement element, Type defaultTargetType, Type typeConstraint) in S:\local\log4net-cvs\logging-log4net\src\Repository\Hierarchy\XmlHierarchyConfigurator.cs:line 924
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira