Hi Christian,

You say:

* PhaseListener implementation that acts after RESTORE_VIEW that
    catches the dynamic content request and streams back the content
    just like the resource handler of primefaces does

This was the solution for Primefaces 2.++ where I simply implemented my own
DynamicContentStreamer just moving all code from beforePhase() to
afterPhase(). This was the only change needed to make ViewAccessScope work.
Unfortunately the DynamicContentStreamer isn't used anymore in version 3.+
:-(

I really would appreciate if you could post your solution for that problem
(and I guess not only me but a couple of other people :-))

best regards
Thomas

-----Ursprüngliche Nachricht-----
Von: Christian Beikov [mailto:c.bei...@curecomp.com] 
Gesendet: Freitag, 17. Februar 2012 09:31
An: MyFaces Discussion
Betreff: Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating
ValueExpression

Hi Thomas!

This is probably already out of topic, but the main reason for the problem
is, that the scope is just not available if the view restore phase is not
completed.
My current solution is:

  * Own GraphicImageRenderer implementation that uses
    ViewHandler.getActionURL(resourcePath) to add the viewId to the
    image URL, then add the rest of the parameters needed for dynamic
    content
  * Own ResourceHandler implementation that overrides
    isResourceRequest() and returns false if the resource request is a
    request for the dynamic content
  * PhaseListener implementation that acts after RESTORE_VIEW that
    catches the dynamic content request and streams back the content
    just like the resource handler of primefaces does

It's not fully tested yet, but as soon as I have something to show I will
let you know and also post my solution for discussion on the forum and the
issue tracker.

regards,

Christian

Am 17.02.2012 09:21, schrieb Thomas Kernstock:
> Hi Christian,
>
> I have the same problem using Primefaces. Since updating to Primefaces 
> 3.++ the @ViewAccessScope isn't working anymore. Dynamic Image 
> unfortunately works only with SessionScope.
> Here is the forum thread ->
> http://forum.primefaces.org/viewtopic.php?f=3&t=17609&p=54313#p54313
>
> Cagatay knows that problem but it seems it can't be fixed ->  check 
> out these
> issues:
>
> http://code.google.com/p/primefaces/issues/detail?id=1877&can=1&q=dyna
> mic%20 
> image&colspec=ID%20Stars%20Type%20Status%20Priority%20TargetVersion%20
> Report
> er%20Owner%20Summary
> http://code.google.com/p/primefaces/issues/detail?id=2768&can=1&q=dyna
> mic%20 
> image&colspec=ID%20Stars%20Type%20Status%20Priority%20TargetVersion%20
> Report
> er%20Owner%20Summary
>
> It's even written in the Primefaces manual on page 197. Quote:
>
> "As a result there will be 2 requests to display an image, first 
> browser will make a request to load the page and then another one to 
> the dynamic image url that points to JSF resource handler. Please note 
> that you cannot use viewscope beans as viewscoped bean is not 
> available in resource loading request."
>
> best regards
>
> Thomas
>
>
> -----Ursprüngliche Nachricht-----
> Von: Christian Beikov [mailto:c.bei...@curecomp.com]
> Gesendet: Donnerstag, 16. Februar 2012 17:09
> An: MyFaces Discussion
> Betreff: Re: CODI 1.0.1 NPE in JSF ResourceHandler when evaluating 
> ValueExpression
>
> Thank you very much gerhard!
>
> I just implemented a test for the problem I face and in fact, 
> primefaces did something very wrong. Even the standard ViewScope is, 
> as expected, not supported.
>
> I appreciate your fast response time, CODI FTW! ;)
>
> Am 16.02.2012 17:05, schrieb Gerhard Petracek:
>> hi christian,
>>
>> the short answer is: no - it was never intended to support it.
>> however, if you provide an use-case which isn't supported, we will 
>> discuss it.
>>
>> regards,
>> gerhard
>>
>> http://www.irian.at
>>
>> Your JSF/JavaEE powerhouse -
>> JavaEE Consulting, Development and
>> Courses in English and German
>>
>> Professional Support for Apache MyFaces
>>
>>
>>
>> 2012/2/16 Christian Beikov<c.bei...@curecomp.com>
>>
>>> The more concrete question on the problem i face would probably be:
>>>
>>> Is the ViewAccessScope designed to work for a JSF ResourceHandler 
>>> which is called instead of the normal JSF Lifecycle? None of the JSF 
>>> Phases is executed when a ResourceHandler is invoked, so would it 
>>> actually be possible that the VIewAccessScope could work?
>>>
>>> Resolving a bean within a ResourceHandler is probably not a big 
>>> thing and should not cause problems. Maybe the primefaces 
>>> implementation is just wrong to put the evaluation out of the JSF 
>>> Phases and should use a PhaseListener instead? I am pretty sure that 
>>> the evaluation would work when it was done within a PhaseListener,
correct me if I am wrong.
>>>
>>> Am 16.02.2012 16:47, schrieb Gerhard Petracek:
>>>
>>>> hi christian,
>>>>
>>>> a workaround would be an own ConversationFactory - but that means a 
>>>> lot of work.
>>>> since the myfaces codi conversation scopes (the view-access scope 
>>>> is just a special conversation type) are bound to jsf by default, 
>>>> it wasn't intended to support access outside of the jsf 
>>>> request-lifecycle.
>>>> however, you can checkout the source-code [1], fix it and check if 
>>>> the rest would work as needed for your use-case (and provide the 
>>>> patch afterwards).
>>>> or you provide a simple demo which shows the issue and we will do 
>>>> the rest.
>>>>
>>>> regards,
>>>> gerhard
>>>>
>>>> [1]
>>>> https://svn.apache.org/repos/**asf/myfaces/extensions/cdi/**trunk/<
>>>> h ttps://svn.apache.org/repos/asf/myfaces/extensions/cdi/trunk/>
>>>>
>>>> http://www.irian.at
>>>>
>>>> Your JSF/JavaEE powerhouse -
>>>> JavaEE Consulting, Development and
>>>> Courses in English and German
>>>>
>>>> Professional Support for Apache MyFaces
>>>>
>>>>
>>>>
>>>> 2012/2/16 Christian Beikov<c.bei...@curecomp.com>
>>>>
>>>>    Hello there!
>>>>> I have a problem with the CODI JSF Scope ViewAccessScope and the 
>>>>> PrimeFaces ResourceHandler.
>>>>>
>>>>> Primefaces evaluates a value expression within the resource 
>>>>> handler to retrieve dynamic content, why and how is not important. 
>>>>> The fact is, that the ResourceHandler is called before everything 
>>>>> else within the JSF Lifecycle.
>>>>>
>>>>> I am using the ViewAccessScope for the bean which should be 
>>>>> evaluated with the value expression within the ResourceHandler. I 
>>>>> debugged into it and found out that
>>>>> org.apache.myfaces.extensions.****cdi.jsf.impl.scope.**
>>>>> conversation.****ViewAccessConversationExpirati****onEvaluator
>>>>> tries to
>>>>>
>>>>> retrieve the view root of the FacesContext or more exactly the 
>>>>> view id of it. The problem is, that the view root is null at that 
>>>>> time, so the evaluation ends with a NullPointerException in a CODI
class.
>>>>>
>>>>> Who is responsible for this issue? Can anyone suggest me a workaround?
>>>>>
>>>>> I am using:
>>>>>
>>>>>    * Websphere 8.0.0.2
>>>>>    * MyFaces, the version shipped with Websphere
>>>>>    * CODI 1.0.1
>>>>>    * Primefaces 3.1.1
>>>>>
>>>>> Here is the full stacktrace:
>>>>>
>>>>> [16.02.12 16:15:51:496 CET] 0000002a SystemErr     R
>>>>> javax.el.ELException:
>>>>> Error reading 'companyLogo' on type com.clevercure.web.sob.bean.**
>>>>> SobSupplierRegistrationBean_$$****_javassist_920
>>>>>
>>>>> [16.02.12 16:15:51:496 CET] 0000002a SystemErr     R     at
>>>>> javax.el.BeanELResolver.****getValue(BeanELResolver.java:****93)
>>>>>
>>>>> [16.02.12 16:15:51:496 CET] 0000002a SystemErr     R     at
>>>>> javax.el.CompositeELResolver.****getValue(CompositeELResolver.**
>>>>> **java:55)
>>>>>
>>>>> [16.02.12 16:15:51:496 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.el.unified.****resolver.****
>>>>> FacesCompositeELResolver.**
>>>>> getValue(****FacesCompositeELResolver.java:****142)
>>>>>
>>>>> [16.02.12 16:15:51:496 CET] 0000002a SystemErr     R     at
>>>>> org.apache.el.parser.AstValue.****getValue(AstValue.java:169)
>>>>>
>>>>> [16.02.12 16:15:51:496 CET] 0000002a SystemErr     R     at
>>>>> org.apache.el.
>>>>> **ValueExpressionImpl.**getValue(****ValueExpressionImpl.java:283)
>>>>>
>>>>> [16.02.12 16:15:51:496 CET] 0000002a SystemErr     R     at
>>>>> org.apache.webbeans.el.****WrappedValueExpression.****getValue(**
>>>>> WrappedValueExpression.java:****68)
>>>>>
>>>>> [16.02.12 16:15:51:497 CET] 0000002a SystemErr     R     at
>>>>> org.primefaces.application.****PrimeResourceHandler.****
>>>>> handleResourceRequest(
>>>>> **PrimeResourceHandler.java:**75)
>>>>>
>>>>> [16.02.12 16:15:51:497 CET] 0000002a SystemErr     R     at
>>>>> javax.faces.application.****ResourceHandlerWrapper.****
>>>>> handleResourceRequest(*
>>>>> *ResourceHandlerWrapper.java:****62)
>>>>>
>>>>> [16.02.12 16:15:51:497 CET] 0000002a SystemErr     R     at
>>>>> javax.faces.webapp.****FacesServlet.service(****FacesServlet.java:
>>>>> 1
>>>>> 83)
>>>>>
>>>>> [16.02.12 16:15:51:497 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****servlet.ServletWrapper.**
>>>>> service(ServletWrapper.java:****1188)
>>>>>
>>>>> [16.02.12 16:15:51:497 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****servlet.ServletWrapper.**
>>>>> handleRequest(ServletWrapper.****java:763)
>>>>>
>>>>> [16.02.12 16:15:51:497 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****servlet.ServletWrapper.**
>>>>> handleRequest(ServletWrapper.****java:454)
>>>>>
>>>>> [16.02.12 16:15:51:497 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****servlet.ServletWrapperImpl.****
>>>>> handleRequest(**
>>>>>
>>>>> ServletWrapperImpl.java:178)
>>>>> [16.02.12 16:15:51:497 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterChain.****invokeTar
>>>>> g
>>>>> et(**
>>>>>
>>>>> WebAppFilterChain.java:125)
>>>>> [16.02.12 16:15:51:497 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterChain.**
>>>>> doFilter(WebAppFilterChain.****java:92)
>>>>>
>>>>> [16.02.12 16:15:51:497 CET] 0000002a SystemErr     R     at
>>>>> com.clevercure.web.core.****filter.FileUploadFilter.**
>>>>> doFilter(FileUploadFilter.****java:78)
>>>>>
>>>>> [16.02.12 16:15:51:497 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.FilterInstanceWrapper.****doFil
>>>>> t
>>>>> er(**
>>>>> FilterInstanceWrapper.java:****192)
>>>>>
>>>>> [16.02.12 16:15:51:498 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterChain.**
>>>>> doFilter(WebAppFilterChain.****java:89)
>>>>>
>>>>> [16.02.12 16:15:51:498 CET] 0000002a SystemErr     R     at
>>>>> com.clevercure.web.core.****filter.CharsetEncodingFilter.****doFil
>>>>> t
>>>>> er(**
>>>>>
>>>>> CharsetEncodingFilter.java:30)
>>>>> [16.02.12 16:15:51:498 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.FilterInstanceWrapper.****doFil
>>>>> t
>>>>> er(**
>>>>> FilterInstanceWrapper.java:****192)
>>>>>
>>>>> [16.02.12 16:15:51:498 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterChain.**
>>>>> doFilter(WebAppFilterChain.****java:89)
>>>>>
>>>>> [16.02.12 16:15:51:498 CET] 0000002a SystemErr     R     at
>>>>> com.ocpsoft.pretty.****PrettyFilter.doFilter(****PrettyFilter.java:
>>>>> 115)
>>>>>
>>>>> [16.02.12 16:15:51:498 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.FilterInstanceWrapper.****doFil
>>>>> t
>>>>> er(**
>>>>> FilterInstanceWrapper.java:****192)
>>>>>
>>>>> [16.02.12 16:15:51:498 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterChain.**
>>>>> doFilter(WebAppFilterChain.****java:89)
>>>>>
>>>>> [16.02.12 16:15:51:498 CET] 0000002a SystemErr     R     at
>>>>> com.clevercure.web.core.****filter.UserFilter.doFilter(****
>>>>> UserFilter.java:42)
>>>>>
>>>>> [16.02.12 16:15:51:498 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.FilterInstanceWrapper.****doFil
>>>>> t
>>>>> er(**
>>>>> FilterInstanceWrapper.java:****192)
>>>>>
>>>>> [16.02.12 16:15:51:498 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterChain.**
>>>>> doFilter(WebAppFilterChain.****java:89)
>>>>>
>>>>> [16.02.12 16:15:51:498 CET] 0000002a SystemErr     R     at
>>>>> com.clevercure.web.core.****filter.****IbmApplicationSessionFilter.
>>>>> ****
>>>>> doFilter(
>>>>> **IbmApplicationSessionFilter.****java:25)
>>>>>
>>>>> [16.02.12 16:15:51:499 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.FilterInstanceWrapper.****doFil
>>>>> t
>>>>> er(**
>>>>> FilterInstanceWrapper.java:****192)
>>>>>
>>>>> [16.02.12 16:15:51:499 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterChain.**
>>>>> doFilter(WebAppFilterChain.****java:89)
>>>>>
>>>>> [16.02.12 16:15:51:499 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterManager.**
>>>>> doFilter(WebAppFilterManager.****java:919)
>>>>>
>>>>> [16.02.12 16:15:51:499 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterManager.****
>>>>> invokeFilters(**
>>>>>
>>>>> WebAppFilterManager.java:1016)
>>>>> [16.02.12 16:15:51:499 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****servlet.CacheServletWrapper.****
>>>>> handleRequest(**
>>>>>
>>>>> CacheServletWrapper.java:87)
>>>>> [16.02.12 16:15:51:499 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****WebContainer.handleRequest(**
>>>>>
>>>>> WebContainer.java:895)
>>>>> [16.02.12 16:15:51:499 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****WSWebContainer.handleRequest(****
>>>>>
>>>>> WSWebContainer.java:1662)
>>>>> [16.02.12 16:15:51:499 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****channel.WCChannelLink.ready(**
>>>>>
>>>>> WCChannelLink.java:195)
>>>>> [16.02.12 16:15:51:499 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.http.channel.****inbound.impl.HttpInboundLink.****
>>>>> handleDiscrimination(****HttpInboundLink.java:452)
>>>>>
>>>>> [16.02.12 16:15:51:499 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.http.channel.****inbound.impl.HttpInboundLink.***
>>>>> *handleNewRequest(
>>>>> **HttpInboundLink.java:511)
>>>>>
>>>>> [16.02.12 16:15:51:500 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.http.channel.****inbound.impl.HttpInboundLink.***
>>>>> *processRequest(**
>>>>>
>>>>> HttpInboundLink.java:305)
>>>>> [16.02.12 16:15:51:500 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.http.channel.****inbound.impl.****
>>>>> HttpICLReadCallback.complete(****
>>>>>
>>>>> HttpICLReadCallback.java:83)
>>>>> [16.02.12 16:15:51:500 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.tcp.channel.impl.****AioReadCompletionListener.****
>>>>> futureCompleted(
>>>>> **AioReadCompletionListener.****java:165)
>>>>>
>>>>> [16.02.12 16:15:51:500 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.io.async.****AbstractAsyncFuture.****invokeCallback(**
>>>>>
>>>>> AbstractAsyncFuture.java:217)
>>>>> [16.02.12 16:15:51:500 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.io.async.****AsyncChannelFuture.****fireCompletionActions(
>>>>> *
>>>>> *
>>>>>
>>>>> AsyncChannelFuture.java:161)
>>>>> [16.02.12 16:15:51:500 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.io.async.AsyncFuture.****completed(AsyncFuture.java:****13
>>>>> 8
>>>>> )
>>>>>
>>>>> [16.02.12 16:15:51:500 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.io.async.****ResultHandler.complete(****ResultHandler.java:
>>>>> 204)
>>>>>
>>>>> [16.02.12 16:15:51:500 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.io.async.****ResultHandler.****runEventProcessingLoop(**
>>>>>
>>>>> ResultHandler.java:775)
>>>>> [16.02.12 16:15:51:500 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.io.async.****ResultHandler$2.run(****ResultHandler.java:90
>>>>> 5
>>>>> )
>>>>>
>>>>> [16.02.12 16:15:51:500 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.util.ThreadPool$****Worker.run(ThreadPool.java:****1659
>>>>> )
>>>>>
>>>>> [16.02.12 16:15:51:500 CET] 0000002a SystemErr     R Caused by:
>>>>> java.lang.NullPointerException
>>>>> [16.02.12 16:15:51:501 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.extensions.****cdi.jsf.impl.scope.****conversat
>>>>> i
>>>>> on.**
>>>>> ViewAccessConversationExpirati****onEvaluator.**getCurrentViewId(*
>>>>> *
>>>>> ViewAccessConversationExpirati****onEvaluator.java:114)
>>>>>
>>>>> [16.02.12 16:15:51:501 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.extensions.****cdi.jsf.impl.scope.****conversat
>>>>> i
>>>>> on.**
>>>>> ViewAccessConversationExpirati****onEvaluator.touch(**
>>>>> ViewAccessConversationExpirati****onEvaluator.java:100)
>>>>>
>>>>> [16.02.12 16:15:51:501 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.extensions.****cdi.jsf.impl.scope.****conversat
>>>>> i
>>>>> on.**
>>>>> DefaultConversation.****touchConversation(****
>>>>> DefaultConversation.java:201)
>>>>>
>>>>> [16.02.12 16:15:51:501 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.extensions.****cdi.jsf.impl.scope.****conversat
>>>>> i
>>>>> on.**
>>>>> DefaultConversation.addBean(****DefaultConversation.java:177)
>>>>>
>>>>> [16.02.12 16:15:51:501 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.extensions.****cdi.jsf.impl.scope.****conversat
>>>>> i
>>>>> on.**
>>>>> GroupedConversationContext.****scopeBeanEntry(****
>>>>> GroupedConversationContext.*
>>>>>
>>>>> *java:204)
>>>>> [16.02.12 16:15:51:501 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.extensions.****cdi.core.impl.scope.****
>>>>> conversation.**
>>>>> AbstractGroupedConversationCon****text.create(**
>>>>> AbstractGroupedConversationCon****text.java:98)
>>>>>
>>>>> [16.02.12 16:15:51:501 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.extensions.****cdi.core.impl.scope.****
>>>>> conversation.**
>>>>> ConversationContextAdapter.****get(****ConversationContextAdapter.
>>>>> *
>>>>> ***
>>>>> java:81)
>>>>>
>>>>> [16.02.12 16:15:51:501 CET] 0000002a SystemErr     R     at
>>>>> org.apache.webbeans.context.****CustomContextImpl.get(**
>>>>>
>>>>> CustomContextImpl.java:43)
>>>>> [16.02.12 16:15:51:501 CET] 0000002a SystemErr     R     at
>>>>> org.apache.webbeans.context.****CustomPassivatingContextImpl.****g
>>>>> e
>>>>> t(**
>>>>> CustomPassivatingContextImpl.****java:41)
>>>>>
>>>>> [16.02.12 16:15:51:502 CET] 0000002a SystemErr     R     at
>>>>> org.apache.webbeans.intercept.******NormalScopedBeanInterceptorHan
>>>>> *
>>>>> ***
>>>>> dler.getContextualInstance(****NormalScopedBeanInterceptorHan****
>>>>>
>>>>> dler.java:135)
>>>>> [16.02.12 16:15:51:502 CET] 0000002a SystemErr     R     at
>>>>> org.apache.webbeans.intercept.******NormalScopedBeanInterceptorHan
>>>>> *
>>>>> ***
>>>>> dler.invoke(****NormalScopedBeanInterceptorHan****dler.java:95)
>>>>>
>>>>> [16.02.12 16:15:51:502 CET] 0000002a SystemErr     R     at
>>>>> com.clevercure.web.sob.bean.****SobSupplierRegistrationBean_$$****
>>>>> _javassist_920.getCompanyLogo(****SobSupplierRegistrationBean_**$$
>>>>> *
>>>>> *
>>>>> _javassist_920.java)
>>>>> [16.02.12 16:15:51:502 CET] 0000002a SystemErr     R     at
>>>>> sun.reflect.**
>>>>> NativeMethodAccessorImpl.****invoke0(Native Method)
>>>>> [16.02.12 16:15:51:502 CET] 0000002a SystemErr     R     at
>>>>> sun.reflect.**
>>>>> NativeMethodAccessorImpl.****invoke(****NativeMethodAccessorImpl.j
>>>>> a
>>>>> va:**
>>>>> **60)
>>>>> [16.02.12 16:15:51:502 CET] 0000002a SystemErr     R     at
>>>>> sun.reflect.**
>>>>> DelegatingMethodAccessorImpl.****invoke(****
>>>>> DelegatingMethodAccessorImpl.****
>>>>>
>>>>> java:37)
>>>>> [16.02.12 16:15:51:502 CET] 0000002a SystemErr     R     at
>>>>> java.lang.reflect.Method.****invoke(Method.java:611)
>>>>>
>>>>> [16.02.12 16:15:51:502 CET] 0000002a SystemErr     R     at
>>>>> javax.el.BeanELResolver.****getValue(BeanELResolver.java:****89)
>>>>>
>>>>> [16.02.12 16:15:51:502 CET] 0000002a SystemErr     R     ... 47 more
>>>>> [16.02.12 16:15:51:503 CET] 0000002a SystemErr     R
>>>>> javax.el.ELException:
>>>>> Error reading 'companyLogo' on type com.clevercure.web.sob.bean.**
>>>>> SobSupplierRegistrationBean_$$****_javassist_920
>>>>>
>>>>> [16.02.12 16:15:51:504 CET] 0000002a SystemErr     R     at
>>>>> javax.el.BeanELResolver.****getValue(BeanELResolver.java:****93)
>>>>>
>>>>> [16.02.12 16:15:51:504 CET] 0000002a SystemErr     R     at
>>>>> javax.el.CompositeELResolver.****getValue(CompositeELResolver.**
>>>>> **java:55)
>>>>>
>>>>> [16.02.12 16:15:51:504 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.el.unified.****resolver.****
>>>>> FacesCompositeELResolver.**
>>>>> getValue(****FacesCompositeELResolver.java:****142)
>>>>>
>>>>> [16.02.12 16:15:51:504 CET] 0000002a SystemErr     R     at
>>>>> org.apache.el.parser.AstValue.****getValue(AstValue.java:169)
>>>>>
>>>>> [16.02.12 16:15:51:504 CET] 0000002a SystemErr     R     at
>>>>> org.apache.el.
>>>>> **ValueExpressionImpl.**getValue(****ValueExpressionImpl.java:283)
>>>>>
>>>>> [16.02.12 16:15:51:504 CET] 0000002a SystemErr     R     at
>>>>> org.apache.webbeans.el.****WrappedValueExpression.****getValue(**
>>>>> WrappedValueExpression.java:****68)
>>>>>
>>>>> [16.02.12 16:15:51:504 CET] 0000002a SystemErr     R     at
>>>>> org.primefaces.application.****PrimeResourceHandler.****
>>>>> handleResourceRequest(
>>>>> **PrimeResourceHandler.java:**75)
>>>>>
>>>>> [16.02.12 16:15:51:505 CET] 0000002a SystemErr     R     at
>>>>> javax.faces.application.****ResourceHandlerWrapper.****
>>>>> handleResourceRequest(*
>>>>> *ResourceHandlerWrapper.java:****62)
>>>>>
>>>>> [16.02.12 16:15:51:505 CET] 0000002a SystemErr     R     at
>>>>> javax.faces.webapp.****FacesServlet.service(****FacesServlet.java:
>>>>> 1
>>>>> 83)
>>>>>
>>>>> [16.02.12 16:15:51:505 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****servlet.ServletWrapper.**
>>>>> service(ServletWrapper.java:****1188)
>>>>>
>>>>> [16.02.12 16:15:51:505 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****servlet.ServletWrapper.**
>>>>> handleRequest(ServletWrapper.****java:763)
>>>>>
>>>>> [16.02.12 16:15:51:505 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****servlet.ServletWrapper.**
>>>>> handleRequest(ServletWrapper.****java:454)
>>>>>
>>>>> [16.02.12 16:15:51:505 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****servlet.ServletWrapperImpl.****
>>>>> handleRequest(**
>>>>>
>>>>> ServletWrapperImpl.java:178)
>>>>> [16.02.12 16:15:51:505 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterChain.****invokeTar
>>>>> g
>>>>> et(**
>>>>>
>>>>> WebAppFilterChain.java:125)
>>>>> [16.02.12 16:15:51:505 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterChain.**
>>>>> doFilter(WebAppFilterChain.****java:92)
>>>>>
>>>>> [16.02.12 16:15:51:505 CET] 0000002a SystemErr     R     at
>>>>> com.clevercure.web.core.****filter.FileUploadFilter.**
>>>>> doFilter(FileUploadFilter.****java:78)
>>>>>
>>>>> [16.02.12 16:15:51:505 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.FilterInstanceWrapper.****doFil
>>>>> t
>>>>> er(**
>>>>> FilterInstanceWrapper.java:****192)
>>>>>
>>>>> [16.02.12 16:15:51:505 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterChain.**
>>>>> doFilter(WebAppFilterChain.****java:89)
>>>>>
>>>>> [16.02.12 16:15:51:506 CET] 0000002a SystemErr     R     at
>>>>> com.clevercure.web.core.****filter.CharsetEncodingFilter.****doFil
>>>>> t
>>>>> er(**
>>>>>
>>>>> CharsetEncodingFilter.java:30)
>>>>> [16.02.12 16:15:51:506 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.FilterInstanceWrapper.****doFil
>>>>> t
>>>>> er(**
>>>>> FilterInstanceWrapper.java:****192)
>>>>>
>>>>> [16.02.12 16:15:51:506 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterChain.**
>>>>> doFilter(WebAppFilterChain.****java:89)
>>>>>
>>>>> [16.02.12 16:15:51:506 CET] 0000002a SystemErr     R     at
>>>>> com.ocpsoft.pretty.****PrettyFilter.doFilter(****PrettyFilter.java:
>>>>> 115)
>>>>>
>>>>> [16.02.12 16:15:51:506 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.FilterInstanceWrapper.****doFil
>>>>> t
>>>>> er(**
>>>>> FilterInstanceWrapper.java:****192)
>>>>>
>>>>> [16.02.12 16:15:51:506 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterChain.**
>>>>> doFilter(WebAppFilterChain.****java:89)
>>>>>
>>>>> [16.02.12 16:15:51:506 CET] 0000002a SystemErr     R     at
>>>>> com.clevercure.web.core.****filter.UserFilter.doFilter(****
>>>>> UserFilter.java:42)
>>>>>
>>>>> [16.02.12 16:15:51:506 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.FilterInstanceWrapper.****doFil
>>>>> t
>>>>> er(**
>>>>> FilterInstanceWrapper.java:****192)
>>>>>
>>>>> [16.02.12 16:15:51:506 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterChain.**
>>>>> doFilter(WebAppFilterChain.****java:89)
>>>>>
>>>>> [16.02.12 16:15:51:506 CET] 0000002a SystemErr     R     at
>>>>> com.clevercure.web.core.****filter.****IbmApplicationSessionFilter.
>>>>> ****
>>>>> doFilter(
>>>>> **IbmApplicationSessionFilter.****java:25)
>>>>>
>>>>> [16.02.12 16:15:51:506 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.FilterInstanceWrapper.****doFil
>>>>> t
>>>>> er(**
>>>>> FilterInstanceWrapper.java:****192)
>>>>>
>>>>> [16.02.12 16:15:51:506 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterChain.**
>>>>> doFilter(WebAppFilterChain.****java:89)
>>>>>
>>>>> [16.02.12 16:15:51:507 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterManager.**
>>>>> doFilter(WebAppFilterManager.****java:919)
>>>>>
>>>>> [16.02.12 16:15:51:507 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****filter.WebAppFilterManager.****
>>>>> invokeFilters(**
>>>>>
>>>>> WebAppFilterManager.java:1016)
>>>>> [16.02.12 16:15:51:507 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****servlet.CacheServletWrapper.****
>>>>> handleRequest(**
>>>>>
>>>>> CacheServletWrapper.java:87)
>>>>> [16.02.12 16:15:51:507 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****WebContainer.handleRequest(**
>>>>>
>>>>> WebContainer.java:895)
>>>>> [16.02.12 16:15:51:507 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****WSWebContainer.handleRequest(****
>>>>>
>>>>> WSWebContainer.java:1662)
>>>>> [16.02.12 16:15:51:507 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.webcontainer.****channel.WCChannelLink.ready(**
>>>>>
>>>>> WCChannelLink.java:195)
>>>>> [16.02.12 16:15:51:507 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.http.channel.****inbound.impl.HttpInboundLink.****
>>>>> handleDiscrimination(****HttpInboundLink.java:452)
>>>>>
>>>>> [16.02.12 16:15:51:507 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.http.channel.****inbound.impl.HttpInboundLink.***
>>>>> *handleNewRequest(
>>>>> **HttpInboundLink.java:511)
>>>>>
>>>>> [16.02.12 16:15:51:507 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.http.channel.****inbound.impl.HttpInboundLink.***
>>>>> *processRequest(**
>>>>>
>>>>> HttpInboundLink.java:305)
>>>>> [16.02.12 16:15:51:507 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.http.channel.****inbound.impl.****
>>>>> HttpICLReadCallback.complete(****
>>>>>
>>>>> HttpICLReadCallback.java:83)
>>>>> [16.02.12 16:15:51:507 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.tcp.channel.impl.****AioReadCompletionListener.****
>>>>> futureCompleted(
>>>>> **AioReadCompletionListener.****java:165)
>>>>>
>>>>> [16.02.12 16:15:51:507 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.io.async.****AbstractAsyncFuture.****invokeCallback(**
>>>>>
>>>>> AbstractAsyncFuture.java:217)
>>>>> [16.02.12 16:15:51:508 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.io.async.****AsyncChannelFuture.****fireCompletionActions(
>>>>> *
>>>>> *
>>>>>
>>>>> AsyncChannelFuture.java:161)
>>>>> [16.02.12 16:15:51:508 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.io.async.AsyncFuture.****completed(AsyncFuture.java:****13
>>>>> 8
>>>>> )
>>>>>
>>>>> [16.02.12 16:15:51:508 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.io.async.****ResultHandler.complete(****ResultHandler.java:
>>>>> 204)
>>>>>
>>>>> [16.02.12 16:15:51:508 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.io.async.****ResultHandler.****runEventProcessingLoop(**
>>>>>
>>>>> ResultHandler.java:775)
>>>>> [16.02.12 16:15:51:508 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.io.async.****ResultHandler$2.run(****ResultHandler.java:90
>>>>> 5
>>>>> )
>>>>>
>>>>> [16.02.12 16:15:51:508 CET] 0000002a SystemErr     R     at
>>>>> com.ibm.ws.util.ThreadPool$****Worker.run(ThreadPool.java:****1659
>>>>> )
>>>>>
>>>>> [16.02.12 16:15:51:508 CET] 0000002a SystemErr     R Caused by:
>>>>> java.lang.NullPointerException
>>>>> [16.02.12 16:15:51:508 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.extensions.****cdi.jsf.impl.scope.****conversat
>>>>> i
>>>>> on.**
>>>>> ViewAccessConversationExpirati****onEvaluator.**getCurrentViewId(*
>>>>> *
>>>>> ViewAccessConversationExpirati****onEvaluator.java:114)
>>>>>
>>>>> [16.02.12 16:15:51:508 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.extensions.****cdi.jsf.impl.scope.****conversat
>>>>> i
>>>>> on.**
>>>>> ViewAccessConversationExpirati****onEvaluator.touch(**
>>>>> ViewAccessConversationExpirati****onEvaluator.java:100)
>>>>>
>>>>> [16.02.12 16:15:51:508 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.extensions.****cdi.jsf.impl.scope.****conversat
>>>>> i
>>>>> on.**
>>>>> DefaultConversation.****touchConversation(****
>>>>> DefaultConversation.java:201)
>>>>>
>>>>> [16.02.12 16:15:51:508 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.extensions.****cdi.jsf.impl.scope.****conversat
>>>>> i
>>>>> on.**
>>>>> DefaultConversation.addBean(****DefaultConversation.java:177)
>>>>>
>>>>> [16.02.12 16:15:51:509 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.extensions.****cdi.jsf.impl.scope.****conversat
>>>>> i
>>>>> on.**
>>>>> GroupedConversationContext.****scopeBeanEntry(****
>>>>> GroupedConversationContext.*
>>>>>
>>>>> *java:204)
>>>>> [16.02.12 16:15:51:509 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.extensions.****cdi.core.impl.scope.****
>>>>> conversation.**
>>>>> AbstractGroupedConversationCon****text.create(**
>>>>> AbstractGroupedConversationCon****text.java:98)
>>>>>
>>>>> [16.02.12 16:15:51:509 CET] 0000002a SystemErr     R     at
>>>>> org.apache.myfaces.extensions.****cdi.core.impl.scope.****
>>>>> conversation.**
>>>>> ConversationContextAdapter.****get(****ConversationContextAdapter.
>>>>> *
>>>>> ***
>>>>> java:81)
>>>>>
>>>>> [16.02.12 16:15:51:509 CET] 0000002a SystemErr     R     at
>>>>> org.apache.webbeans.context.****CustomContextImpl.get(**
>>>>>
>>>>> CustomContextImpl.java:43)
>>>>> [16.02.12 16:15:51:509 CET] 0000002a SystemErr     R     at
>>>>> org.apache.webbeans.context.****CustomPassivatingContextImpl.****g
>>>>> e
>>>>> t(**
>>>>> CustomPassivatingContextImpl.****java:41)
>>>>>
>>>>> [16.02.12 16:15:51:509 CET] 0000002a SystemErr     R     at
>>>>> org.apache.webbeans.intercept.******NormalScopedBeanInterceptorHan
>>>>> *
>>>>> ***
>>>>> dler.getContextualInstance(****NormalScopedBeanInterceptorHan****
>>>>>
>>>>> dler.java:135)
>>>>> [16.02.12 16:15:51:509 CET] 0000002a SystemErr     R     at
>>>>> org.apache.webbeans.intercept.******NormalScopedBeanInterceptorHan
>>>>> *
>>>>> ***
>>>>> dler.invoke(****NormalScopedBeanInterceptorHan****dler.java:95)
>>>>>
>>>>> [16.02.12 16:15:51:509 CET] 0000002a SystemErr     R     at
>>>>> com.clevercure.web.sob.bean.****SobSupplierRegistrationBean_$$****
>>>>> _javassist_920.getCompanyLogo(****SobSupplierRegistrationBean_**$$
>>>>> *
>>>>> *
>>>>> _javassist_920.java)
>>>>> [16.02.12 16:15:51:509 CET] 0000002a SystemErr     R     at
>>>>> sun.reflect.**
>>>>> NativeMethodAccessorImpl.****invoke0(Native Method)
>>>>> [16.02.12 16:15:51:509 CET] 0000002a SystemErr     R     at
>>>>> sun.reflect.**
>>>>> NativeMethodAccessorImpl.****invoke(****NativeMethodAccessorImpl.j
>>>>> a
>>>>> va:**
>>>>> **60)
>>>>> [16.02.12 16:15:51:509 CET] 0000002a SystemErr     R     at
>>>>> sun.reflect.**
>>>>> DelegatingMethodAccessorImpl.****invoke(****
>>>>> DelegatingMethodAccessorImpl.****
>>>>>
>>>>> java:37)
>>>>> [16.02.12 16:15:51:509 CET] 0000002a SystemErr     R     at
>>>>> java.lang.reflect.Method.****invoke(Method.java:611)
>>>>>
>>>>> [16.02.12 16:15:51:510 CET] 0000002a SystemErr     R     at
>>>>> javax.el.BeanELResolver.****getValue(BeanELResolver.java:****89)
>>>>>
>>>>> [16.02.12 16:15:51:510 CET] 0000002a SystemErr     R     ... 47 more
>>>>>
>>>>>

Reply via email to