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: | Delay some error reports to next NetBeans start | ||
---|---|---|---|
Product: | ide | Reporter: | Martin Entlicher <mentlicher> |
Component: | Logger | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PLAN |
Priority: | P2 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 206328 |
Description
Martin Entlicher
2013-03-19 17:40:59 UTC
So there are will be an API to submit the log record so they are sent at next start. Can you please specify and implement such API? If I understand correctly the log records will contain something special ... can you please post here an example how such records get created? Also please note that OOME comes with heap dump (and deadlock with thread dump) that needs to be transferred. While thread dump might be written directly into the messages.log when the problem happens the heap dumps must be treated specially. Implemented for OOME by changeset: 253319:601fcbcab54d http://hg.netbeans.org/core-main/rev/601fcbcab54d In changeset: 253324:0d284612b66e we use NbObjectInputStream so that DeadlockException is correctly resolved. http://hg.netbeans.org/core-main/rev/0d284612b66e It should also cooperate well with the DeadlockException introduced by issue #206328. Therefore resolving as fixed. Integrated into 'main-golden', will be available in build *201305142300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/601fcbcab54d User: mentlicher@netbeans.org Log: #227668: OOME report is delayed after next start, since the IDE is likely in a bad state. |