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 220807 - NoClassDefFoundError: updater/XMLUtil updater is in platform cluster, where are
Summary: NoClassDefFoundError: updater/XMLUtil updater is in platform cluster, where a...
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
: 219553 224285 (view as bug list)
Depends on:
Reported: 2012-10-25 06:21 UTC by Exceptions Reporter
Modified: 2013-01-03 14:31 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 156359

stacktrace (6.59 KB, text/plain)
2012-10-25 06:21 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-10-25 06:21:51 UTC
This bug was originally marked as duplicate of bug 169336, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Linux

User Comments:
salamander: Trying to change plugins

GUEST: while invoking plugin module

GUEST: clicked on Tools->Plugins and that's it.

java.lang.NoClassDefFoundError: org/netbeans/updater/XMLUtil
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.newEntityResolver(
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.<init>(
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getUpdateItems(
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateItems(
Comment 1 Exceptions Reporter 2012-10-25 06:21:53 UTC
Created attachment 126521 [details]
Comment 2 Jaroslav Tulach 2012-10-29 10:15:47 UTC
The first message in the log says:

Cannot open /home/wh/.netbeans/dev/modules/ext/updater.jar error in opening zip file
	at Method)
	at java.util.jar.JarFile.<init>(
	at java.util.jar.JarFile.<init>(
	at org.netbeans.JarClassLoader$JarSource$

and then there is additional logging:

   org.netbeans.updater.XMLUtil is not accessible
    platform dir = /home/wh/program-files/netbeans-dev-201204190400/platform
    userdir  dir = /home/wh/.netbeans/dev
    updater in platform exist = true, length = 240014 bytes
    updater in userdir  exist = false
    new updater in platform exist = false
    new updater in userdir  exist = false
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler$4
java.lang.ClassNotFoundException: org.netbeans.updater.XMLUtil

It seems that module was updated [1.35 nbms-and-javadoc-9402-on-20120907]

Reporter, where is the org-netbeans-modules-autoupdate-services.jar located?

Jirko, is it possible that the JAR is in user directory and the updater.jar remains in platform only?

Anyway this does not look like module system issue, rather autoupdate related one (both from end user and infrastructure perspective).
Comment 3 Jiri Rechtacek 2012-10-29 13:58:54 UTC
Could someone who facing the problem with missing XMLUtil class (java.lang.NoClassDefFoundError: org/netbeans/updater/XMLUtil) attach your updater.log.* which you can find in <userdir>/var/log [*]?
Thanks in advance

Comment 4 Jaroslav Tulach 2012-10-31 13:12:52 UTC
*** Bug 219553 has been marked as a duplicate of this bug. ***
Comment 5 Jiri Rechtacek 2012-11-22 12:14:46 UTC
I found a reproducible case.
Comment 6 Jiri Rechtacek 2012-11-22 12:47:26 UTC
Comment 7 Quality Engineering 2012-11-24 13:05:48 UTC
Integrated into 'main-golden', will be available in build *201211240959* on (upload may still be in progress)
User: Jiri Rechtacek <>
Log: #220807 - NoClassDefFoundError: updater/XMLUtil
Comment 8 Jiri Rechtacek 2013-01-03 14:31:57 UTC
*** Bug 224285 has been marked as a duplicate of this bug. ***