org.eclipse.mat.SnapshotException: Object 0x2aab50739d48 not found.
at org.eclipse.mat.parser.internal.SnapshotImpl.mapAddressToId(SnapshotImpl.java:1457)
at org.eclipse.mat.parser.internal.ThreadStackHelper.readLocalId(ThreadStackHelper.java:134)
at org.eclipse.mat.parser.internal.ThreadStackHelper.loadThreadsData(ThreadStackHelper.java:71)
at org.eclipse.mat.parser.internal.SnapshotImpl.getThreadStack(SnapshotImpl.java:2006)
at org.eclipse.mat.inspections.threads.ThreadOverviewQuery.buildThreadOverviewNode(ThreadOverviewQuery.java:142)
at org.eclipse.mat.inspections.threads.ThreadOverviewQuery.execute(ThreadOverviewQuery.java:92)
at org.eclipse.mat.query.registry.ArgumentSet.execute(ArgumentSet.java:129)
at org.eclipse.mat.ui.QueryExecution$ExecutionJob.run(QueryExecution.java:174)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)]]>Joel Patton2012-08-20T15:36:59-00:00Re: Thread Details/Overview won't open: Object 0x2aab50739d48 not found.https://www.eclipse.org/forums/index.php/mv/msg/369767/903907/#msg_903907
You could list the thread objects using the 'list_objects' query
java.lang.Thread
(more options)
include subclasses
and run the thread overview and stacks query on a subset of the result and see if you can get information on most of the threads. (At least one will fail with the same problem you saw).

You could edit the <heap dump name>.threads index file and remove the line containing
objecId=0x2aab50739d48, line=<nn>

This would stop the that thread local from being inspected.

If this is common problem then we could update the query to bypass the failure.

What version of JVM generated the dump?
]]>Andrew Johnson2012-08-27T08:23:49-00:00Re: Thread Details/Overview won't open: Object 0x2aab50739d48 not found.https://www.eclipse.org/forums/index.php/mv/msg/369767/903972/#msg_903972
This has been a common problem for me. The past 6 or so dumps I've analyzed have all encountered this error, so if you can create a workaround for it then that would be great!

I can confirm that the workaround works:
1. Save off .threads file.
2. Java Basics -> Thread Overview and Stacks.
- Result: Object not found dialog (BTW, why is it not found?)
3. Open .threads file and remove ALL instances of the listed object's id.
- You can do this while MAT is open.
4. Loop back to #2 and try again.

Eventually, you will succeed.

Btw, thanks for a great tool!]]>John Guerrero2013-05-26T16:34:49-00:00