This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | NullPointerException at org.netbeans.modules.profiler.actions.CompareSnapshotsAction$SelectExternalSnapshotsPanel$4.doInBackground | ||
---|---|---|---|
Product: | profiler | Reporter: | Ondrej Brejla <obrejla> |
Component: | Base | Assignee: | Jiri Sedlacek <jis> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | VISUALVM |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 197536 |
Attachments: |
stacktrace
Frist snapshot Second snapshot |
Description
Ondrej Brejla
2013-08-14 12:25:19 UTC
Created attachment 138683 [details]
stacktrace
Can you please attach the two snapshots you're comparing? Thanks! Created attachment 138689 [details]
Frist snapshot
Created attachment 138690 [details]
Second snapshot
Reproduced, thanks! The main problem is that .npss files are not meant to be compared. You should save them as .nps snapshots for the comparison. Yes I thought that ;) But in 7.3.1 if one slected two npss files, the OK button was disabled. In 7.4 dev it's enabled. Maybe it will help. And some more yellow warning perhaps ;) Only .nps snapshots can be compared, removed the All Files filter. Fixed by http://hg.netbeans.org/profiler-main/rev/7cad435aa7da. The NPE can still be thrown for invalid .nps snapshots (or files renamed to .nps). Cornercases fixed by http://hg.netbeans.org/profiler-main/rev/777fdb5db3ea. |