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 241671 - cannot enable php modules due to NoClassDefFoundError: org/netbeans/updater/XMLUtil
Summary: cannot enable php modules due to NoClassDefFoundError: org/netbeans/updater/X...
Status: RESOLVED DUPLICATE of bug 240557
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-11 03:47 UTC by Exceptions Reporter
Modified: 2014-03-28 15:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 207478


Attachments
stacktrace (1.73 KB, text/plain)
2014-02-11 03:47 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-02-11 03:47:15 UTC
This bug was originally marked as duplicate of bug 170209, 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 201401200001)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Mac OS X

User Comments:
GUEST: o




Stacktrace: 
java.lang.NullPointerException: No iterator for MultiFileObject@25feb96c[Templates/Project/PHP/existingPHPProject.php]
   at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.waitForDelegateWizard(DescriptionStep.java:294)
   at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.presentModulesForEnable(DescriptionStep.java:192)
   at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.presentModulesForActivation(DescriptionStep.java:172)
   at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep.access$200(DescriptionStep.java:91)
   at org.netbeans.modules.ide.ergonomics.newproject.DescriptionStep$PresentModules.run(DescriptionStep.java:166)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
Comment 1 Exceptions Reporter 2014-02-11 03:47:17 UTC
Created attachment 145009 [details]
stacktrace
Comment 2 Jaroslav Tulach 2014-02-12 09:23:04 UTC
Something new in PHP I pressume, probably related to bug 241744. If not, send back.
Comment 3 Tomas Mysik 2014-02-12 09:34:26 UTC
There was no change in this area for a very long time so I don't think that this is a PHP issue (I just verified that new PHP project from existing wizard works).

Thanks.
Comment 4 Jaroslav Tulach 2014-03-28 12:19:01 UTC
SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler$4
java.lang.ClassNotFoundException: org.netbeans.updater.XMLUtil
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:222)
Caused: java.lang.ClassNotFoundException: org.netbeans.updater.XMLUtil starting from ModuleCL@6e53c251[org.netbeans.modules.autoupdate.services] with possible defining loaders null and declared parents [org.netbeans.MainImpl$BootClassLoader@1037d830, ModuleCL@688d9b8[org.netbeans.api.progress]]
	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:224)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
Caused: 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)
	at org.netbeans.api.autoupdate.UpdateUnitProvider.getDescription(UpdateUnitProvider.java:107)
	at org.netbeans.modules.autoupdate.ui.actions.ShowNotifications.getMessage(ShowNotifications.java:89)
	at org.netbeans.modules.autoupdate.ui.actions.ShowNotifications.checkNotification(ShowNotifications.java:76)
	at org.netbeans.modules.autoupdate.ui.Utilities.showProviderNotification(Utilities.java:416)
	at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler$4.run(AutoupdateCheckScheduler.java:162)
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
Comment 5 Libor Fischmeistr 2014-03-28 15:15:10 UTC
Looks like the same problem as issue 240557 which is already fixed in 8.0

If the problem is still valid for you in 8.0 please reopen.

Thanks

*** This bug has been marked as a duplicate of bug 240557 ***