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 160761 - duplicate entry in jar breaks 'viewability'
Summary: duplicate entry in jar breaks 'viewability'
Status: RESOLVED DUPLICATE of bug 144166
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-20 18:27 UTC by Vince Kraemer
Modified: 2009-03-20 20:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the stack trace (3.05 KB, text/plain)
2009-03-20 18:29 UTC, Vince Kraemer
Details
a screen shot (33.12 KB, image/png)
2009-03-20 18:31 UTC, Vince Kraemer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vince Kraemer 2009-03-20 18:27:51 UTC
I get the attached exception in the console window when I attempt to 'expand' a jar which has duplicate entries.

see the attached screen shot for more details.

And the exception doesn't go through the 'usual' mechanisms... (a dialog box with a report button)
Comment 1 Vince Kraemer 2009-03-20 18:29:13 UTC
Created attachment 78543 [details]
the stack trace
Comment 2 Vince Kraemer 2009-03-20 18:31:02 UTC
Created attachment 78544 [details]
a screen shot
Comment 3 Jiri Skrivanek 2009-03-20 18:37:03 UTC
A jar file with duplicate entries is invalid. That's why a dialog box is shown because it is not a NetBeans issue. The
provider of the jar should fix it.


*** This issue has been marked as a duplicate of 144166 ***
Comment 4 Vince Kraemer 2009-03-20 19:53:54 UTC
breaking because you got invalid data from the user is 'the lot in life' of an IDE.

Yes. The provider of the jar should fix it.  Their bug.

The IDE should not have such a serious reaction to it. Totally our bug.

as an aside: You may want to talk to the person that implemented the view that appears when I do 'Open File...' on a jar
that has duplicate entries IN 6.5.  It seems to be 'fine'. The view is broken in 6.7...
Comment 5 Vince Kraemer 2009-03-20 20:04:36 UTC
ok... it does break once you drill down to one of the duplicated files...

it seems like the view in 6.7 is breaking... too early...