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 169336 - [67cat] ClassNotFoundException: org.netbeans.updater.XMLUtil
Summary: [67cat] ClassNotFoundException: org.netbeans.updater.XMLUtil
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Nejedly
URL: http://statistics.netbeans.org/except...
Keywords:
: 176979 176981 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-28 14:17 UTC by vanob
Modified: 2011-01-16 11:40 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 154360


Attachments
stacktrace (2.60 KB, text/plain)
2009-07-28 14:18 UTC, vanob
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vanob 2009-07-28 14:17:57 UTC
Build: NetBeans IDE 6.7 (Build 200906241340)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: SunOS, 5.11, x86

Stacktrace: 
java.lang.ClassNotFoundException: org.netbeans.updater.XMLUtil
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(AccessController.java:0)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
Comment 1 vanob 2009-07-28 14:18:13 UTC
Created attachment 85337 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-08-04 11:14:10 UTC
This issue already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=154360
Comment 3 Exceptions Reporter 2009-09-18 18:15:41 UTC
This issue already has 24 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=154360
Comment 4 dlipin 2009-09-22 09:46:21 UTC
There are 2 kind of exception reported.
One shows that updater.jar is available at the desired location but the class from this jar is not available at runtime.
How that could happen? That is the question for the ProxyClassLoader/Stamps/filesystems owners.

Other shows that updater.jar is deleted (even on Unix), e.g.
http://statistics.netbeans.org/exceptions/messageslog?id=235281
That is the question for Tomas.
Comment 5 t_h 2009-09-23 11:42:22 UTC
I checked several messages.log and it seems that on Win updater.jar is always present. That is probably because new
updater is actually just renamed so it should not happened that both are deleted. I changed shell nbexec to rename new
updater as well and delete it only if move was successful: core-main #12648547ca00
Comment 6 Quality Engineering 2009-09-25 09:12:28 UTC
Integrated into 'main-golden', will be available in build *200909241442* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/12648547ca00
User: Tomas Holy <t_h@netbeans.org>
Log: #169336: move file instead delete&copy
Comment 7 Petr Nejedly 2009-10-14 09:30:02 UTC
Well, this seems to be fixed by t_h.
Comment 8 Jesse Glick 2009-11-17 08:35:10 UTC
*** Bug 176979 has been marked as a duplicate of this bug. ***
Comment 9 Jesse Glick 2009-11-20 10:40:53 UTC
*** Bug 176981 has been marked as a duplicate of this bug. ***
Comment 10 ceritandogan 2011-01-16 11:40:04 UTC
You fix this issue, by using this workaround:
Got installation directory 
<INSTALL_DIR>\platform\modules\ext\
copy all jars (or just updater.jar) paste to the 
<HOME_DIR>\.netbeans\6.x\modules\ext\

and restart IDE.