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 242020

Summary: NoClassDefFoundError: org/netbeans/updater/XMLUtil
Product: platform Reporter: Exceptions Reporter <exceptions_reporter>
Component: AutoupdateAssignee: Jiri Rechtacek <jrechtacek>
Status: VERIFIED FIXED    
Severity: normal CC: anebuzelsky, jrincon.jre, mmirilovic, musilt2, szmitek
Priority: P1 Keywords: 8.0_HR_FIX
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 171576
Attachments: stacktrace

Description Exceptions Reporter 2014-02-17 16:31:47 UTC
This bug was originally marked as duplicate of bug 220807, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201312220002)
VM: OpenJDK 64-Bit Server VM, 24.45-b08, OpenJDK Runtime Environment, 1.7.0_51-b00
OS: Linux

User Comments:
GUEST: Abrindo o netbeans
opening the netbeans

GUEST: Closing the IDE




Stacktrace: 
java.lang.NoClassDefFoundError: org/netbeans/updater/XMLUtil
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.newEntityResolver(AutoupdateCatalogParser.java:115)
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.<init>(AutoupdateCatalogParser.java:84)
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getUpdateItems(AutoupdateCatalogParser.java:196)
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateItems(AutoupdateCatalogProvider.java:143)
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getDescription(AutoupdateCatalogProvider.java:106)
   at org.netbeans.modules.autoupdate.services.UpdateUnitProviderImpl.getDescription(UpdateUnitProviderImpl.java:113)
Comment 1 Exceptions Reporter 2014-02-17 16:31:49 UTC
Created attachment 145319 [details]
stacktrace
Comment 2 Tomas Danek 2014-02-24 11:03:14 UTC
Making P1 since according to steps in http://statistics.netbeans.org/analytics/exception.do?id=713499 this completely screws up IDE installation.
Comment 3 Libor Fischmeistr 2014-02-26 10:44:27 UTC
*** Bug 242328 has been marked as a duplicate of this bug. ***
Comment 4 Jiri Rechtacek 2014-02-27 15:17:17 UTC
http://hg.netbeans.org/core-main/rev/622f373096d3
Comment 5 Jiri Rechtacek 2014-02-28 10:53:03 UTC
(In reply to Jiri Rechtacek from comment #4)
> http://hg.netbeans.org/core-main/rev/622f373096d3

Backport too http://hg.netbeans.org/core-main/rev/b291699d9dc5
Comment 6 Quality Engineering 2014-03-01 06:14:58 UTC
Integrated into 'main-silver', will be available in build *201403010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/622f373096d3
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #242020 - NoClassDefFoundError: org/netbeans/updater/XMLUtil
Comment 7 Jiri Rechtacek 2014-03-03 16:37:39 UTC
http://hg.netbeans.org/releases/rev/a7946ddcf4b2
Comment 8 Jiri Rechtacek 2014-03-03 16:44:12 UTC
*** Bug 242290 has been marked as a duplicate of this bug. ***
Comment 9 Quality Engineering 2014-03-04 00:56:32 UTC
Integrated into 'releases/release80', will be available in build *201403032200* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/a7946ddcf4b2
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #242020 - NoClassDefFoundError: org/netbeans/updater/XMLUtil
(transplanted from 622f373096d3e3de3756664294e99442b9398617)
Comment 10 Tomas Danek 2014-03-04 11:57:41 UTC
both scenarios of successful and cancelled update seem to work correctly in latest 8.0 build; after cancelled update are downloaded modules properly deleted.

Verified in 

Product Version: NetBeans IDE 8.0 (Build 201403032200)
Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b129
System: Mac OS X version 10.9.2 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/8.0
Cache directory: /Users/tomas/Library/Caches/NetBeans/8.0