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 150349 - Incorrect duplicates for org.netbeans.editor.Utilities
Summary: Incorrect duplicates for org.netbeans.editor.Utilities
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Exceptions Reporter (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jindrich Sedek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 10:25 UTC by Petr Blaha
Modified: 2008-10-21 07:11 UTC (History)
2 users (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 Blaha 2008-10-16 10:25:14 UTC
See the comment in issue #148334
Comment 2 Torbjorn Norbye 2008-10-17 02:06:01 UTC
Anoter incorrectly reopened issue is issue 135410.

I'm raising this to a P1 - I think the automatic reopening of NPE's probably should be disabled until this is resolved.
It's okay to have incorrectly added extra duplicates for a given issue. But reopening issues is more problematic,
especially because I don't know what to do now -- I can't just close the issue as "fixed" again since any new exceptions
coming in will just reopen it, and besides, the link from the exception report points to this wrong issue rather than
any new issues I file for it.
Comment 3 Jindrich Sedek 2008-10-20 10:18:31 UTC
The originally reported problem is that exceptions reporter check too short part of stacktrace. The second problem is
not related to  NPE, but it's related to StackOverflowError. The stacktrace cycle has only one line and it causes the
problem.

second problem fixed.
changeset 3945cf114acb in main/misc
details: http://hg.netbeans.org/main/misc?cmd=changeset;node=3945cf114acb
description:
	partial fix for issue #150349
Comment 4 Jindrich Sedek 2008-10-21 07:11:18 UTC
I've increased the checked level to more lines. It will not help in general, but it solves this issue. We should think 
of some more heuristics in stacktrace comparision.

changeset b886d14c7014 in main/misc
details: http://hg.netbeans.org/main/misc?cmd=changeset;node=b886d14c7014
description:
	issue 150349 - increasing lines checking depth