Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8566217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T17:36:21+00:00 2026-06-11T17:36:21+00:00

The Stacktrace of an exception i’m getting is: /* snip */ at SomeSystemMethod() at

  • 0

The Stacktrace of an exception i’m getting is:

/* snip */
at SomeSystemMethod()
at Namespace.Adapters.ListAdapterBase`1.GetObjects(String where)
at Namespace.Processes.MyProcess.Run()
/* snip */

This it seems that this is missing something after the second line, because ListAdapterBase is abstract and the method GetObjects is not called directly, but by another method of the child class:

public class ActualStateList : ListAdapterBase<ActualState>
{
    /* snip */
    public List<ActualState> GetByUserId(int userId)
    {
        return GetObjects(string.Format(
            WHERECLAUSE_BYUSERID, userId));
    }
    /* snip */
}

So my first question is, how can it be, that there is no call of ActualStateList.GetByUserId() or another child class or method in the Stacktrace?

And secondly: the Run() method uses 4 child classes of ListAdapterBase, can I somehow find out, in which one the exception happened? Does the number behind ListAdapterBase somehow lead to precisely one of the child classes?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T17:36:22+00:00Added an answer on June 11, 2026 at 5:36 pm

    First question: Most likely GetByUserId is inlined in your Release build, that’s why it isn’t missing from the stack trace. Using the Debug build should show that method.

    Second question: From the StackTrace you are getting, you can’t infer which child class has been used. The number (`1) is part of the class name of ListAdapterBase and simply states that this class has one generic argument.

    One thought however: As the JIT is able to inline GetByUserId you know certain things:

    • The JIT knows at compile time which child class is used as virtual methods aren’t inlined.
    • Only child classes that call GetObjects are candidates for the specific child class used
    • Only child classes where GetObjects is called in a simple method are candidates.

    These points might help you find the specific child class.

    Adding a pdb file could help even more as it would show the line number in the Run method that threw the exception. Adding pdb files is possible for Release builds, too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am getting below EAccessViolation Exception in C++ Builder 2010 project. StackTrace is not
My service was working fine and now I am getting this exception and service
System.TypeInitializationException was unhandled Message=The type initializer for 'SmartHomeworkOrganizer.ViewModels.MainViewModel' threw an exception. Source=SmartHomeworkOrganizer TypeName=SmartHomeworkOrganizer.ViewModels.MainViewModel StackTrace:
I want to disable the stack trace getting generated when an exception is thrown.
Why does this code not print an exception stack trace? public class Playground {
My program crashes due to a null pointer exception. Snip of Stack Trace: java.lang.NullPointerException
how to read this stacktrace? who can explain me how to understand this to
I am getting the following stacktrace and have no idea what I am looking
I have developed this small app and run it on Jetty with no problems...
I'm getting an exception from SQL Data Reader (MS SQL as datastore) and I'd

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.