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 27040

Summary: Wrong usage of RequestProcessor
Product: java Reporter: Petr Nejedly <pnejedly>
Component: BeansAssignee: issues@java <issues>
Status: VERIFIED FIXED    
Severity: blocker CC: sdedic
Priority: P2 Keywords: PERFORMANCE
Version: 3.x   
Hardware: Sun   
OS: Solaris   
URL: http://www.netbeans.org/download/apis/org/openide/util/RequestProcessor.html
Issue Type: DEFECT Exception Reporter:

Description Petr Nejedly 2002-09-05 09:31:22 UTC
Rapid Processor allocation:
java.lang.Exception: Stack trace
[...]
at o.o.u.RequestProcessor.post
at o.n.m.beans.PatternChildren$Listener.
     propertyChange(PatternChildren.java:231)
[...]

This is my debugging log which uncovers places
where something posts a burst of requests to the
RequestProcessor.getDefault(), which is wrong.
See docs of RequestProcessor, the note below use
cases.
Comment 1 Svata Dedic 2002-09-05 10:05:34 UTC
Sorry for that; I guess I will have to invent my own RP instance for
this task.
Comment 2 Svata Dedic 2002-09-05 19:58:14 UTC
/cvs/beans/src/org/netbeans/modules/beans/PatternChildren.java,v  <--
 PatternChildren.java
new revision: 1.23; previous revision: 1.22
Comment 3 Jan Becicka 2003-02-27 12:32:16 UTC
Reporter, could you verify this bug? Thanks
Comment 4 Petr Nejedly 2003-02-27 16:57:19 UTC
OK