incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeanne Waldman <jeanne.wald...@oracle.com>
Subject Re: java.lang.IllegalArgumentException: No Skin specified.
Date Wed, 18 Oct 2006 01:43:25 GMT
This error will occur if the TrinidadFilter is not running. This is 
where the SkinFactory gets initialized.

Mark Robinson wrote:

> Hi,
>
> I'm getting a weird error that says I haven't specified a skin.  I 
> think it might be a configuration issue since I'm using the same 
> configurations files in both NetBeans(where my application works) and 
> JDeveloper(where it crashes).  Has anyone seen something like this 
> before?  I've attached the output, the web page and the config files.
>
> Mark
>
>
> Stack Trace:
>
> 16-Oct-2006 10:18:43 AM 
> org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderingContext 
> _initializeSkin
> WARNING: There is no SkinFactory
> 16-Oct-2006 10:18:44 AM 
> org.apache.myfaces.trinidadinternal.renderkit.core.StyleContextImpl 
> _getDefaultStyleProvider
> SEVERE: Could not get stylesheet cache
> java.lang.IllegalArgumentException: No Skin specified.
>    at 
> org.apache.myfaces.trinidadinternal.skin.SkinStyleProvider.getSkinStyleProvider(SkinStyleProvider.java:67)

>
>    at 
> org.apache.myfaces.trinidadinternal.renderkit.core.StyleContextImpl._getDefaultStyleProvider(StyleContextImpl.java:98)

>
>    at 
> org.apache.myfaces.trinidadinternal.renderkit.core.StyleContextImpl.<init>(StyleContextImpl.java:40)

>
>    at 
> org.apache.myfaces.trinidadinternal.renderkit.core.CoreRenderingContext.getStyleContext(CoreRenderingContext.java:207)

>
>    at 
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.StyleSheetRenderer.encodeAll(StyleSheetRenderer.java:84)

>
>    at 
> org.apache.myfaces.trinidad.render.CoreRenderer.delegateRenderer(CoreRenderer.java:294)

>
>    at 
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.HeadRenderer.encodeBegin(HeadRenderer.java:87)

>
>    at 
> org.apache.myfaces.trinidad.render.CoreRenderer.delegateRendererBegin(CoreRenderer.java:318)

>
>    at 
> org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.DocumentRenderer.encodeAll(DocumentRenderer.java:72)

>
>    at 
> org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:181) 
>
>    at 
> org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:673)

>
>    at 
> javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:623)
>    at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
>    at 
> org.apache.myfaces.trinidad.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:114)

>
>    at _untitled1_jspx._jspService(_untitled1_jspx.java:254)
>    at 
> com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
>    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)
>    at 
> oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
>    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>    at 
> com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)

>
>    at 
> com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)

>
>    at 
> com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)

>
>    at 
> com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)

>
>    at 
> com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)

>
>    at 
> oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
>    at 
> com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)

>
>    at 
> com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322) 
>
>    at 
> org.apache.myfaces.trinidadinternal.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:41)

>
>    at 
> org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:235)

>
>    at 
> com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130) 
>
>    at 
> org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:178)

>
>    at 
> com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) 
>
>    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
>    at 
> com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
>    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
>    at 
> com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)

>
>    at 
> com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)

>
>    at 
> com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)

>
>    at 
> com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)

>
>    at 
> com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)

>
>    at 
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119) 
>
>    at 
> com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) 
>
>    at 
> oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)

>
>    at 
> oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)

>
>    at 
> oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)

>
>    at 
> oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)

>
>    at 
> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)

>
>    at java.lang.Thread.run(Thread.java:595)
>
>------------------------------------------------------------------------
>
><jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
>          xmlns:f="http://java.sun.com/jsf/core"
>          xmlns:tr="http://myfaces.apache.org/trinidad" >
>  <jsp:directive.page contentType="text/html;charset=utf-8"/>
>  <f:view>
>    <tr:document title="Apache Trinidad Demo Index">
>       <tr:form>
>       
>        <tr:panelPage>
>         <tr:messages/>
>         <tr:panelHeader text="Welcome to the Apache Trinidad Demos">  
>          <tr:panelHeader text="Basics">    
>            <tr:panelGroupLayout layout="vertical">
>              <tr:commandLink text="Component Guide" action="guide" />
>            </tr:panelGroupLayout>
>          </tr:panelHeader>
>          
>          <tr:panelHeader text="Simple Demos">     
>            <tr:panelGroupLayout layout="vertical">
>              <tr:commandLink text="Feature Demos"
>                       action="demos" />
>            </tr:panelGroupLayout>
>          </tr:panelHeader>
>
>          <tr:panelHeader text="Sample Applications">     
>            <tr:panelGroupLayout layout="vertical">
>              <tr:panelGroupLayout>
>                <tr:commandLink text="Email" action="emaildemo" />
>                <tr:outputText styleClass="AFInstructionText" value=" - Trinidad Email
Demo"/>
>              </tr:panelGroupLayout>
>              <tr:panelGroupLayout>
>                <tr:commandLink text="Survey" action="survey" />               

>                <tr:outputText styleClass="AFInstructionText" value=" - simple application"/>
>              </tr:panelGroupLayout>
>
>            </tr:panelGroupLayout>
>          </tr:panelHeader>
>         </tr:panelHeader>
>        </tr:panelPage>
>       
>       </tr:form>
>    </tr:document>
>  </f:view>
></jsp:root>
>
>------------------------------------------------------------------------
>
><?xml version="1.0" encoding="UTF-8"?>
><web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
>         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
>    <context-param>
>        <param-name>javax.faces.CONFIG_FILES</param-name>
>        <param-value>/WEB-INF/faces-config.xml</param-value>
>    </context-param>
>    <context-param>
>        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
>        <param-value>client</param-value>
>    </context-param>
>    <servlet>
>        <servlet-name>Faces Servlet</servlet-name>
>        <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
>        <load-on-startup>1</load-on-startup>
>    </servlet>
>    <filter>
>        <filter-name>trinidad</filter-name>
>        <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
>    </filter>
>    <filter-mapping>
>        <filter-name>trinidad</filter-name>
>        <servlet-name>faces</servlet-name>
>    </filter-mapping>
>    <servlet-mapping>
>        <servlet-name>Faces Servlet</servlet-name>
>        <url-pattern>/faces/*</url-pattern>
>    </servlet-mapping>
>    <session-config>
>        <session-timeout>30</session-timeout>
>    </session-config>
>    <welcome-file-list>
>        <welcome-file>
>            index.jspx
>        </welcome-file>
>    </welcome-file-list>
></web-app>
>  
>
>------------------------------------------------------------------------
>
><?xml version='1.0' encoding='UTF-8'?>
>
>
><!DOCTYPE faces-config PUBLIC
>  "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
>  "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
>
><!-- =========== FULL CONFIGURATION FILE ================================== -->
>
><faces-config>
>    <application>
>        <default-render-kit-id>
>            org.apache.myfaces.trinidad.core
>        </default-render-kit-id>
>    </application>
>  
></faces-config>
>  
>


Mime
View raw message