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 - Wrong usage of RequestProcessor
Summary: Wrong usage of RequestProcessor
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Beans (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: issues@java
URL: http://www.netbeans.org/download/apis...
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2002-09-05 09:31 UTC by Petr Nejedly
Modified: 2003-02-27 16:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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