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 project's creation I found some warning in message.log: WARNING [org.netbeans.editor.DrawLayerList]: Using deprecated DrawLayer: java-layer z-order: 1010 class: org.netbeans.editor.ext.java.JavaDrawLayerFactory$JavaLayer Layer class org.netbeans.editor.ext.java.JavaDrawLayerFactory$JavaLayer, name='java-layer WARNING [org.netbeans.editor.DrawLayerList]: Using deprecated DrawLayer: jsp-el-layer z-order: 1010 class: org.netbeans.modules.web.core.syntax.deprecated.ELDrawLayerFactory$ELLayer Layer class org.netbeans.modules.web.core.syntax.deprecated.ELDrawLayerFactory$ELLayer, name='jsp-el-layer WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/css/css_master.css WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /dojo.js WARNING [org.netbeans.ProxyClassLoader]: You are trying to access file: dojo.js from the default package. Please see http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#default_package WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /json.js WARNING [org.netbeans.ProxyClassLoader]: You are trying to access file: json.js from the default package. Please see http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#default_package WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /prototype.js WARNING [org.netbeans.ProxyClassLoader]: You are trying to access file: prototype.js from the default package. Please see http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#default_package WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /META-INF/com_sun_faces_ajax.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/formElements.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/widget WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/addremove.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/calendar.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/commonTasksSection.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/editableList.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/fileChooser.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/orderablelist.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/scheduler.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/table.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/tree.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/wizard.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/widget/widget.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/widget/button.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/widget/progressBar.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/widget/table2.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/widget/table2RowGroup.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/widget/jsfx/progressBar.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/javascript/widget/jsfx/table2RowGroup.js WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/templates/button.html WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/templates/progressBar.html WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/images/progressBar/asynch-1F.gif WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/images/progressBar/asynch-1F.gif WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/images/progressBar/asynch-1F.gif WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/images/progressBar/asynch-1F.gif WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/templates/table2.html WARNING [org.netbeans.ProxyClassLoader]: Should not use initial / in calls to ClassLoader.getResource(s): /com/sun/webui/jsf/suntheme/templates/table2RowGroup.html
Most of the warning are coming from /com/sun/webui/jsf/suntheme.
Matt, the fix is to remove the leading / in the properties file
The warning messages about "Should not use initial / in calls to ClassLoader.getResource(s):*" no longer appear in the message log after creating a VW project. I don't see any of those warnings. Marking WORKSFORME.
Yes, those errors are gone but The first error in the log is still there: WARNING [org.netbeans.editor.DrawLayerList]: Using deprecated DrawLayer: highlig ht-layer z-order: 3000 class: org.netbeans.modules.editor.highlights.HighlightLa yer Layer class org.netbeans.modules.editor.highlights.HighlightLayer, name='hig hlight-layer WARNING [org.netbeans.editor.DrawLayerList]: Using deprecated DrawLayer: hyperli nk-layer z-order: 1100 class: org.netbeans.lib.editor.hyperlink.HyperlinkOperati on$HyperlinkLayer Layer class org.netbeans.lib.editor.hyperlink.HyperlinkOperati on$HyperlinkLayer, name='hyperlink-layer Tested using: Product Version: NetBeans 6 IDE Dev (Build 200708200000) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) Glassfish: 58b
That warning belongs to the editor. Reassigning...
Those belong to NB editor
Yes, there are still several old DrawLayers that need rewriting. The warning is harmless, the new highlighting infrastructure is backwards compatible and the old DrawLayers work fine. We would like (time permitting) to rewrite them for nb6. *** This issue has been marked as a duplicate of 97517 ***