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 "Alexander Hoisl (JIRA)" <ji...@apache.org> on 2007/02/14 15:17:05 UTC
[jira] Created: (LOG4NET-113) [PATCH]
SystemInfo.GetTypeFromString() raises NotSupportedException
[PATCH] SystemInfo.GetTypeFromString() raises NotSupportedException
-------------------------------------------------------------------
Key: LOG4NET-113
URL: https://issues.apache.org/jira/browse/LOG4NET-113
Project: Log4net
Issue Type: Bug
Components: Other
Affects Versions: 1.2.11
Environment: .NET CF 2.0 SP1 on Windows CE 4.2, tested on Psion Teklogix Workabout Pro (ARM processor)
Reporter: Alexander Hoisl
Fix For: 1.2.11
BUG:
Calling the GetTypeFromString(string, bool, bool) method in .NET CF 2.0 SP1 on Windows CE 4.2 raises a NotSupportedException if the supplied typeName parameter contains a comma (",") and both boolean values are "true", i.e. when specifying a type and the including assembly in the log4net XML configuration.
The exception stems from the overloaded Type.GetType method that takes three parameters. When using the two parameter Type.GetType method, everything works fine.
Steps to reproduce:
On the described environment configure e.g. an Appender and supply the assembly name in the "type" attribute.
PATCH:
The patch simply uses the two parameter GetType overload for all NETCF frameworks instead of only for NETCF_1_0.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (LOG4NET-113) [PATCH]
SystemInfo.GetTypeFromString() raises NotSupportedException
Posted by "Nicko Cadell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4NET-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicko Cadell resolved LOG4NET-113.
----------------------------------
Resolution: Fixed
Assignee: Nicko Cadell
patch applied
> [PATCH] SystemInfo.GetTypeFromString() raises NotSupportedException
> -------------------------------------------------------------------
>
> Key: LOG4NET-113
> URL: https://issues.apache.org/jira/browse/LOG4NET-113
> Project: Log4net
> Issue Type: Bug
> Components: Other
> Affects Versions: 1.2.11
> Environment: .NET CF 2.0 SP1 on Windows CE 4.2, tested on Psion Teklogix Workabout Pro (ARM processor)
> Reporter: Alexander Hoisl
> Assigned To: Nicko Cadell
> Fix For: 1.2.11
>
> Attachments: patch-file
>
>
> BUG:
> Calling the GetTypeFromString(string, bool, bool) method in .NET CF 2.0 SP1 on Windows CE 4.2 raises a NotSupportedException if the supplied typeName parameter contains a comma (",") and both boolean values are "true", i.e. when specifying a type and the including assembly in the log4net XML configuration.
> The exception stems from the overloaded Type.GetType method that takes three parameters. When using the two parameter Type.GetType method, everything works fine.
> Steps to reproduce:
> On the described environment configure e.g. an Appender and supply the assembly name in the "type" attribute.
> PATCH:
> The patch simply uses the two parameter GetType overload for all NETCF frameworks instead of only for NETCF_1_0.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (LOG4NET-113) [PATCH]
SystemInfo.GetTypeFromString() raises NotSupportedException
Posted by "Alexander Hoisl (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4NET-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Hoisl updated LOG4NET-113:
------------------------------------
Attachment: patch-file
unified diff patch file
base SVN version: 507535
> [PATCH] SystemInfo.GetTypeFromString() raises NotSupportedException
> -------------------------------------------------------------------
>
> Key: LOG4NET-113
> URL: https://issues.apache.org/jira/browse/LOG4NET-113
> Project: Log4net
> Issue Type: Bug
> Components: Other
> Affects Versions: 1.2.11
> Environment: .NET CF 2.0 SP1 on Windows CE 4.2, tested on Psion Teklogix Workabout Pro (ARM processor)
> Reporter: Alexander Hoisl
> Fix For: 1.2.11
>
> Attachments: patch-file
>
>
> BUG:
> Calling the GetTypeFromString(string, bool, bool) method in .NET CF 2.0 SP1 on Windows CE 4.2 raises a NotSupportedException if the supplied typeName parameter contains a comma (",") and both boolean values are "true", i.e. when specifying a type and the including assembly in the log4net XML configuration.
> The exception stems from the overloaded Type.GetType method that takes three parameters. When using the two parameter Type.GetType method, everything works fine.
> Steps to reproduce:
> On the described environment configure e.g. an Appender and supply the assembly name in the "type" attribute.
> PATCH:
> The patch simply uses the two parameter GetType overload for all NETCF frameworks instead of only for NETCF_1_0.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.