This is the offending piece of code, the boldened part is where the error occurs.
VB Code:
  1. Dim sqlQuery As String = "INSERT INTO longdescs (bug_id, " & _
  2. "bug_when, " & _
  3. "thetext, " & _
  4. "who) " & _
  5. "VALUES ("
  6.  
  7. [b]sqlQuery &= data.Tables("ProblemTable").Rows(0).item(0).ToString & ", '"[/b]
This is the error that I'm getting while running it.
Code:
System.NullReferenceException: Object reference not set to an instance of an object.
I used New in order to create a new instance of the DataSet object so I don't understand the warning message about the object reference being not set.