Note that there are some explanatory texts on larger screens.

plurals
  1. POI'm getting a NullReferenceException (VB.Net) and don't see where it could be coming from (dev with 15+ years of experience perhaps having a 'moment')
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COYou could try breaking when a CLR exception is thrown: VS Debug -> Exceptions -> Check 'Thrown' from the same line as Common Language Runtime Exception.
      singulars
    2. COI already had this enabled (and double-checked to be sure). The exception is thrown in my web-app assembly according to the Output window yet the debugger never actually halts for an exception.
      singulars
    3. COFound it! The StudentID parameter was showing as "0" in my watch window, but it's actually retrieved passed as "olaHelper.studentID" and olaHelper is a helper class and studentID is a Public Shared ReadOnly property that refers to a session() variable that WAS Nothing, but the Get uses a Try...Catch block casting the session variable to an XElement, then using LINQ against that. The reference inside the try block was throwing the exception, but the whole point was to return 0 if a NRE was thrown (to provide a default value essentially). I didn't handle everything as I intended to though. :)
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload