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 184047 - NoClassDefFoundError: org/netbeans/updater/XMLUtil
Summary: NoClassDefFoundError: org/netbeans/updater/XMLUtil
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 185858 199636 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-13 15:01 UTC by stacyvlasits
Modified: 2012-11-14 13:18 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 166549


Attachments
stacktrace (1.69 KB, text/plain)
2010-04-13 15:01 UTC, stacyvlasits
Details
messages (81.72 KB, application/octet-stream)
2012-11-14 13:17 UTC, smokindoug
Details
update (288.18 KB, application/octet-stream)
2012-11-14 13:18 UTC, smokindoug
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stacyvlasits 2010-04-13 15:01:11 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 6.8 (Build 200912041610)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Windows 7

User Comments:
stacyvlasits: Trying to update the IDE because it would not install Ruby Gems.  I'm guessing the problems are intimately related.




Stacktrace: 
java.lang.NoClassDefFoundError: org/netbeans/updater/XMLUtil
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.newEntityResolver(AutoupdateCatalogParser.java:123)
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.<init>(AutoupdateCatalogParser.java:92)
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getUpdateItems(AutoupdateCatalogParser.java:184)
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateItems(AutoupdateCatalogProvider.java:115)
   at org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getDescription(AutoupdateCatalogProvider.java:94)
   at org.netbeans.modules.autoupdate.services.UpdateUnitProviderImpl.getDescription(UpdateUnitProviderImpl.java:108)
Comment 1 stacyvlasits 2010-04-13 15:01:14 UTC
Created attachment 97220 [details]
stacktrace
Comment 2 dlipin 2010-05-11 06:50:14 UTC
*** Bug 185858 has been marked as a duplicate of this bug. ***
Comment 3 dlipin 2010-05-13 09:53:02 UTC
Probably related - Issue #168330
Comment 4 Jaroslav Tulach 2010-10-29 17:32:02 UTC
Many of the exception reports are from 6.7 and 6.8. There is not much from 6.9, althrough I admit that the 
http://statistics.netbeans.org/exceptions/exception.do?id=415547
one is scary. There is nothing bad in it, files are at correct position, 6.9 shall be able to detect that a file is not opened due to "too many open file descriptors". 

But anyway I don't know what is wrong and I'd like to wait for next report.
Comment 5 dirk_schmitt 2011-06-22 21:43:59 UTC
again in 7.0
Comment 6 Jaroslav Tulach 2011-06-30 06:45:08 UTC
*** Bug 199636 has been marked as a duplicate of this bug. ***
Comment 7 Jaroslav Tulach 2011-08-01 07:46:23 UTC
The last report says ext/updater.jar is missing. Any explanation why? Btw. as part of bug 199475, I've added more logging to automatically dump content of directory, if a JAR cannot be opened. Thus next time we will know for sure, what is missing, but still not why...
Comment 8 smokindoug 2012-11-14 13:16:20 UTC
Auto update today left me with an instance of this CNFE. I will attach my "message" and "update" logs.

I resolved the issue (I think) by adding the updater.jar found under the installation dir (platform/modules/ext) and putting it in my user's dir (modules/ext).
Comment 9 smokindoug 2012-11-14 13:17:43 UTC
Created attachment 127774 [details]
messages

messages file
Comment 10 smokindoug 2012-11-14 13:18:23 UTC
Created attachment 127775 [details]
update