This exception is filling up Netbeans IDE log. Thrown every time the
component renderer
is called. After JDK 1.4, the JLS guideline is not to access resources
or classes from
default package. Netbeans enforces it by throwing an exception. Since
this part of the
code in JSFThemeContext viloates seems to violate this principle, NB
keeps throwing
the informational exception
java.lang.IllegalStateException: You are trying to access file: 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
at
org.netbeans.ProxyClassLoader.printDefaultPackageWarning(ProxyClassLoader.java:478)
at
org.netbeans.ProxyClassLoader.getResource(ProxyClassLoader.java:258)
at java.lang.ClassLoader.getResource(ClassLoader.java:972)
at java.lang.ClassLoader.getResource(ClassLoader.java:972)
at
com.sun.webui.jsf.theme.JSFThemeContext.getResourcePath(JSFThemeContext.java:148)
at
com.sun.webui.jsf.util.JavaScriptUtilities.getThemeJavaScript(JavaScriptUtilities.java:509)
at
com.sun.webui.jsf.util.JavaScriptUtilities.getDojoConfig(JavaScriptUtilities.java:131)
at
com.sun.webui.jsf.renderkit.html.HeadRenderer.renderAttributes(HeadRenderer.java:134)
at
com.sun.webui.jsf.renderkit.html.AbstractRenderer.encodeBegin(AbstractRenderer.java:156)
at
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:785)
at
org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1276)
at
org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1532)
at
org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1324)
- Winston