Hello, recently an application was migrated that was deployed in wls 10.3.6 that runs with a version of java 1.6.0_45 with a version of JSF 2.0 and primefaces 5.3 and some changes were applied to deploy in wls 12.2.1.4 with a version of java 1.8.0_291 and same versions of JSF and primefaces and throws the following error.
<Dec 27, 2021 12:42:11,830 PM CST> <Error> <javax.enterprise.resource.webcontainer.jsf.application> <BEA-000000> <Error Rendering View[/xhtml/principal.xhtml]
com.sun.faces.mgbean.ManagedBeanCreationException: Cant instantiate class: com.ccm.simaTienda.seguridad.MB.CambiaPassMB.
at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:191)
at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:100)
at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:409)
at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:269)
at com.sun.faces.el.ManagedBeanELResolver.resolveBean(ManagedBeanELResolver.java:257)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NullPointerException
at com.ccm.simaTienda.seguridad.MB.CambiaPassMB.<init>(CambiaPassMB.java:51)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
Truncated. see log file for complete stacktrace
>
Hopefully someone has a suggestion or someone who has experienced the same problem
Application migration .war wls 10.3.6 application to wls 12
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
not related to PrimeFaces, also the exception is in YOUR bean
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
-
- Posts: 85
- Joined: 01 Mar 2018, 12:29
Code: Select all
at com.ccm.simaTienda.seguridad.MB.CambiaPassMB.<init>(CambiaPassMB.java:51)
-
- Information
-
Who is online
Users browsing this forum: No registered users and 51 guests