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: | OOME due to SOFE in org.jdesktop.application invoked by QuiteEditorPane | ||
---|---|---|---|
Product: | platform | Reporter: | stayprime |
Component: | Text | Assignee: | Miloslav Metelka <mmetelka> |
Status: | NEW --- | ||
Severity: | normal | CC: | ivankol, mentlicher |
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 205790 |
Attachments: | stacktrace |
Description
stayprime
2014-08-26 11:59:13 UTC
Created attachment 148901 [details]
stacktrace
Evaluating http://statistics.netbeans.org/exceptions/exception.do?id=735709 as it has a funny description: When i have copying this string "\" to java app, app goes slow and uses 90% of CPU all the time. 5.5M of stacktraces occupies 243M of memory - this is probably caused by uihandler and also core.startup.logging.NbFormatter trying to dump all the errors that are happening in AWT event thread. There is a really deep stack trace in AWT thread. Looks like an infinite recursion in org.jdesktop.application.ApplicationAction.actionPerformed(:698) org.jdesktop.application.TextActions.invokeTextAction(TextActions.java:172) org.jdesktop.application.TextActions.paste(TextActions.java:211) sun.reflect.GeneratedMethodAccessor316.invoke(<unknown string>) org.jdesktop.application.ApplicationAction.noProxyActionPerformed(:662) who's using org.jdesktop inside of NetBeans!? It should be gone for a long time! I've managed to find an instance of QuiteEditorPane (on stack) that is source for ~1000 ActionEvents. Passing to editor guys to investigate why that happens. I've also modified the NbFormatter to limit its recursion to 10 nested exceptions: https://hg.netbeans.org/ergonomics/rev/3a91904c59f4 Possibly Martin wants to do something similar in uihandler. One idea for the reporter: Does your problem occur also when you remove net.java.dev.nbmodules.copypastehistory/3 module? If it does, please close this bug and report it to the module owner. Thanks Jarda for notifying me about long nested recursions in uihandler. I've already fixed that few days ago in issue #246731. Integrated into 'main-silver', will be available in build *201410290913* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3a91904c59f4 User: Jaroslav Tulach <jtulach@netbeans.org> Log: In response to #246702 limit the number of nested exception by ten |