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 "Matthias Krause (JIRA)" <ji...@apache.org> on 2008/04/10 13:54:08 UTC
[jira] Created: (LOG4NET-146) System.NullReferenceException on
FindAndRender object
System.NullReferenceException on FindAndRender object
-----------------------------------------------------
Key: LOG4NET-146
URL: https://issues.apache.org/jira/browse/LOG4NET-146
Project: Log4net
Issue Type: Bug
Components: Core
Affects Versions: 1.2.10
Environment: Windows 2003 Server Release 2
Oracle ODP Version (Oracle.DataAccess.dll) 1.102.3.0
.Net 1.1.4332
Reporter: Matthias Krause
Fix For: 1.2.10
Get following error text:
<log4net.Error>Exception rendering object type [System.NullReferenceException]<stackTrace>System.NullReferenceException: Object reference not set to an instance of an object.
at System.Diagnostics.StackTrace.GetStackFramesInternal(StackFrameHelper sfh, Int32 iSkip, Exception e)
at System.Diagnostics.StackTrace.CaptureStackTrace(Int32 iSkip, Boolean fNeedFileInfo, Thread targetThread, Exception e)
at System.Diagnostics.StackTrace..ctor(Exception e, Boolean fNeedFileInfo)
at System.Environment.GetStackTrace(Exception e)
at System.Environment.GetStackTrace(Exception e)
at System.Exception.get_StackTrace()
at System.Exception.ToString()
at System.Exception.ToString()
at log4net.ObjectRenderer.DefaultRenderer.RenderObject(RendererMap rendererMap, Object obj, TextWriter writer)
at log4net.ObjectRenderer.RendererMap.FindAndRender(Object obj, TextWriter writer)</stackTrace></log4net.Error>
Exception come form a OracleDataAdapter Fill call from a C# application.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (LOG4NET-146) System.NullReferenceException on
FindAndRender object
Posted by "Ron Grabowski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4NET-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ron Grabowski updated LOG4NET-146:
----------------------------------
Fix Version/s: (was: 1.2.10)
1.2.11
> System.NullReferenceException on FindAndRender object
> -----------------------------------------------------
>
> Key: LOG4NET-146
> URL: https://issues.apache.org/jira/browse/LOG4NET-146
> Project: Log4net
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.10
> Environment: Windows 2003 Server Release 2
> Oracle ODP Version (Oracle.DataAccess.dll) 1.102.3.0
> .Net 1.1.4332
> Reporter: Matthias Krause
> Fix For: 1.2.11
>
>
> Get following error text:
> <log4net.Error>Exception rendering object type [System.NullReferenceException]<stackTrace>System.NullReferenceException: Object reference not set to an instance of an object.
> at System.Diagnostics.StackTrace.GetStackFramesInternal(StackFrameHelper sfh, Int32 iSkip, Exception e)
> at System.Diagnostics.StackTrace.CaptureStackTrace(Int32 iSkip, Boolean fNeedFileInfo, Thread targetThread, Exception e)
> at System.Diagnostics.StackTrace..ctor(Exception e, Boolean fNeedFileInfo)
> at System.Environment.GetStackTrace(Exception e)
> at System.Environment.GetStackTrace(Exception e)
> at System.Exception.get_StackTrace()
> at System.Exception.ToString()
> at System.Exception.ToString()
> at log4net.ObjectRenderer.DefaultRenderer.RenderObject(RendererMap rendererMap, Object obj, TextWriter writer)
> at log4net.ObjectRenderer.RendererMap.FindAndRender(Object obj, TextWriter writer)</stackTrace></log4net.Error>
> Exception come form a OracleDataAdapter Fill call from a C# application.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (LOG4NET-146) System.NullReferenceException on
FindAndRender object
Posted by "Ron Grabowski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4NET-146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ron Grabowski resolved LOG4NET-146.
-----------------------------------
Resolution: Cannot Reproduce
I took a look at DefaultRenderer and it looks like the appropriate null checks are in place. Open another ticket if you, or someone else, can provide more information what was being rendered.
> System.NullReferenceException on FindAndRender object
> -----------------------------------------------------
>
> Key: LOG4NET-146
> URL: https://issues.apache.org/jira/browse/LOG4NET-146
> Project: Log4net
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.10
> Environment: Windows 2003 Server Release 2
> Oracle ODP Version (Oracle.DataAccess.dll) 1.102.3.0
> .Net 1.1.4332
> Reporter: Matthias Krause
> Fix For: 1.2.11
>
>
> Get following error text:
> <log4net.Error>Exception rendering object type [System.NullReferenceException]<stackTrace>System.NullReferenceException: Object reference not set to an instance of an object.
> at System.Diagnostics.StackTrace.GetStackFramesInternal(StackFrameHelper sfh, Int32 iSkip, Exception e)
> at System.Diagnostics.StackTrace.CaptureStackTrace(Int32 iSkip, Boolean fNeedFileInfo, Thread targetThread, Exception e)
> at System.Diagnostics.StackTrace..ctor(Exception e, Boolean fNeedFileInfo)
> at System.Environment.GetStackTrace(Exception e)
> at System.Environment.GetStackTrace(Exception e)
> at System.Exception.get_StackTrace()
> at System.Exception.ToString()
> at System.Exception.ToString()
> at log4net.ObjectRenderer.DefaultRenderer.RenderObject(RendererMap rendererMap, Object obj, TextWriter writer)
> at log4net.ObjectRenderer.RendererMap.FindAndRender(Object obj, TextWriter writer)</stackTrace></log4net.Error>
> Exception come form a OracleDataAdapter Fill call from a C# application.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LOG4NET-146) System.NullReferenceException on
FindAndRender object
Posted by "Ron Grabowski (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4NET-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625183#action_12625183 ]
Ron Grabowski commented on LOG4NET-146:
---------------------------------------
Is this still an issue with the latest version of the Oracle drivers?
> System.NullReferenceException on FindAndRender object
> -----------------------------------------------------
>
> Key: LOG4NET-146
> URL: https://issues.apache.org/jira/browse/LOG4NET-146
> Project: Log4net
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.10
> Environment: Windows 2003 Server Release 2
> Oracle ODP Version (Oracle.DataAccess.dll) 1.102.3.0
> .Net 1.1.4332
> Reporter: Matthias Krause
> Fix For: 1.2.11
>
>
> Get following error text:
> <log4net.Error>Exception rendering object type [System.NullReferenceException]<stackTrace>System.NullReferenceException: Object reference not set to an instance of an object.
> at System.Diagnostics.StackTrace.GetStackFramesInternal(StackFrameHelper sfh, Int32 iSkip, Exception e)
> at System.Diagnostics.StackTrace.CaptureStackTrace(Int32 iSkip, Boolean fNeedFileInfo, Thread targetThread, Exception e)
> at System.Diagnostics.StackTrace..ctor(Exception e, Boolean fNeedFileInfo)
> at System.Environment.GetStackTrace(Exception e)
> at System.Environment.GetStackTrace(Exception e)
> at System.Exception.get_StackTrace()
> at System.Exception.ToString()
> at System.Exception.ToString()
> at log4net.ObjectRenderer.DefaultRenderer.RenderObject(RendererMap rendererMap, Object obj, TextWriter writer)
> at log4net.ObjectRenderer.RendererMap.FindAndRender(Object obj, TextWriter writer)</stackTrace></log4net.Error>
> Exception come form a OracleDataAdapter Fill call from a C# application.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.