Why would an error get thrown inside my try-catch?
        Posted  
        
            by George Johnston
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by George Johnston
        
        
        
        Published on 2010-04-23T19:44:19Z
        Indexed on 
            2010/04/23
            20:03 UTC
        
        
        Read the original article
        Hit count: 300
        
Why would my try-catch block still be throwing an error when it's handled?
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
              Try
    Here >> :   _MemoryStream.Seek(6 * StartOffset, 0)
                _MemoryStream.Read(_Buffer, 0, 6)
              Catch ex As IOException
                        // Handle Error
              End Try
Edit: Cleaned the question up to remove the extraneous information.
© Stack Overflow or respective owner