| Summary: | NullPointerException while reading heapdump file | ||
|---|---|---|---|
| Product: | [Tools] MAT | Reporter: | miloslavskacel |
| Component: | Core | Assignee: | Project Inbox <mat.core-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | krum.tsvetkov |
| Version: | unspecified | ||
| Target Milestone: | 1.6.1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
miloslavskacel
The class id for an object is not being found:
while (clazz.hasSuperClass())
We would need to create a dummy class to be able to read this dump.
This exception is in the same place:
public List<IClass> resolveClassHierarchy(long classId)
{
List<IClass> answer = new ArrayList<IClass>();
ClassImpl clazz = classesByAddress.get(classId);
answer.add(clazz);
while (clazz.hasSuperClass()) <===
as other bugs with an exception at line 587 e.g. bug 471757 comment 2 so I think the fix for that will fix this.
*** This bug has been marked as a duplicate of bug 471757 ***
|