incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Heinisch" <Markus.Heini...@trivadis.com>
Subject AW: NPE when opening a dialog
Date Thu, 12 Oct 2006 10:34:22 GMT

Hi,

My problem is solved. 
Somehow, ADF binding sets the view handler to an ADF Faces view handler.
When I configure     
	<view-handler>org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl</view-handler>
as view handler, the popup dialog is rendered fine.

Cheers,
Markus
 

> -----Ursprüngliche Nachricht-----
> Von: Markus Heinisch [mailto:Markus.Heinisch@trivadis.com] 
> Gesendet: Mittwoch, 20. September 2006 14:57
> An: adffaces-user@incubator.apache.org
> Betreff: NPE when opening a dialog
> 
> Hi,
>  
> I want to open a dialog in a popup window, but I get a 
> NullPointerException:
>  
> java.lang.NullPointerException
> 	at 
> oracle.adfinternal.view.faces.renderkit.core.pages.FredJSP.ser
> vice(FredJSP.java:131)
> 	at 
> oracle.adfinternal.view.faces.renderkit.core.pages.GenericEntr
> y._service(GenericEntry.java:192)
> 	at 
> oracle.adfinternal.view.faces.renderkit.core.pages.GenericEntr
> y.service(GenericEntry.java:182)
> 	at 
> oracle.adfinternal.view.faces.renderkit.core.pages.GenericEntr
> y.serviceGeneric(GenericEntry.java:132)
> 	at 
> oracle.adfinternal.view.faces.application.ViewHandlerImpl.rend
> erView(ViewHandlerImpl.java:153)
> 	at 
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImp
> l.java:367)
> 	at 
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
> 	at com.evermind[Oracle Containers for J2EE 10g 
> (10.1.3.0.0) 
> ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain
> .java:64)
> 	at 
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.
> _invokeDoFilter(TrinidadFilterImpl.java:327)
> 	at 
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.
> _doFilterImpl(TrinidadFilterImpl.java:291)
> 	at 
> org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.
> doFilter(TrinidadFilterImpl.java:214)
> 	at 
> org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(Tri
> nidadFilter.java:90)
> 	at com.evermind[Oracle Containers for J2EE 10g 
> (10.1.3.0.0) 
> ].server.http.ServletRequestDispatcher.invoke(ServletRequestDi
> spatcher.java:629)
> 	at com.evermind[Oracle Containers for J2EE 10g 
> (10.1.3.0.0) 
> ].server.http.ServletRequestDispatcher.forwardInternal(Servlet
> RequestDispatcher.java:376)
> 	at com.evermind[Oracle Containers for J2EE 10g 
> (10.1.3.0.0) 
> ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestH
> andler.java:870)
> 	at com.evermind[Oracle Containers for J2EE 10g 
> (10.1.3.0.0) 
> ].server.http.HttpRequestHandler.processRequest(HttpRequestHan
> dler.java:451)
> 	at com.evermind[Oracle Containers for J2EE 10g 
> (10.1.3.0.0) 
> ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHa
> ndler.java:218)
> 	at com.evermind[Oracle Containers for J2EE 10g 
> (10.1.3.0.0) 
> ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
> 	at com.evermind[Oracle Containers for J2EE 10g 
> (10.1.3.0.0) 
> ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
> 	at 
> oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(S
erverSocketReadHandler.java:260)
> 	at com.evermind[Oracle Containers for J2EE 10g 
> (10.1.3.0.0) 
> ].util.ReleasableResourcePooledExecutor$MyWorker.run(Releasabl
eResourcePooledExecutor.java:303)
> 	at java.lang.Thread.run(Thread.java:595)
> I'm using Apache Trinidad (current sources), JDeveloper 
> 10.1.3 and ADF (data binding only). 
> There a no ADF Faces libs in the project, only ADF Model and 
> ADF Controller libs for the data binding.
> Everthing is fine when I launch the dialog in the same 
> browser window (useWindow="false")!
> Is it a known problem to use Trinidad + popup dialog + ADF/JDeveloper?
> Please, any hins are welcome!
> Thanks,
> Markus
>  
> ------------------------------------------
> Markus Heinisch      
> 
> Dipl.-Inform. 
> Consultant 
> 
> Trivadis GmbH
> Freischützstrasse 92
> 81927 München
> Germany 
>  
> Tel.: +49-89-99275930
> Fax : +49-89-99275959
> Mobile: +49-162-2959616
> mailto:markus.heinisch@trivadis.com
> http://www.trivadis.com <http://www.trivadis.com/> 
>  
> 
Mime
View raw message