tutorials.de Buch-Aktion 02/2012
ERLEDIGT
NEIN
ANTWORTEN
0
ZUGRIFFE
452
EMPFEHLEN
  • An Twitter übertragen
  • An Facebook übertragen
AUF DIESES THEMA
ANTWORTEN
  1. #1
    Registriert seit
    Oct 2008
    Beiträge
    6
    Hallo zusammen,

    im Container des WAS 6.1 befindet sich eine Implementierung von JSF 1.1, was lediglich die Verwendung von MyFaces 1.1 zulässt. Ich habe es nun über den Classloader geschafft MyFaces 1.2 zu verwenden. Manche Seiten funktionieren auch, aber an manchen Stellen bekomme ich folgende Exception:
    Code :
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    
    java.lang.NullPointerException: context
        at javax.faces.component.UIComponentBase.getRenderer(UIComponentBase.java:927)
        at javax.faces.component.UIComponentBase.getRendersChildren(UIComponentBase.java:366)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:248)
        at org.apache.myfaces.application.jsp.JspViewHandlerImpl.actuallyRenderView(JspViewHandlerImpl.java:427)
        at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:383)
        at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
        at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:187)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1096)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1037)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
        at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:285)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
        at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:341)
        at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
        at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
        at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:566)
        at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
        at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
        at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
        at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
        at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
        at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
        at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
        at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
        at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
        at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
        at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
        at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)

    Da manche Seiten funktionieren gehe ich an dieser Stelle einfach mal davon aus, dass es sich um Tags innerhalb der nicht funktionierenden Seiten handelt, die dieses Problem auslösen. Hat jmd. noch 'ne andere Idee, kennt dieses Phänomen jmd., bin ich total auf dem Holzweg?

    Vielen Dank für Eure Antworten im Voraus.

    Gruß,
    Manu
    Geändert von ManuelHegemann (02.09.10 um 16:48 Uhr)
     
    Programmers are busy writing the next best idiot proof software. The universe in the meantime is making the next best idiot. The universe is winning...
    - - -
    There are 10 kinds of people. Those who understand binary and those who not.

Ähnliche Themen

  1. Transaktionsmanagment bei Services des Websphere Application Servers
    Von kleene0105 im Forum Enterprise Java (JEE, J2EE, Spring & Co.)
    Antworten: 0
    Letzter Beitrag: 25.08.10, 16:24
  2. StAX und WebSphere-Server 5.1
    Von Atlantis im Forum Java
    Antworten: 2
    Letzter Beitrag: 14.06.08, 15:56
  3. JMX in WebSphere Application Server V6
    Von Sapperlot im Forum Java
    Antworten: 0
    Letzter Beitrag: 30.05.06, 13:39
  4. Netter Artikel zum Thema Spring unter Websphere Application Server
    Von Thomas Darimont im Forum Java Technology News
    Antworten: 0
    Letzter Beitrag: 03.04.06, 10:49
  5. Websphere Application Developer Buch
    Von rosc im Forum Literatur
    Antworten: 0
    Letzter Beitrag: 06.08.04, 11:28