myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ing. Thomas Kernstock" <t.kernst...@e-technologies.at>
Subject AW: CODI 0.9.1 + Glassfish V3.0.1
Date Mon, 29 Nov 2010 10:19:00 GMT
Hi Gerhard,

with the new Version
https://repository.apache.org/content/repositories/snapshots/org/apache/myfa
ces/extensions/cdi/myfaces-extcdi-dist-jsf20/0.9.1-SNAPSHOT/myfaces-extcdi-d
ist-jsf20-0.9.1-20101128.193625-16.jar the problem is solved.

Thank you (and Mark) very much for your support and the fabulous work you do
with codi !!

best regards
Thomas

-----Urspr√ľngliche Nachricht-----
Von: Gerhard [mailto:gerhard.petracek@gmail.com] 
Gesendet: Sonntag, 28. November 2010 21:07
An: MyFaces Discussion
Betreff: Re: CODI 0.9.1 + Glassfish V3.0.1

hi,

i've deployed a new snapshot to the snapshot repository [1].
please try it again with the new snapshot.
however, we have to know more details about the constellation you are using.

regards,
gerhard

[1] http://repository.apache.org/content/repositories/snapshots/

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces



2010/11/28 Gerhard <gerhard.petracek@gmail.com>

> hi thomas,
>
> it looks like you don't have a view-root after the restore view phase.
>
> regards,
> gerhard
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
>
> 2010/11/28 Ing. Thomas Kernstock <t.kernstock@e-technologies.at>
>
> Hi Mark,
>>
>> Good news. I managed to deploy my application with CODI
>> (myfaces-extcdi-dist-jsf20-0.9.1-SNAPSHOT.jar) and EJB. I just packed 
>> the EJB-project in a .jar, added it to my Webapplication and deployed 
>> it as .war.
>> Though the application is running now I have a new problem -> When I 
>> change a view I get the following Nullpointerexception 3 times after 
>> the RESTORE_VIEW phase. After that the view is loaded. The problem 
>> is, that the screen goes blank completely between two views !
>>
>> INFO: START PHASE RESTORE_VIEW 1
>> INFO: END PHASE RESTORE_VIEW 1
>> WARNUNG: StandardWrapperValve[Faces Servlet]: PWC1406: 
>> Servlet.service() for servlet Faces Servlet threw exception 
>> java.lang.NullPointerException
>>        at
>>
>> org.apache.myfaces.extensions.cdi.jsf.impl.security.SecurityViewListe
>> ner.che
>> ckPermission(SecurityViewListener.java:43)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39
>> )
>>        at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl
>> .java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at
>>
>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflec
>> tions.j
>> ava:304)
>>        at
>>
>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureRefle
>> ctionAc
>> cess.java:54)
>>        at
>>
>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation
>> (Secure
>> ReflectionAccess.java:163)
>>        at
>>
>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflect
>> ions.ja
>> va:298)
>>        at
>>
>> org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldM
>> ethodIm
>> pl.java:200)
>>        at
>>
>> org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(For
>> warding
>> WeldMethod.java:59)
>>        at
>>
>> org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpe
>> cialVal
>> ue(MethodInjectionPoint.java:194)
>>        at
>>
>> org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.
>> java:24
>> 1)
>>        at
>>
>>
org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:216)
>>        at
>>
>>
org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:
>> 654)
>>        at
>>
org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:647)
>>        at
>>
org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:641)
>>        at org.jboss.weld.event.EventImpl.fire(EventImpl.java:93)
>>        at
>>
>> org.apache.myfaces.extensions.cdi.jsf.impl.listener.phase.JsfRequestL
>> ifecycl
>> eBroadcaster.broadcastAfterEvent(JsfRequestLifecycleBroadcaster.java:66)
>>        at sun.reflect.GeneratedMethodAccessor750.invoke(Unknown Source)
>>        at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl
>> .java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at
>>
>> org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflec
>> tions.j
>> ava:304)
>>        at
>>
>> org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureRefle
>> ctionAc
>> cess.java:54)
>>        at
>>
>> org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation
>> (Secure
>> ReflectionAccess.java:163)
>>        at
>>
>> org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflect
>> ions.ja
>> va:298)
>>        at
>>
>> org.jboss.weld.bean.proxy.ClientProxyMethodHandler.invoke(ClientProxy
>> MethodH
>> andler.java:113)
>>        at
>>
>> org.jboss.weld.util.CleanableMethodHandler.invoke(CleanableMethodHand
>> ler.jav
>> a:43)
>>        at
>>
>> org.apache.myfaces.extensions.cdi.jsf.impl.listener.phase.JsfRequestL
>> ifecycl
>>
>> eBroadcaster_$$_javassist_208.broadcastAfterEvent(JsfRequestLifecycle
>> Broadca
>> ster_$$_javassist_208.java)
>>        at
>>
>> org.apache.myfaces.extensions.cdi.jsf.impl.listener.phase.JsfRequestL
>> ifecycl
>> ePhaseListener.afterPhase(JsfRequestLifecyclePhaseListener.java:51)
>>        at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:189)
>>        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:107)
>>        at
>>
>>
com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)
>>        at
>> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
>>        at
>>
>> org.apache.myfaces.extensions.cdi.jsf2.impl.listener.phase.CodiLifecy
>> cleWrap
>> per.execute(CodiLifecycleWrapper.java:55)
>>        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
>>        at
>>
>>
org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
>>        at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> ication
>> FilterChain.java:343)
>>        at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterCh
>> ain.java:215)
>>        at
>>
>> org.primefaces.webapp.filter.FileUploadFilter.doFilter(FileUploadFilt
>> er.java
>> :79)
>>        at
>>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>> ication
>> FilterChain.java:256)
>>        at
>>
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>> ilterCh
>> ain.java:215)
>>        at
>>
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>> alve.ja
>> va:277)
>>        at
>>
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>> alve.ja
>> va:188)
>>        at
>>
>>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
>>        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
>>        at
>>
>> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESess
>> ionLock
>> ingStandardPipeline.java:85)
>>        at
>>
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
>> ava:185
>> )
>>        at
>>
>> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.j
>> ava:325
>> )
>>        at
>>
>>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
>>        at
>>
>>
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.
>> java:165)
>>        at
>> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
>>        at
>> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
>>        at
>> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
>>        at
>>
>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFil
>> ter.jav
>> a:170)
>>        at
>>
>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultPro
>> tocolCh
>> ain.java:135)
>>        at
>>
>>
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
>>        at
>>
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
>>        at
>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
>>        at
>>
>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
>> ask.jav
>> a:53)
>>        at
>>
>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
>> java:57
>> )
>>        at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>>        at
>>
>> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadP
>> ool.jav
>> a:330)
>>        at
>>
>> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool
>> .java:3
>> 09)
>>        at java.lang.Thread.run(Thread.java:619)
>>
>> ....... -> 2x  same Message as above ->
>>
>> INFO: START PHASE RESTORE_VIEW 1
>> INFO: END PHASE RESTORE_VIEW 1
>> INFO: START PHASE RENDER_RESPONSE 6
>>
>>
>> Is this a known problem - I couldn't find anything about this error. !
>>
>> best regards
>>
>> Thomas
>>
>>
>


Mime
View raw message