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.

Bug 77522 - StackOverflowError when profiling Paintapp sample
Summary: StackOverflowError when profiling Paintapp sample
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
: 72736 (view as bug list)
Depends on: 77533
Blocks:
  Show dependency tree
 
Reported: 2006-06-07 13:41 UTC by Tomas Danek
Modified: 2007-09-13 07:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
StackOverflowError (99.84 KB, application/octet-stream)
2006-06-07 13:41 UTC, Tomas Danek
Details
StackOverflowError in 5.5 + 5.0 profiler (99.84 KB, text/plain)
2006-06-07 14:45 UTC, Tomas Danek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2006-06-07 13:41:17 UTC
NetBeans IDE Dev (Build 200605312230)
1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-b02
Windows XP version 5.1 running on x86
en_US (nb); Cp1252

-----------------------------
1) downloaded 6.0 profiler + 6.0 qbuild (referenced from profiler.netbeans.org)
2) created paintapp sample project (samples|netbeans plug-in modules)
3) try to profile it - after a while i get StackOverflowError (attached)
Comment 1 Tomas Danek 2006-06-07 13:41:51 UTC
Created attachment 30856 [details]
StackOverflowError
Comment 2 Tomas Danek 2006-06-07 14:44:09 UTC
I'm getting the same StackOverflowError after following steps:
1) have 5.0 profiler in 5.5 IDE 20060601
2) created paintapp sample project (samples|netbeans plug-in modules)
3) invoke profile project, choose "analyze performance". Leave defaults - Entire
application selected, Profile entire IDE *not* selected, Profile all classes.
4) run profiler
5) Ide stops to respond for ~15seconds  and finally  - StackOverflowError
Comment 3 Tomas Danek 2006-06-07 14:45:13 UTC
Created attachment 30863 [details]
StackOverflowError in 5.5 + 5.0 profiler
Comment 4 Tomas Danek 2006-06-07 14:46:50 UTC
note: to avoid StackOverflowError in 5.5 + 5.0 profiler, i check "Profile entire
IDE", then profiling runs fine.
Comment 5 Jiri Sedlacek 2006-06-07 15:47:31 UTC
This is caused by a bug in apisupport - project is being reported as its own 
subproject (ColorChooser in this case), causing a loop and SOE when traversing 
project and its subprojects.
Comment 6 Jiri Sedlacek 2006-06-07 15:58:18 UTC
Created a workaround in trunk, but should be fixed in apisupport.
Should be merged into release55 branch if apisupport fix won't happen there.
Comment 7 Jiri Sedlacek 2006-06-09 13:57:07 UTC
Workaround merged to release55 branch just to be sure/allow profiling on builds 
before IZ 77533 fix.
Comment 8 Tomas Hurka 2006-06-28 09:59:59 UTC
*** Issue 72736 has been marked as a duplicate of this issue. ***
Comment 9 Alexander Kouznetsov 2007-09-13 07:33:57 UTC
Verified with Beta1