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.
After disabling a module (see issue 90719) at startup after installation I see the following java error: java.lang.NoSuchMethodError: com.sun.rave.project.jsf.api.JsfProjectUtils.isJsfProjectFile(Lorg/openide/filesystems/FileObject;)Z at com.sun.rave.project.jsfloader.JsfJavaDataLoader.findPrimaryFile(JsfJavaDataLoader.java:95) at org.openide.loaders.MultiFileLoader.findPrimaryFileImpl(MultiFileLoader.java:268) at org.openide.loaders.MultiFileLoader.handleFindDataObject(MultiFileLoader.java:71) at org.openide.loaders.DataObjectPool.handleFindDataObject(DataObjectPool.java:129) at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:364) at org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:408) at org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:368) at org.openide.loaders.DataObject.find(DataObject.java:465) at org.openide.loaders.DataObject$Replace.readObject(DataObject.java:949) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908) at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:479) at org.openide.loaders.OpenSupport$Env.readObject(OpenSupport.java:135) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at org.openide.windows.CloneableTopComponent.readExternal(CloneableTopComponent.java:207) at org.openide.text.CloneableEditor.readExternal(CloneableEditor.java:546) at org.netbeans.modules.java.JavaEditor$JavaEditorComponent.readExternal(JavaEditor.java:1531) at org.openide.windows.TopComponent$Replacer.readObject(TopComponent.java:1328) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1809) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at org.netbeans.modules.settings.convertors.XMLSettingsSupport$SettingsRecognizer.readSerial(XMLSettingsSupport.java:520) at org.netbeans.modules.settings.convertors.XMLSettingsSupport$SettingsRecognizer.instanceCreate(XMLSettingsSupport.java:548) at org.netbeans.modules.settings.convertors.SerialDataConvertor$SettingsInstance.instanceCreate(SerialDataConvertor.java:371) at org.netbeans.core.windows.persistence.PersistenceManager.getTopComponentPersistentForID(PersistenceManager.java:445) at org.netbeans.core.windows.persistence.PersistenceManager.getTopComponentForID(PersistenceManager.java:552) at org.netbeans.core.windows.PersistenceHandler.getTopComponentForID(PersistenceHandler.java:354) at org.netbeans.core.windows.PersistenceHandler.load(PersistenceHandler.java:99) at org.netbeans.core.windows.WindowSystemImpl.load(WindowSystemImpl.java:45) [catch] at org.netbeans.core.NonGui$3.run(NonGui.java:224) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Netbeans processes remain running in the background but no IDE appears. Deleting the rave2.0 folder, killing the processes and restarting netbeans gives the following warning: Warning - could not install some modules: Complib - The module named com.sun.rave.api.designer/1 was needed and not found. Complib - The module named com.sun.rave.classloaderprovider was needed and not found. Complib - The module named com.sun.rave.dataprovider/1 was needed and not found. Complib - The module named com.sun.rave.dataprovider.designtime/1 was needed and not found. Complib - The module named com.sun.rave.designtime/1 was needed and not found. Complib - The module named com.sun.rave.designtime.base was needed and not found. Complib - The module named com.sun.rave.extension.openide/1 was needed and not found. Complib - The module named com.sun.rave.jsfsupport.components was needed and not found. Complib - The module named com.sun.rave.jsfsupport.designtime was needed and not found. Complib - The module named com.sun.rave.libs.javaee5 was needed and not found. Complib - The module named com.sun.rave.palette was needed and not found. Complib - The module named com.sun.rave.propertyeditors/1 was needed and not found. Complib - The module named com.sun.rave.webui/1 was needed and not found. Complib - The module named com.sun.rave.webui.designtime/1 was needed and not found. Complib - The module named com.sun.rave.xhtml was needed and not found. JSF Project Core - The module named com.sun.rave.api.j2ee/1 was needed and not found. JSF Project Core - The module named com.sun.rave.api.portlet.dd/1 was needed and not found. Another module could not be installed due to the above problems. Selecting "Disable and Continue" allows the IDE to be displayed again.
Reinstalled older version (netbeans-visualweb-5_5-tp-linux.bin) and IDE startup is fine - so just this release version giving problems.
Please use the final release of VWP released yesterday, 12/06/2006. You can't just disable some module to make it work, that may be the cause of this java.lang.NoSuchMethodError. As I known, issue 90719 has been fixed in the final release. I.e., you don't need to disable any module now. Just uninstall your TP bit and reinstall the final.
It is fixed in the final release.
This is the final release i was using. I even redownloaded it this morning to double check and the same errors occur. If I choose not to disable the module then the IDE just exits so I have no choice other than to disable it. The errors happen in exactly the same way as described (issue 90719 followed by this exception). Uninstalling the latest release and going back to the TP release gives me no problems. Are you sure it is the latest release that is available for download if you think these issues have been fixed? Could it even be possible that you have the module JSF Project Core (version >= 2.0) that Netbeans can see - whereas I obviously do not? I cannot see this in the update center so assumed it was part of the visual web package.
This is a side effect of issue 90719. Disabling single module inside a 'pack' and causing 'NoSuchMethodError' is expected.
I deleted the rave2.0 directory before installing and still got this error. I then tried deleting it and removing all visual web stuff from the module manager. It now works. I guess this version does not do a proper uninstall of the TP version (the version i was using prior to this) during the install process.