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 33519 - AU chokes on update entry missing distribution attr
Summary: AU chokes on update entry missing distribution attr
Status: VERIFIED DUPLICATE of bug 31961
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on: 31961
Blocks:
  Show dependency tree
 
Reported: 2003-05-09 15:22 UTC by Jesse Glick
Modified: 2004-03-18 12:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (544 bytes, text/plain)
2003-05-09 15:25 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2003-05-09 15:22:59 UTC
[dev 030506] The dev alpha AU catalog for today
included this entry:

<module codenamebase="org.netbeans.modules.archiver"
        license="standard-nbm-license.txt"
        downloadsize="15179"
        needsrestart="false"
>
  <manifest .../>
</module>

Note the lack of the 'distribution' attr required
by the DTD (autoupdate-catalog-2_0.dtd).

AU did not handle this gracefully. I got
"Exception in RequestProcessor" (attaching).

In this case it might have detected the bad entry
and skipped over it. Or it might have just turned
on validation in the XML parser, which would have
caught this error. (But see issue #31961 first -
currently the catalog is quite corrupt.) It is not
good to just fail randomly due to corrupt input.
Comment 1 Jesse Glick 2003-05-09 15:25:11 UTC
Created attachment 10261 [details]
Stack trace
Comment 2 Petr Hrebejk 2003-05-13 09:24:56 UTC
x
Comment 3 Marian Mirilovic 2003-12-01 10:50:05 UTC
reassigne to Jirka - new owner of autoupdate
Comment 4 Jiri Rechtacek 2004-02-16 15:29:59 UTC
Its detect has two part:
I. XML validation of generated AU catalogs - issue 31961
II. catch thrown NPE due to incorrect input - duplicate of issue 39201
Phrased from 39301: Fixed, "Downloader catches NPE and notify user".
I think I could close as duplicate of issue 39201.

*** This issue has been marked as a duplicate of 31961 ***
Comment 5 Lukas Hasik 2004-03-18 12:51:29 UTC
x